{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"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":"_Mp4ChapterTrack._visit (cyclomatic 47): _Mp4ChapterTrack._visit has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/resources/services/local/chapter_parser.dart holds 4 of the 19 methods over the threshold \u2014 including the worst \u2014 and 52 of the 136 points over it (38%), 3.5\u00D7 the next-largest file (lib/resources/services/download/download_manager.dart at 15). 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":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aac00dd9067a3f2f2beac919ccc60bbf73bbdbbcc2f393bc6507398c501afab"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadManager.downloadAudiobook (cyclomatic 30): DownloadManager.downloadAudiobook has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/download/download_manager.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef70f7f33419f6c2840cb2b380a52d0f824c69693c27619fd99036ccc31fe00"}},{"ruleId":"D1","level":"warning","message":{"text":"_Mp4ChapterTrack.extract (cyclomatic 29): _Mp4ChapterTrack.extract has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/resources/services/local/chapter_parser.dart holds 4 of the 19 methods over the threshold \u2014 including the worst \u2014 and 52 of the 136 points over it (38%), 3.5\u00D7 the next-largest file (lib/resources/services/download/download_manager.dart at 15). 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":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf12dc283593c4648aa934c5ffc041bd5792b4e17b5bd0a2d118572dbb78262"}},{"ruleId":"D1","level":"warning","message":{"text":"_ControlsState.build (cyclomatic 26): _ControlsState.build has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/controls.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1370561d3205e1a69b5e3ca65d6c3f66d86d06f58c93513f532229c1a8b6bd58"}},{"ruleId":"D1","level":"warning","message":{"text":"MyAudioHandler.initSongs (cyclomatic 24): MyAudioHandler.initSongs has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3bdcea63457416ac5a3c5843510547fbe167031bbe8b4c450ebcb33c8fe9ca"}},{"ruleId":"D1","level":"warning","message":{"text":"_TrackSelectionDialogState.build (cyclomatic 23): _TrackSelectionDialogState.build has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/track_section_dialog.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a3c340c7b5550a5c3fec2f5645b5cddeddc8101faa188895297d712732f8b8"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalAudiobookService.smartRefreshAudiobooks (cyclomatic 21): LocalAudiobookService.smartRefreshAudiobooks has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/local_audiobook_service.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"531acd1a3b5a60bc9504837ec02a629a3c8ab32790bce75d8afe66b7ad44f3be"}},{"ruleId":"D1","level":"warning","message":{"text":"_AudiobookDetailsState.build (cyclomatic 21): _AudiobookDetailsState.build has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_details/audiobook_details.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"17be6c66675a2ed81e1f63cb8bcfc2fee3ee935d982c991f9cc2d95ba8916f59"}},{"ruleId":"D1","level":"warning","message":{"text":"ChapterParser._parseMp3Id3Chapters (cyclomatic 20): ChapterParser._parseMp3Id3Chapters 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/resources/services/local/chapter_parser.dart holds 4 of the 19 methods over the threshold \u2014 including the worst \u2014 and 52 of the 136 points over it (38%), 3.5\u00D7 the next-largest file (lib/resources/services/download/download_manager.dart at 15). 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":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d50dc65ba622357ddf81091522cc919a830c0176bb31527bdd2d039950d7b6"}},{"ruleId":"D1","level":"warning","message":{"text":"YoutubeAudiobookNotifier.fetchAudiobooks (cyclomatic 20): YoutubeAudiobookNotifier.fetchAudiobooks has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/youtube/youtube_audiobook_notifier.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8345bb25b2a8ce1dedb5924f80ba13a39fcccba30c95a5ef73b1b75b58cc732d"}},{"ruleId":"D1","level":"warning","message":{"text":"CoverImageRemote.fetchCoverImages (cyclomatic 20): CoverImageRemote.fetchCoverImages has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f0a3603c5e55889fdca428a30fe3582d8666dc718d89f854c9e0e8677f667f"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioStreamClient._getStream (cyclomatic 19): AudioStreamClient._getStream has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/youtube/stream_client.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20a8645a9fa2c4562553551f95da0c2bd2242e3bb944c2236fa7f046f57ddca"}},{"ruleId":"D1","level":"warning","message":{"text":"_DownloadsPageState._buildDownloadItem (cyclomatic 19): _DownloadsPageState._buildDownloadItem has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/downloads_page.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0b623caa02ee71b343a7b439ecef4f0d306ebbf1cac8d3a9d7090687663eec"}},{"ruleId":"D1","level":"warning","message":{"text":"_RecommendationScreenState.build (cyclomatic 19): _RecommendationScreenState.build has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/recommendation/recommendation_screen.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"565b64d40e223d43a6129bb7339c297d9a7fa6fbb3cbb4d5123205a43e94b0cf"}},{"ruleId":"D1","level":"warning","message":{"text":"_YoutubeWebviewState.build (cyclomatic 18): _YoutubeWebviewState.build has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/youtube_webview/youtube_webview.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c3a330fa5602d211b3844e54fc130ca540fa3379e6881a255b423fa480c23e"}},{"ruleId":"D1","level":"warning","message":{"text":"_AudiobookPlayerState.build (cyclomatic 17): _AudiobookPlayerState.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"40763c5a2f70e225fad18b17e75835244c06f9928b74f1bfae7ac45c93154406"}},{"ruleId":"D1","level":"warning","message":{"text":"ChapterParser._parseMp4Chpl (cyclomatic 16): ChapterParser._parseMp4Chpl has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/resources/services/local/chapter_parser.dart holds 4 of the 19 methods over the threshold \u2014 including the worst \u2014 and 52 of the 136 points over it (38%), 3.5\u00D7 the next-largest file (lib/resources/services/download/download_manager.dart at 15). 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":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3497b32f1851750325c36face5f09f10c8fa45e6db9d58da65623eaa8a423ed7"}},{"ruleId":"D1","level":"warning","message":{"text":"_CharactersDialogState._buildCharacterList (cyclomatic 16): _CharactersDialogState._buildCharacterList has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/characters_dialog.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfee05fe193012aa19a53cd8062a15f5b91c4d839231e9adf55f69c3de39007"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalAudiobookItem._convertToAudiobookFiles (cyclomatic 16): LocalAudiobookItem._convertToAudiobookFiles has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"24eeb0961e4fdb4a0f3cd7e1c597b80dd23c1b1bb44b4a38684c6e24a05aac90"}},{"ruleId":"D2","level":"warning","message":{"text":"_Mp4ChapterTrack._visit (cognitive 93): _Mp4ChapterTrack._visit has cognitive complexity 93 (threshold 15). Drivers by points: if/else 38 (73 pts), loops 7 (16 pts), ternaries 2 (4 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/resources/services/local/chapter_parser.dart holds 4 of the 29 methods over the threshold \u2014 including the worst \u2014 and 176 of the 592 points over it (30%), 2.3\u00D7 the next-largest file (lib/resources/services/download/download_manager.dart at 77). 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":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b6707e92dc90f3f50f14511d2308484c8da07688db0c912f1da81e13d09936"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadManager.downloadAudiobook (cognitive 92): DownloadManager.downloadAudiobook has cognitive complexity 92 (threshold 15). Drivers by points: if/else 16 (53 pts), ternaries 3 (16 pts), error handling 3 (9 pts), boolean chains 7, loops 2 (7 pts) (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/download/download_manager.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5e1a9ab3edd6a9f906d202ad1ed1bda2711855fde9827daaedb2ec7fb032e4"}},{"ruleId":"D2","level":"warning","message":{"text":"_Mp4ChapterTrack.extract (cognitive 68): _Mp4ChapterTrack.extract has cognitive complexity 68 (threshold 15). Drivers by points: if/else 10 (29 pts), ternaries 4 (16 pts), boolean chains 10, loops 3 (7 pts), error handling 1 (6 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/resources/services/local/chapter_parser.dart holds 4 of the 29 methods over the threshold \u2014 including the worst \u2014 and 176 of the 592 points over it (30%), 2.3\u00D7 the next-largest file (lib/resources/services/download/download_manager.dart at 77). 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":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"182c1be6cc3a412409c1d7a9247fec61725531b5eaf50d4becd3c2e379749672"}},{"ruleId":"D2","level":"warning","message":{"text":"YoutubeAudiobookNotifier.fetchAudiobooks (cognitive 55): YoutubeAudiobookNotifier.fetchAudiobooks has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (42 pts), error handling 2 (6 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/youtube/youtube_audiobook_notifier.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0c728f2cae1ca3e613d420ab4b338d2cb0cdd58102fc370388ed9e84a2c944"}},{"ruleId":"D2","level":"warning","message":{"text":"MyAudioHandler.initSongs (cognitive 53): MyAudioHandler.initSongs has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 6 (18 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (3 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"442e0a620f16095f6f027822469458d4677f64d87da4965971ff19cc28129ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAudiobookItem._convertToAudiobookFiles (cognitive 52): LocalAudiobookItem._convertToAudiobookFiles has cognitive complexity 52 (threshold 15). Drivers by points: if/else 9 (24 pts), ternaries 2 (12 pts), loops 2 (8 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2901fa7fd2b7dea4b82c51aa20ba64160967bf4c78c8a44ecef24a69635a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAudiobookService.smartRefreshAudiobooks (cognitive 48): LocalAudiobookService.smartRefreshAudiobooks has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (30 pts), loops 4 (9 pts), ternaries 2 (6 pts), boolean chains 2, error handling 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/local_audiobook_service.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fc253e99bbe1f270623003ae94a73078f316eb2f12ec9f0d623f7ba7038b53"}},{"ruleId":"D2","level":"warning","message":{"text":"ChapterParser._parseMp4Chpl (cognitive 43): ChapterParser._parseMp4Chpl has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (23 pts), ternaries 3 (13 pts), loops 2 (5 pts), boolean chains 2 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/resources/services/local/chapter_parser.dart holds 4 of the 29 methods over the threshold \u2014 including the worst \u2014 and 176 of the 592 points over it (30%), 2.3\u00D7 the next-largest file (lib/resources/services/download/download_manager.dart at 77). 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":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eb8618b3ffce0d97c441bb66dc8752c32c5c5234cbd0f967126002c02113d4"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioStreamClient._getStream (cognitive 38): AudioStreamClient._getStream has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 3 (8 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/youtube/stream_client.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfe0b4d6fb1d22b6359b26973df09f57b5c1829218e110b272301999f7c2e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"CoverImageRemote.fetchCoverImages (cognitive 36): CoverImageRemote.fetchCoverImages has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"5062b692f1acca2fa6de57527eabb836ca385cc96684d99d658a35452ac0aee6"}},{"ruleId":"D2","level":"warning","message":{"text":"_AudiobookDetailsState.build (cognitive 34): _AudiobookDetailsState.build has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 10 (13 pts), boolean chains 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_details/audiobook_details.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd0ac32cb3018d741e2418a5642bc089ab2ffa3e6bcdf50785a490a4460bf08"}},{"ruleId":"D2","level":"warning","message":{"text":"ChapterParser._parseMp3Id3Chapters (cognitive 32): ChapterParser._parseMp3Id3Chapters has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (9 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/resources/services/local/chapter_parser.dart holds 4 of the 29 methods over the threshold \u2014 including the worst \u2014 and 176 of the 592 points over it (30%), 2.3\u00D7 the next-largest file (lib/resources/services/download/download_manager.dart at 77). 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":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f037e604de5c7eecf4b3240eb41fc200a9d8b5b377106f48645bd08c6fd4c49"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAudiobookService.processLevel2Audiobooks (cognitive 31): LocalAudiobookService.processLevel2Audiobooks has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 4 (7 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/local_audiobook_service.dart"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c74847244c15e22cfa8be261389b619cf74dc33640fe0432943c501236aaa26"}},{"ruleId":"D2","level":"warning","message":{"text":"_RecommendationScreenState.build (cognitive 30): _RecommendationScreenState.build has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (18 pts), if/else 8 (11 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/recommendation/recommendation_screen.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd33d8c74564c94a7fb49c2c2e6579a7de06eb3d2ff195227a8f628ed48baea"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaHelper.findCoverImageInFolder (cognitive 30): MediaHelper.findCoverImageInFolder has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (9 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_helper.dart"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99891dc405f87ac7a33c33691d4804d0c6f34c0acdfa3833bdc42819d78f28"}},{"ruleId":"D2","level":"warning","message":{"text":"_ControlsState.build (cognitive 26): _ControlsState.build has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 20, if/else 4, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/controls.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"855b751d8977df970c376e4b0743e8dde13c6172d834b8bad1518fb9a073c788"}},{"ruleId":"D2","level":"warning","message":{"text":"_YoutubeWebviewState._importFromYouTube (cognitive 24): _YoutubeWebviewState._importFromYouTube has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/youtube_webview/youtube_webview.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"233cda0cfb50a19003a909620673d81050810d7130cf754934a13653f80908c3"}},{"ruleId":"D2","level":"warning","message":{"text":"_TrackSelectionDialogState.build (cognitive 22): _TrackSelectionDialogState.build has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 20, if/else 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/track_section_dialog.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd228248a9bb0c353177f6b1794ad20bb5494a7ee5fcde3295698455b50365d5"}},{"ruleId":"D2","level":"warning","message":{"text":"_LocalImportsSectionState._selectRootFolder (cognitive 22): _LocalImportsSectionState._selectRootFolder has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/local_imports_section.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d289e9371f8d169231f929f012211729a04afdd1ed593ec54d9e574274326965"}},{"ruleId":"D2","level":"warning","message":{"text":"_SettingsState._selectRootFolder (cognitive 22): _SettingsState._selectRootFolder has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/setting/settings.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05aaa762b89e215634d36b417c06e55c144f58d2919d2fc966253df5eb26fea"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAudiobookService.processLevel0Audiobooks (cognitive 21): LocalAudiobookService.processLevel0Audiobooks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (5 pts), ternaries 1 (3 pts), loops 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/local_audiobook_service.dart"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"f910df9bba74e28f111bf1ee58d215e2fe9b7ba0b271d644133ae4631d77656e"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAudiobookService.processLevel1Audiobooks (cognitive 21): LocalAudiobookService.processLevel1Audiobooks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/local_audiobook_service.dart"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a05bfa5e25a30990f1be9a1690f7b3b7e7e5a6db2e1a5ac95506224e3878e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"_CharactersDialogState._buildCharacterList (cognitive 21): _CharactersDialogState._buildCharacterList has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13 (18 pts), if/else 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/characters_dialog.dart"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"acedcd949180a2281884a013261cc012975596f9e1b2a691dba7cd1fe2f4bcd3"}},{"ruleId":"D2","level":"warning","message":{"text":"_AudiobookPlayerState._startEndOfTrackTimer (cognitive 20): _AudiobookPlayerState._startEndOfTrackTimer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 3 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"59935dad4d8f071a63c559d150a9c53b87190ecc3538705b18c9830d1479511a"}},{"ruleId":"D2","level":"warning","message":{"text":"_DownloadsPageState._buildDownloadItem (cognitive 20): _DownloadsPageState._buildDownloadItem has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 5, error handling 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/downloads_page.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"daccb910fcc64250274ec3a8a653dc01ce67782ede9f1ca5401ee2ce5f7898b2"}},{"ruleId":"D2","level":"warning","message":{"text":"_YoutubeWebviewState.build (cognitive 19): _YoutubeWebviewState.build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 5, boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/youtube_webview/youtube_webview.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc80272fb2daf77caca493d2b9961da176b5594e71dcba8b37f1a342e79f00ed"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionHelper.handleUpdatePermission (cognitive 19): PermissionHelper.handleUpdatePermission has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/permission_helper.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9498252e57621144c1118f9a9cec94b7c2dfa332adef555f8b138c052bbe5e"}},{"ruleId":"D2","level":"warning","message":{"text":"_LocalAudiobookCoverSelectorState._buildContent (cognitive 18): _LocalAudiobookCoverSelectorState._buildContent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 6 (7 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fbbdc9f67cf9ac68602b586ac4ff998fd969f85f20ff137ac018046fe74128"}},{"ruleId":"D2","level":"warning","message":{"text":"_AudiobookPlayerState.build (cognitive 17): _AudiobookPlayerState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 13 (14 pts), if/else 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acd1f5fdd5c46f9bd090d6c440402d1ce3fa7be74f47dc4482212d6ea6dc983"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AudiobookDetailsState.build: MethodTooLong \u2014 build runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_details/audiobook_details.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c72218ecf372966b38806cc787746bc3f83267e3dbe60b1fbe7ba14209f594"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AudiobookPlayerState.build: MethodTooLong \u2014 build runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46ef57a76903b6de8957ca81a14ec0860d12ff9b195cdb8010f5b05c137560a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadManager.downloadAudiobook: MethodTooLong \u2014 downloadAudiobook runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/download/download_manager.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"407cb466ebdb05e3d4c45938a81172088ed217b5e6f4abbd452fcdb04f21dfb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resources/archive_api.dart: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 377 over it, 1.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/archive_api.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96702994346e475523143f6a5c9d5ee496960bd717468ce4e98d5a70ba9dc0f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RecommendationScreenState.build: MethodTooLong \u2014 build runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/recommendation/recommendation_screen.dart"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"24efa2c552cbed23569b7930feb02c70ee627ccc8416929c50922bd5e8e643a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SearchAudiobookState.build: MethodTooLong \u2014 build runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_audiobook.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f1060ffb636e117f1089b1c5e59e89d3a85f5828768040e6778899db7d1e8d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HistorySectionState._buildHistoryItem: MethodTooLong \u2014 _buildHistoryItem runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/history_section.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc9dd85678d44940ff00794bf6f9a432e7d5b88d590616b84207b9628de854"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MyAudioHandler: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00834d5b32a36ebaa80da76d49ea40450765123d793ac8cf80713d73d324f43"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalAudiobookService: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 171 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/local_audiobook_service.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"867cc49520ea14c810fa4d0ab20d77e8d76676de22bf1b0df3139e59ab60bec2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/local_audiobook_item.dart: FileTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 206 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a990676dacbee0df02f18354c7950cfaca0d285aaded515b4a9d688e22edf3a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MyAudioHandler.initSongs: MethodTooLong \u2014 initSongs runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace78d7926154dab7c6a37360c6ec2c35c7003675ee26dc5ecebcd3eafe87207"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SettingsState.build: MethodTooLong \u2014 build runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/setting/settings.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a884cae0385eb6d33af28571ab468c33b9799336eaf4a405e7a031359c1171"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _YoutubeImportsSectionState.build: MethodTooLong \u2014 build runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/youtube_import_section.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8f44a19a9bfae07268e5ae4445e39d2fb1228a33b643c9a996f06f5505f1e6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MyAudioHandler: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 116 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1942e8d81f0e40b72415dd1624300c864f27fbbadf209ce47b251d1a47f76fec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TrackSelectionDialogState.build: MethodTooLong \u2014 build runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/track_section_dialog.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef3da2c405bdc1709af5fdc0e045f70aa61c4e9f8c134dd80b4ca453b73a8d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _LocalAudiobookCoverSelectorState._buildContent: MethodTooLong \u2014 _buildContent runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3b2e3af98456f514b474269fcb5ad23f6992c0a971024ff5f2d02b43f47076"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadsPageState._buildDownloadItem: MethodTooLong \u2014 _buildDownloadItem runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/downloads_page.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c0cb94608211aaab3d05193e433c8df90a2eaee51e1244c6cb2c10b1b9d356"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Mp4ChapterTrack._visit: MethodTooLong \u2014 _visit runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8a97934300a2f9d3d023428b1bab8ceb282984dcba0d7299196e2becb124c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ControlsState.build: MethodTooLong \u2014 build runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/controls.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a7191c24ddb30021e38a8b725d36200ebd0cf5e9e2a7b794c5c30591e2cef5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EqualizerDialogState.build: MethodTooLong \u2014 build runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/equalizer_dialog.dart"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"17433f61c35753acb87831ba0795a3213eae2c08dc558b6d37ccaa866072c59b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/local_audiobook_service.dart: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: LocalAudiobookService (11-996). 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":"lib/resources/services/local/local_audiobook_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcb11a62a43e26b0825baab0d862d5ec87452c66619330db5540116817debee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _AudiobookPlayerState: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 15 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":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04357c0aaf7a97a8e0d7ec742f4f7fc9c05e969f3c7b9810956db2617beb027"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UpdatePromptDialog.build: MethodTooLong \u2014 build runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/update_prompt_dialog.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6ae2f4f054f4198a4fb0813f4cb1f56ed6d0d651e5347695bd3a5541c5213e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/my_audio_handler.dart: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MyAudioHandler (26-834). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fc4d56b79eef6967d38f5724aa43fe59503ace890e2f3042f6b65e302c9431"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DownloadsPageState.build: MethodTooLong \u2014 build runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/downloads_page.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c546297bc44901c67f02d0228ded6a0630c335a6ff271f22b1f4a4b5ec2c0e19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _YoutubeWebviewState.build: MethodTooLong \u2014 build runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/youtube_webview/youtube_webview.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbe05e3fec25437d336e80de4c094a311bc538abc4a6c06f7128fdd78b07c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart:59-106 | lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart:108-163 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a171245c6885e8eccf4544e3fbcba6eb1b199ffc415ae15a92d41939db18d213"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): lib/screens/home/widgets/local_imports_section.dart:90-148 | lib/screens/setting/settings.dart:135-201 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/local_imports_section.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"514c7fb817ca62dec2168e998360e06fd35bac38bd195d0ea7a7fb6c5998beb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/screens/audiobook_player/widgets/controls.dart:37-76 | lib/screens/audiobook_player/widgets/controls.dart:78-117 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/controls.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e71cbaea3f9a21f484d00e20195aff834fdabe7326d41efdd33442639c553c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/resources/models/audiobook_file.dart:211-240 | lib/resources/models/audiobook_file.dart:242-271 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/audiobook_file.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df1ec949202ce59e0acbcda9d5ff2eb7f5d23eee20e780b4e5896f2cba6f4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lib/screens/audiobook_player/widgets/characters_dialog.dart:258-305 | lib/screens/audiobook_player/widgets/characters_dialog.dart:307-361 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/characters_dialog.dart"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f717dd47e950d16b3df3612e7c02fa9444eefc10fc9c6468c3e715af5f84ad56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lib/screens/home/widgets/history_section.dart:68-96 | lib/screens/home/widgets/local_imports_section.dart:222-262 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/history_section.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ce9232c4d42c987e08581f73593f96c841e17bea90547c0ecc8211619c1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/screens/home/widgets/local_imports_section.dart:66-88 | lib/screens/home/widgets/local_imports_section.dart:150-178 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/local_imports_section.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54953f8c35821b563a6de824ddb21e0f2582d10a316ef7fdcedafcb11931fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/screens/audiobook_player/audiobook_player.dart:311-331 | lib/screens/audiobook_player/audiobook_player.dart:333-352 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb3027c8fff9ac428c0950c197bb06dcf83504ebc33a3977c38531b87ddae4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/screens/home/widgets/history_section.dart:100-122 | lib/widgets/local_audiobook_item.dart:140-157 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/history_section.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e2ec1eb30aaa9e1443d0c89855d3c761499a30b1f07e1779096e7f5159dcf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): lib/screens/home/bloc/home_bloc.dart:41-54 | lib/screens/home/bloc/home_bloc.dart:56-69 | lib/screens/home/bloc/home_bloc.dart:71-84 | lib/screens/home/bloc/home_bloc.dart:86-104 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/bloc/home_bloc.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c30d89889b3e44166abe9b0b22e5dec9f211acc39f3a94c07d818639af855c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/resources/services/download/download_manager.dart:364-374 | lib/resources/services/download/download_manager.dart:376-386 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/download/download_manager.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf619eea93a9a53319e82f7c97c8114da5588154816d88566e58ff41d4d4a14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): lib/resources/models/audiobook_file.dart:85-96 | lib/resources/models/audiobook_file.dart:98-108 | lib/resources/models/audiobook_file.dart:110-121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/audiobook_file.dart"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bfc80e7f2c8f8341d98975fcdf3c454202935f60c0990b867fac5049ac98aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/resources/services/equalizer_service.dart:25-35 | lib/resources/services/equalizer_service.dart:60-71 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/equalizer_service.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3491dca455d8c0a54f095c9326cc0f2856e678d2bc7357d97508aedbac87d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/resources/models/audiobook_file.dart:137-144 | lib/resources/models/audiobook_file.dart:146-152 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/audiobook_file.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"704b5eecfd05fac7650ba246f751f8a5b2165c462a4bfcfaf1622b406b50858b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): lib/screens/home/widgets/local_imports_section.dart:110-148 | lib/screens/setting/settings.dart:162-201 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/home/widgets/local_imports_section.dart:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/local_imports_section.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbe66f6400960234ca0a6b662d63894444eb9e968ebe460c0500f43b398bd81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/resources/models/audiobook_file.dart:212-233 | lib/resources/models/audiobook_file.dart:243-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/resources/models/audiobook_file.dart:212\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/audiobook_file.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0478d30ca1e9c365e41cfaa32629f96915fa59f309b87d6916989740578b7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lib/screens/audiobook_player/audiobook_player.dart:519-539 | lib/screens/audiobook_player/audiobook_player.dart:631-652 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/audiobook_player/audiobook_player.dart:519\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a7356157a2846fc7b7901e0760dc5ae8d1d957f744cbfeeeb37ab5c682382c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/screens/audiobook_player/widgets/controls.dart:38-56 | lib/screens/audiobook_player/widgets/controls.dart:79-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/audiobook_player/widgets/controls.dart:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/controls.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3020d55ff0685d54ca3e053d5a9907d39a94e355110bee969894086e224dbb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/screens/home/widgets/local_imports_section.dart:239-256 | lib/screens/home/widgets/local_imports_section.dart:278-295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/home/widgets/local_imports_section.dart:239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/local_imports_section.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf51642e1b327cee401940aa6cb3aed191701dd0a1286f16d6105f607408658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/screens/audiobook_player/widgets/characters_dialog.dart:240-256 | lib/screens/audiobook_player/widgets/track_section_dialog.dart:278-293 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/audiobook_player/widgets/characters_dialog.dart:240\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/characters_dialog.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cd67b76a155f42d0f6e9dc13a4911f2e6b4cfe9688c162ec4f97c7dc9101a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/audiobook_details/widgets/description_text.dart:33-47 | lib/screens/audiobook_details/widgets/description_text.dart:55-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/audiobook_details/widgets/description_text.dart:33\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_details/widgets/description_text.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d2d6cc73bce4d472c06581668c0225fd97836c97f13da526818bb1615fcc8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/screens/recommendation/recommendation_screen.dart:282-296 | lib/screens/recommendation/recommendation_screen.dart:319-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/recommendation/recommendation_screen.dart:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/recommendation/recommendation_screen.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dc724e237f650ddf8981782a25b54a882256158ecd826e23595df2af870e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): lib/screens/home/widgets/local_imports_section.dart:92-100 | lib/screens/setting/settings.dart:140-151 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/home/widgets/local_imports_section.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/screens/setting/settings.dart:154\u0060 calls \u0060clearAllCaches\u0060 and \u0060lib/screens/home/widgets/local_imports_section.dart:101\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/local_imports_section.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f77ecbc87c133a1c09d6429b67d3516af82cad403f0131616830f370901600e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/screens/home/widgets/update_prompt_dialog.dart:29-40 | lib/utils/permission_helper.dart:218-229 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/update_prompt_dialog.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee5d09f0dcb402f2cfdde2419c45914b0f5f2cea27d151737bbbb193344a293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/resources/services/local/chapter_parser.dart:131-140 | lib/resources/services/local/chapter_parser.dart:382-391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c1a1cc839aacef6e7733c46dd54dda4c87ca535b57b5ed3b41dc2d1a5666dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): lib/resources/services/local/chapter_parser.dart:445-453 | lib/resources/services/local/chapter_parser.dart:456-464 | lib/resources/services/local/chapter_parser.dart:475-483 | lib/resources/services/local/chapter_parser.dart:494-502 | lib/resources/services/local/chapter_parser.dart:513-521 | lib/resources/services/local/chapter_parser.dart:532-540 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/resources/services/local/chapter_parser.dart:445\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e369e6aea30a1398f48a8d2deff994a0e78f2f0259515fe93c2e1b5c26a2866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/resources/archive_api.dart:324-332 | lib/resources/archive_api.dart:344-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/resources/archive_api.dart:324\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/archive_api.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80c803f7a868ed346e751841780c34155bbd06df33af72a31590fa2a2af1776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/resources/services/local/chapter_parser.dart:69-78 | lib/resources/services/local/chapter_parser.dart:93-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/resources/services/local/chapter_parser.dart:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"66117d79aa2604384f75543d418c72bacc03e48662239271e8ecb737f4ee1958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lib/screens/audiobook_player/widgets/characters_dialog.dart:203-210 | lib/screens/audiobook_player/widgets/track_section_dialog.dart:129-137 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/audiobook_player/widgets/characters_dialog.dart:203\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/characters_dialog.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6d5d2799499594c60fc29af50d951481f0c64856063bf6e0acbe1a3ac891d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart:82-87 | lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart:131-139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"444b6f64208b296b849f1953d37889e0c8a4932dcf1d0cc9909986065e78966c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart:98-106 | lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart:155-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0a4e30011280c81a175ab00497348bba5931ddc1057f4e3caf1a2378b9c778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/resources/services/local/chapter_parser.dart:414-420 | lib/resources/services/local/chapter_parser.dart:435-441 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/resources/services/local/chapter_parser.dart:414\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ae5340a23dfb0cbf7da1fbabb2a101a564a8ecaf5fa1edf3324f71d5903830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/resources/models/audiobook_file.dart:177-182 | lib/resources/models/audiobook_file.dart:190-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/resources/models/audiobook_file.dart:177\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/audiobook_file.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c435d50b86c4848e8c9d493b55bace61e9ab07b145548651bf9f01ab00576f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/resources/services/youtube/youtube_audiobook_notifier.dart:86-90 | lib/resources/services/youtube/youtube_audiobook_notifier.dart:151-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/resources/services/youtube/youtube_audiobook_notifier.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/youtube/youtube_audiobook_notifier.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0109e6b212f6da95b8915e52cb2aafb6f48d0d0a968ff08eb6300aa53c6037"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChromeCastService (LCOM4 13): ChromeCastService\u0027s methods fall into 13 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 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/chromecast_service.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5506da84d6c8a071c529d1fcb575e75b82190cc56a8914e3671dfb548d9d4528"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MyAppState (LCOM4 4): _MyAppState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa0b2edd1560c19d599ad577fe53f0192d1b2a8b4e965965c20624afd164262"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MyAudioHandler (LCOM4 4): MyAudioHandler\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"147fa8224984f56e0d272c06f9d043aa8542f367b5fa9fefdaa6263071e496d5"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (the \u0060test\u0060 package (\u0060dart test\u0060 / \u0060flutter test\u0060)), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/resources/services/my_audio_handler.dart: lib/resources/services/my_audio_handler.dart changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in MyAudioHandler.initSongs at line 208. 10 of those changes were fix/bug commits, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/resources/services/my_audio_handler.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ee1233438637989a6fe50448acf071b59169df39698a8aee5245180d59c4ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/local_audiobook_item.dart: lib/widgets/local_audiobook_item.dart changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CoverImageRemote.fetchCoverImages at line 851. 4 of those changes were fix/bug commits, and the other 14 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/widgets/local_audiobook_item.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19a6da20e93516b83cc3e4f84b9f38d56739d832cafcf7e4a39dabcaf301467"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/audiobook_player/audiobook_player.dart: lib/screens/audiobook_player/audiobook_player.dart changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _AudiobookPlayerState.build at line 374. 8 of those changes were fix/bug commits, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/screens/audiobook_player/audiobook_player.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb700b28ec74c772de4ebffed666fb7e63b18b8665699e1e30d5318757c3d2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/resources/services/download/download_manager.dart: lib/resources/services/download/download_manager.dart changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in DownloadManager.downloadAudiobook at line 25. 3 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/resources/services/download/download_manager.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/download/download_manager.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f4a873cedf4b70d326a4227278135ac26e0f68891b1ecda9b846fd52b00c0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/audiobook_player/widgets/controls.dart: lib/screens/audiobook_player/widgets/controls.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in _ControlsState.build at line 134. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/screens/audiobook_player/widgets/controls.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/controls.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3e1ab9096944dc2d69903f7ffe512953b54815ecea183edb87b0ad089c233e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/download_audiobook/downloads_page.dart: lib/screens/download_audiobook/downloads_page.dart changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in _DownloadsPageState._buildDownloadItem at line 338. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/screens/download_audiobook/downloads_page.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/downloads_page.dart"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d869e8fe49fc750f32f73fbc9e71af53cabf4199e26a45e8667209143bfe8ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/resources/services/local/chapter_parser.dart: lib/resources/services/local/chapter_parser.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in _Mp4ChapterTrack._visit at line 412. 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 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/resources/services/local/chapter_parser.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa7053fc609a320bbec02c9cb922390845f3f1a42f0d756521ea04d9552dc1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/audiobook_details/audiobook_details.dart: lib/screens/audiobook_details/audiobook_details.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _AudiobookDetailsState.build at line 94. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/screens/audiobook_details/audiobook_details.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_details/audiobook_details.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e4efbd4c800e1bb579c6e5bc6202c61f98d0c4d3fa5083e53233d7fbe7d257"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/screens/youtube_webview/youtube_webview.dart: lib/screens/youtube_webview/youtube_webview.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in _YoutubeWebviewState.build at line 232. 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 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/screens/youtube_webview/youtube_webview.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/youtube_webview/youtube_webview.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d8b68275e6e6623f02b71058bf07d7527f646137bfaf85140b5a16be9179fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/widgets/scaffold_with_nav_bar.dart: lib/widgets/scaffold_with_nav_bar.dart changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is _ScaffoldWithNavBarState.build at line 26), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cadded fav section in home, removed fav from btm nav bar, fixed UI\u201D; \u201Cfixed crash during keyboard close\u201D; \u201Cfixed miniplayer issue where it wouldn\u0027t hide when opening the keyboard\u201D; \u201Cfixed navbar overflow\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2025-08-21..2025-11-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-21 13:38:26 \u002B05:45\u0027 --until=\u00272025-11-19 13:38:26 \u002B05:45\u0027 --full-history --no-merges -- lib/widgets/scaffold_with_nav_bar.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/scaffold_with_nav_bar.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea608984621e7c827d1fb3baf34644abb92eb491938abe04172428e9443f5bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement retry \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/downloads_page.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ddf942dd6036221557f1ec32c9647ca3a068c4b283a8c9766ab2b9f480e242"}},{"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 \u0060lib/main.dart\u0060 makes this repository a deployable product (line 32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8716bba673c3075887c415d08f1c9dd48ba3b1fdb124bf3e079c529efec988ec"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (17520 LoC, 130 module-visible types across 29 directories) overshoots its size bounds. 1 of 2 build unit(s) (Gradle, pub) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fee3010c053c10733ebad6b156234032ce361c46f8c03bb63f2bdc3c8adbd"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 52 of 52 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 52 separate risks. Counted over 52 of the 90 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/archive_api.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ff41aa8cbafe536d0fcabc5edaea8d20903321f12e61d38fdf70c40023b9c4"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/local_audiobook_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8fa40c1b39d579b972ef73f0a26a401bd0646ba77dff88d89760640708df02"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/local_audiobook_item.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cd5866da7bad6356053d32931539580014c90daebeedc0a4a2ad790007182b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/audiobook_player.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8a5e1f29d928059ab378fdf705e74286b37ebe8a45971bd3e2b371bb118368"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c3ad1e23a473d0c65ede8a7b5ec27bb838a9e5db0049968509fcfc9d9777cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_details/audiobook_details.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf6d382b1dace02ffaa40d8a3d1f869ffc545d3030f91a4b01f0bc4bfe2b20d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/downloads_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fc1a05e3bec43e3a8b180fff14a8a2012fab1e01b687e138450540bae1e02a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/chapter_parser.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db09f44da5790ba83fabb8ae13e8f4084bd391b6b5269700d56973d56afa5849"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/equalizer_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfbe4dc7a64e7ad5b2cabedb6b9c968ff4b7fd1883fadb0648dd0a766ade332"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/history_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf97ec38fc69ac66c271705128090d21d49184a22cb47123e83cf7b4ceec69f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/setting/settings.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57079ebc3d1e2acacccbacd03a642de77ad1b6f0abbddb4bb604c86f0eea1c59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/characters_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d076862c0aa28bdb993f36b63f99413e34d053056f23bb867fbc831fbeddc0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/download/download_manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"643e6e7f90accbcd905554ff178f33620cbe20a3c1f73cc5ed166ec6b0f6500a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/recommendation/recommendation_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f1e90757a4b4e4a793f7a4d8133918e56a0acddc9383cee59478ad3ff23aa3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_helper.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7478adb5c67bed70dd4a81b75359d763803c9d66fab1363d32b103afde029f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/search_audiobook.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1f408a372253c056d1494aca0cf8e3ce632b1362cdbb292254893385c47426"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/youtube_webview/youtube_webview.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c79ff0b3763b4afd7514f0255016e0b965ccee875d9f2c5a739a386a92cf73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/cover_image_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a364b0e8c00991c79e62d6c927aea7f6281b325dc25705c1b374b031c75e2d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/track_section_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc19772960139ca1d60814f0e0c90ccff8e2ada9f818142a72412449e67a3663"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/local_imports_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2fd55fd097ee911f40e6b3851608910d87269fec1662cee6f980e0c9a6e860"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/permission_helper.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6697a19b4f7ff7de4b036de68a8ff8024073cb9ea2160f2964595fe928b30c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/audiobook_file.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"323d42cf9bc0a426c12bbf474538ebbb4d6bd1a7b6f210f21b9f771d262feec7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/controls.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fd5ba593ff5a4defc05eaf67efe58c29ca88614bfdb99ec0fa5b06aaac58ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/home.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8410861a02fb86ca4add7b75426d99bed911463614828951773d2b4565559e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/mini_audio_player.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdb05dd1a72b62f4e115afb5108c702a9924b05cb60f1bca25d5e3584ad04eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/youtube_import_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3064971397cff9d0a5fada53be8443a932e7482f61dc6dda428b22a56671e9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/main.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7640bdf659bc2ebf7ab791fe9de8b4a3b244b3456b58da3fb45dc1cf30f2c6b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/my_audiobooks.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e427fbff580448e874813969c680b2f64b9380f3aaf0a70f48a8e3efcc27bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/update_prompt_dialog.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"509bda858b9f75890e4760cdfaba99fde054d950acbcb915581fb0459656bb3b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/genre_audiobooks/bloc/genre_audiobooks_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4fd3d7cf35ea98fa7f9b4d7c8f1d54fc7d239a6aafc195623b87243876f05f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/youtube/stream_client.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d728be13665fbf76bfce34909876a9f88a259692cdf1410d03f9f9b41543c4f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/widget/download_button.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edcc27ec1b5f0a20728118b1155e27883efb37c17d1681eb229d777265f939e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/genre_audiobooks/genre_audiobooks.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e134536b5ee6187337973fbb9a966ff9f3f44c5830a85310f4e3a898520a705b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/audiobook.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ea5d6e7ca05ef5de24bb258078a98fe229f139499f8666f05c1cd4e3583063"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/youtube/youtube_audiobook_notifier.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f38a4caed70daf1d2aab849b05fbbfacd15406e115a7d686b7156f763665d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/history_of_audiobook.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"041a0783902c5c5fd7494237c3d9de2218920c12f7230e0aaae7ebdc6b6f4455"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/chromecast_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"674d6efe352c173221e39a5b5309ddb5edc36aa212742dbcece0eaa4d0a409aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/bloc/home_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a588502cf69e0796052ec2c4050330509685e1c8dd6592f06c5cece46c0cdfbd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/audiobook_item.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3fb32209ad2739b2064b22176e4fa4ef9ed0a5f2d963cd2d915db0a16fee03"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/equalizer_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93254bccae289350c3735b8bf00adc63e05ca99d8210a172ad32950bf50ae4f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/chromecast_button.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d545aaf62aa36ef8398f4852caea8e5972755c711bb71b8acf15054085a0f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_details/bloc/audiobook_details_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dabf7cf62608a3fccf70f68b774ff88e04e698e011de09ffa4477a6ee417d33"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/local_audiobook.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f99b77e4968c2cf170b12f3a94251b47c39ab801ed6f25a54272bbec2b279b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/app_logger.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd82a79b59685b8f20087d15b72e229d1a84e8cc60cffd47207303a3f518da14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/audiobook_player/widgets/equalizer_icon.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf9a1b046c1ab42fd6889376b1bf36680844f0d6690d97d434ea0da6f1bfc90"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/favourite_section.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73dddd1c067e74144d644c6ded64e5638906bad96dc0cd71dd4cf7bf00027a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/scaffold_with_nav_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a8501303e5e20adca481fc5f133adb87153911992d12f22a5378919cb6dcb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/optimized_timer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1cc790947e92f0d9b710c726fd553c67d05f109ce2614f170db7f951c55af1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/character_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c71359cc3603e69b6768584724881286565a022ff93cfe41a4290918af0a39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/search/bloc/search_bloc.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ef05ce199cb1c682f906c717ce19b15df79c652bb18ecb1da6d5605a9080cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/equalizer_settings.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552710a7338dcfd2857daa4b4bfdc1bd6cf560af3b81f268396357a64e9aa106"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/latest_version_fetch.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f261028463bcaf73ef4e0a1429e72bfc30cb3967f0fca5c21171690f8571d5af"}},{"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":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"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 \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fromDownloadedFiles\u0060 is async and calls listSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/models/audiobook_file.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2315195883019a93d252ee6ed4f2d8e9cad0ab84ddf20b5d193a5daca702c7d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060persistedDirectories != null \u0026\u0026 persistedDirectories.isNotEmpty\u0060 appears character-identically in 2 files \u2014 lib/screens/home/widgets/local_imports_section.dart, lib/screens/setting/settings.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/home/widgets/local_imports_section.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7eb3bbc438dfd3760a37cdda21fb3113e77bb0b464f19bcff8f6e88d0ba21d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_helper.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a7b17c37a1656bf0ad4db7f3ad942ab02f0b77665188a971b7f69bdb3ac5ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/media_helper.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01e47e4b9119479e8ce57c63449671b5e24b4863dec4ff518d939984ba5fc44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/youtube_webview/youtube_webview.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f645d5f6337252269560f926eb59875aa952433c036b4bd3d105d411aaedb56a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/screens/download_audiobook/downloads_page.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddd18174aa30f23afa1e0cb9cc90331c889a1fa4db2b77e33c53b9e6cad2bf8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/character_service.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7966f863d68f2d6057843bb02da89c0eabcaba427fe608d1cf3b6bb529148196"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/my_audio_handler.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d7bbcb11f7bcad94adc7a581690fdf8b56c290f03857098e37b67a37fffec4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/cover_image_service.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a12612aae1ba30ecd53762fdd41648f45195efc69bab623d129a8b93d8baded"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/cover_image_service.dart"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d556edfb381420cd378ae16942931c406d2e230f7b2bbba14f86a761d4070f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/resources/services/local/cover_image_service.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"16109e2646ac059b3033b4be766281419fb6aa0cde6b16b8491f5cebc2dbfad2"}}],"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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}