{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"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"]}],"properties":{"cwe":["CWE-506"]}},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"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":"spotify_player::event::handle_global_command (cyclomatic 61): spotify_player::event::handle_global_command has cyclomatic complexity 61 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: spotify_player/src/event/mod.rs holds 2 of the 18 functions over the threshold \u2014 including the worst \u2014 and 79 of the 214 points over it (37%), 2.3\u00D7 the next-largest file (spotify_player/src/client/mod.rs at 34). 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":"spotify_player/src/event/mod.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf00fdbfa66868731e69099ec7b697e40dc11f2f8b628af75c266792a2394986"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::event::handle_action_in_context (cyclomatic 48): spotify_player::event::handle_action_in_context has cyclomatic complexity 48 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: spotify_player/src/event/mod.rs holds 2 of the 18 functions over the threshold \u2014 including the worst \u2014 and 79 of the 214 points over it (37%), 2.3\u00D7 the next-largest file (spotify_player/src/client/mod.rs at 34). 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":"spotify_player/src/event/mod.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2869cabf2a1680e39f2b712dba8e6686c887e45c99720f535717c45564d6c52"}},{"ruleId":"D1","level":"warning","message":{"text":"AppClient::handle_request (cyclomatic 40): AppClient::handle_request has cyclomatic complexity 40 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"363dcaa78674eabe5c5de10f59311bceb9425437ef86416f424b1dcc56b19211"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::ui::playback::construct_playback_text (cyclomatic 35): spotify_player::ui::playback::construct_playback_text has cyclomatic complexity 35 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/playback.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9865957be845aecefaec65e3cc5be930674844207b3fb575de4683d70b37da"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::event::page::handle_key_sequence_for_search_page (cyclomatic 32): spotify_player::event::page::handle_key_sequence_for_search_page has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/page.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b625946c55f6bb04183787ed46a179825b4e0a37131e800dda9c4059c6d187b6"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::ui::page::render_search_page (cyclomatic 27): spotify_player::ui::page::render_search_page has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd45130c41a7e195d7144182389dbd98c16b07d8edcd7711901290b65c873cca"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::event::popup::handle_key_sequence_for_popup (cyclomatic 26): spotify_player::event::popup::handle_key_sequence_for_popup has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/popup.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7713047829a0563da6927534fcafc0afaddf75c1074cc0a8c9bc835a1ba8faf"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::cli::client::handle_playback_request (cyclomatic 23): spotify_player::cli::client::handle_playback_request has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc2284d987739c74ca5af2869cb1e94affb90b0a55596fa60b7f3c0a1a67382"}},{"ruleId":"D1","level":"warning","message":{"text":"AppClient::handle_player_request (cyclomatic 22): AppClient::handle_player_request has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16a0d451055a00156cddb0240e5b19b502aa85ff8162f5ffd1f078e2fc5e004"}},{"ruleId":"D1","level":"warning","message":{"text":"PageState::focus_window_state_mut (cyclomatic 21): PageState::focus_window_state_mut has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/state/ui/page.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cf3ef8bcaae0d0971eac7116fdee562cbada1a36cd8f32c93339d634974b20"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::cli::client::handle_playlist_request (cyclomatic 21): spotify_player::cli::client::handle_playlist_request 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":"spotify_player/src/cli/client.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0a23a234339b529dd74742897e2fe50d190edcdadafc8bc0db7dec8aaedccc"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::streaming::new_connection (cyclomatic 20): spotify_player::streaming::new_connection 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":"spotify_player/src/streaming.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac35cf8148cfa1ea18dbe44311b7f3d5dbaccc3c6b8c5c4cd38c22dbaa62d09"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::event::window::handle_command_for_focused_context_window (cyclomatic 19): spotify_player::event::window::handle_command_for_focused_context_window has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a0e14431cf9aeb8cf51130349c47e89c21baa0e35a0645ccd59342cf467830"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::ui::playback::render_playback_window (cyclomatic 19): spotify_player::ui::playback::render_playback_window 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":"spotify_player/src/ui/playback.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"990cb4612574d8d2aa747cb936ada81718ea5d66c3be27f0fd13dc2bc396ec20"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::media_control::start_event_watcher (cyclomatic 18): spotify_player::media_control::start_event_watcher has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/media_control.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff60d40368993774405ac05b5afec5bc8be0207ea4ff31140d6e5a9ce661d529"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::cli::client::get_spotify_id (cyclomatic 18): spotify_player::cli::client::get_spotify_id has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22c3257fcd44b026bda42c414eef91204c9ea1791b417bb717ae08baec92d79"}},{"ruleId":"D1","level":"warning","message":{"text":"AppClient::handle_new_playback_event (cyclomatic 17): AppClient::handle_new_playback_event 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":"spotify_player/src/client/mod.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88b84f266542510feab68c55b8f6461d403d645018fe7b15e42a7bb8a67c7ab"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify_player::client::handlers::handle_page_change_event (cyclomatic 17): spotify_player::client::handlers::handle_page_change_event has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/handlers.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f624346db1e8c5b7a58cd87389b51904c683e8b4a46427a5cce0a6035075ec5"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::ui::playback::construct_playback_text (cognitive 57): spotify_player::ui::playback::construct_playback_text has cognitive complexity 57 (threshold 15). Drivers by points: match/switch 10 (30 pts), if/else 11 (23 pts), loops 2 (4 pts) (nesting depth added 34). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/playback.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e13c540fe2c5516d289e5d581155b2c20c070d8f461d39b4b30fad116d5ba6e"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::ui::playback::render_playback_window (cognitive 49): spotify_player::ui::playback::render_playback_window has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (32 pts), match/switch 4 (15 pts), boolean chains 2 (nesting depth added 31). 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":"spotify_player/src/ui/playback.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0ae442a9a18a2d6a1453b4e3b65cfe67737356f48b7143220eb751b42f9614"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::page::handle_key_sequence_for_search_page (cognitive 47): spotify_player::event::page::handle_key_sequence_for_search_page has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (29 pts), match/switch 11 (18 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/page.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5d536e1f2cb3c84b8b21843eac6978055d231f137801afb2b6870be6c9f2ed"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::handle_global_command (cognitive 45): spotify_player::event::handle_global_command has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (36 pts), match/switch 4 (9 pts) (nesting depth added 25). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5814ce018271b161800baf97a534f828db24c6f3981981da3e650fe7b061e61"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::cli::client::handle_playlist_request (cognitive 43): spotify_player::cli::client::handle_playlist_request has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (32 pts), loops 3 (8 pts), match/switch 2 (3 pts) (nesting depth added 24). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4023bcdd2f21479b886ea04e6a9bd2914446785c50b98532e86a91043304f07d"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::streaming::new_connection (cognitive 42): spotify_player::streaming::new_connection has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (31 pts), match/switch 4 (9 pts), boolean chains 1, loops 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":"spotify_player/src/streaming.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8a1799b5ce745617b6f93088032ca509f8fb24e6e5d74d402094b90be477c5"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::cli::client::get_spotify_id (cognitive 41): spotify_player::cli::client::get_spotify_id has cognitive complexity 41 (threshold 15). Drivers by points: match/switch 9 (21 pts), if/else 6 (18 pts), boolean chains 2 (nesting depth added 24). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef56867dc4785119053bf01a5c248f43474281bf5f4e2f42d398554f9fcec959"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::ui::page::render_search_page (cognitive 38): spotify_player::ui::page::render_search_page has cognitive complexity 38 (threshold 15). Drivers by points: if/else 27 (28 pts), boolean chains 7, match/switch 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":"spotify_player/src/ui/page.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a960bfbb8ce954d85263a5492dfebd169ef289045ed968495eb61c712c9d2f5c"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::handle_action_in_context (cognitive 32): spotify_player::event::handle_action_in_context has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 7 (13 pts) (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ba016ac3a0e09feabbaa4cac3bf7bc1e49a4d9bc743c0d612d08db3d8c5643"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::client::handlers::handle_page_change_event (cognitive 29): spotify_player::client::handlers::handle_page_change_event has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 4 (10 pts), boolean chains 2 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/handlers.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9627bf99ec3a8859414006d6776980019295e4e454fb759c6a9d585f4416cf61"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizationSink::write (cognitive 28): VisualizationSink::write has cognitive complexity 28 (threshold 15). Drivers by points: loops 6 (20 pts), if/else 5 (8 pts) (nesting depth added 17). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/streaming.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b196192ed7f36517f30f66085eff8d40bf1c7fedafdb8f2270ddd2debee875fe"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::ui::page::render_track_table (cognitive 27): spotify_player::ui::page::render_track_table has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (23 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15d10b1906457fddda5bb95346f3ab9e870d14fe99f401fd2ff7040a9401487"}},{"ruleId":"D2","level":"warning","message":{"text":"AppClient::handle_request (cognitive 26): AppClient::handle_request has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 4 (10 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"273160cd73bfec32437b9d4588ad430254d40d534e8ffc21949765e0ffee8569"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::cli::client::playlist_import (cognitive 23): spotify_player::cli::client::playlist_import has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (6 pts), match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"927c30838e4cd52068dca8875069fafb8d7089f5e63fd1dd519b6cd664699b75"}},{"ruleId":"D2","level":"warning","message":{"text":"AppClient::initialize_playback (cognitive 22): AppClient::initialize_playback has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e25e4f093c5e6cc2e186cfd5d409e7bef57287fc9f2a618ce82343cbe52e527"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::popup::handle_key_sequence_for_playlist_search_popup (cognitive 22): spotify_player::event::popup::handle_key_sequence_for_playlist_search_popup has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 2 (4 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/popup.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c847db198de24ebc813f534aeb92ae5d477fc86735fca19315074f27de7bc7d"}},{"ruleId":"D2","level":"warning","message":{"text":"LineInput::input (cognitive 20): LineInput::input has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/single_line_input.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f18c42df8b705fd32503b6f5d638384276ae4c332e40e6ddc74ac89bd71f220"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::handle_mouse_event (cognitive 20): spotify_player::event::handle_mouse_event has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0e7c9d53906908b9efff590e3fba66add811b5730ac0bf374cadc7502820d3"}},{"ruleId":"D2","level":"warning","message":{"text":"AppClient::handle_new_playback_event (cognitive 19): AppClient::handle_new_playback_event has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"spotify_player/src/client/mod.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"89df6054148a341987740176910766089111ab37a8efa1de8bb446f5b2ad4f7e"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::window::handle_command_for_focused_context_window (cognitive 19): spotify_player::event::window::handle_command_for_focused_context_window has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 5 (9 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38c52f9e17e596b283021eb41d3c43170b19c131391deb549db9fee7c0ef764"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::ui::page::render_episode_table (cognitive 19): spotify_player::ui::page::render_episode_table has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb06a39bb9f72d227b495fcb9b4a681e034967a5093a65d04ccff78639def01c"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::handle_key_event (cognitive 19): spotify_player::event::handle_key_event has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 3 (7 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"600cb732fa81c959e7855d78378c83851f8243e5863ee3c58516941a0b4654d0"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::popup::handle_key_sequence_for_popup (cognitive 19): spotify_player::event::popup::handle_key_sequence_for_popup has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 9 (14 pts), if/else 3 (5 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/popup.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2265802ed4f4a56b8d86a936c70474b5f7ec306c640928f1ac9339bebb95efd9"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::cli::client::handle_playback_request (cognitive 19): spotify_player::cli::client::handle_playback_request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 3 (5 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":"spotify_player/src/cli/client.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c978657e1fb7e4b4cb9a4a2ec3da553f43bddbbd80361d7c290f03bbc991e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppClient::handle_player_request (cognitive 17): AppClient::handle_player_request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 4 (6 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d40ca74247f12e7f49728480f3dcbae8ad7545b413f82c403c7af996a9121a"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomQueue::set_shuffle_mode (cognitive 17): CustomQueue::set_shuffle_mode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/state/queue.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d97142871e60e076c3f5764f7a0e1f1552f3ca9239d761763494470927e2d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::cli::client::handle_socket_request (cognitive 17): spotify_player::cli::client::handle_socket_request has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 3 (6 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8704f3e34c9e08cb96c2e512c77579ebc606d9d53fcd902eb7a7f28164f8c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"lyric_finder::improve_query (cognitive 16): lyric_finder::improve_query has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lyric_finder/src/lib.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ae2ae9d266f5966975f461766b61b1cab470aa5d2686fb09ec90f52668979a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppClient::notify_new_playback (cognitive 16): AppClient::notify_new_playback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca91d0c96ef5691599e407f4ee745c7e9a2aa4bfd5dce61d1974c9110efb62e"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::event::window::handle_command_for_track_table_window (cognitive 16): spotify_player::event::window::handle_command_for_track_table_window has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f62cc720b85cfd63a08643489f3c4d15ff6117683f9f73823801942d50d1b"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify_player::cli::client::start_socket (cognitive 16): spotify_player::cli::client::start_socket has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 3 (5 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"89374bad2ba6e5f4265e6f0c36f62c40e03675e89157bc0e759fffabc739efb7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppClient: ClassTooLong \u2014 1252 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 47 methods, 3 blocks, lines 72-2039. The bar is 400 significant lines; this is 852 over it, 3.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"12859f110855e1d4dbdf15e6bbe818512074fd9a64fd17f13c4754fe85c2ffb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/mod.rs: FileTooLong \u2014 1357 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: AppClient (3 blocks, 72-2039). The bar is 500 significant lines; this is 857 over it, 2.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74278ccc36dea7cd5b1db960b1f258441c10c91e152bc153ef822f9b7f561f9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::event::handle_global_command: FunctionTooLong \u2014 spotify_player::event::handle_global_command runs 235 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"6853d9a0816463331e3d43cd710530d817e5880a12aa42d5531d12b113e0ba90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::event::popup::handle_key_sequence_for_popup: FunctionTooLong \u2014 spotify_player::event::popup::handle_key_sequence_for_popup runs 229 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/popup.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db7e1d8a1e055ba9745076a45da95ceb079b1d3ab927dcb0c556e91a2d7d8a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeymapConfig.default: MethodTooLong \u2014 default runs 227 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/config/keymap.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b3da1322e8622ddaac1f15c3ed69b545f10d2974ceb3cfd6f6b2774ceec626"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::event::handle_action_in_context: FunctionTooLong \u2014 spotify_player::event::handle_action_in_context runs 207 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 107 over it, 2.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":"spotify_player/src/event/mod.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5da3df29faea17347c7984cd79085866a7483e683f88ed3c25763ed495b0a93"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppClient.handle_request: MethodTooLong \u2014 handle_request runs 204 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ef5841fdaf931d89f2756218452bbd777c45ab27682ee049f506fe9ed0e331"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::ui::page::render_search_page: FunctionTooLong \u2014 spotify_player::ui::page::render_search_page runs 200 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d89f5534371ec0eb8cd046a391851e491890534a25cf37580667258e0021f9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/page.rs: FileTooLong \u2014 953 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 453 over it, 1.91\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":"spotify_player/src/ui/page.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ab96dedfab4d9f3c2c3f6693cc76def18f2965c207b6b7736e7c6ff8951c5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::cli::client::handle_playlist_request: FunctionTooLong \u2014 spotify_player::cli::client::handle_playlist_request runs 166 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c37892e2e346e7ebf6902fadf69935e057a717c062a07fc2048e261c7e7dbe2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppClient: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f13dfd6ccd06590387ab40a154e03cb883e9f0d0c85c2ff14fe1ac1fdd5473"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AppConfig: TooManyFields \u2014 47 stored fields beside 5 methods. The bar is 30 stored fields; this is 17 over it, 1.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/config/mod.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae90ee8c1f3d9c4ca533c0fb26b58c0b84f2ff7ea37af92204a0780426a51420"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::ui::popup::render_popup: FunctionTooLong \u2014 spotify_player::ui::popup::render_popup runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/popup.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf0a4d804d47245fb582a8ab90b6b633fdf079dfe15268467fd4172d610b77e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event/mod.rs: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 139 over it, 1.28\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":"spotify_player/src/event/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b80bf2d2903827bc5e91eb82e85b73be59920810aa3515875d5d5aeed1eb77a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/client.rs: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9033dbb3e7d2ef3e74a0f49c454740ce625834e6b16181dff23f5e88389c4f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::ui::page::render_track_table: FunctionTooLong \u2014 spotify_player::ui::page::render_track_table runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f973744268f917b8fceade411462075f017b3fbae0db02909860f31c56f9d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::event::page::handle_key_sequence_for_search_page: FunctionTooLong \u2014 spotify_player::event::page::handle_key_sequence_for_search_page runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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":"spotify_player/src/event/page.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8a1295564b4747ffe719f433004342a480769ae05b1db85ab34505a8963d85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::ui::playback::construct_playback_text: FunctionTooLong \u2014 spotify_player::ui::playback::construct_playback_text runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/playback.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab48e8c808f7f7fdaf7305ba03b5065b360abc311ee2ae388014d1798cf307b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::ui::page::render_artist_context_page_windows: FunctionTooLong \u2014 spotify_player::ui::page::render_artist_context_page_windows runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf4b79a17fe53f9d5e7308e485491bd219ec9447b17863e183b18ebcb547852"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::ui::playback::render_playback_window: FunctionTooLong \u2014 spotify_player::ui::playback::render_playback_window runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/playback.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"991d76889bc08a9f052d2bcee217f6c1b4f8f86a51678ed75cbfa0d1d143b47c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event/window.rs: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93946ef6b3bb9ecda40cc2fb8aaeb59e5c72b42a781e1b571015f8532cbd6f5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::cli::client::playlist_import: FunctionTooLong \u2014 spotify_player::cli::client::playlist_import runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c611bf2d79bb7ebc40dc483a89f25a3edc3d6313227206688468f8e815f24aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::ui::page::render_library_page: FunctionTooLong \u2014 spotify_player::ui::page::render_library_page runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9899425dab6654f5423e6cc1082b2ad21f36ff3e0f2384f2360fac12e66485c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spotify_player::cli::client::handle_playback_request: FunctionTooLong \u2014 spotify_player::cli::client::handle_playback_request runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"412e34fc90f72ecf3beb13562310150115b8e7594d72e9e99b6c6c90a79eaa74"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): spotify_player/src/event/window.rs:405-446 | spotify_player/src/event/window.rs:490-522 | spotify_player/src/event/window.rs:621-656 | spotify_player/src/event/window.rs:666-706 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b34f15eb55c2f187b69861ece96021c0797fa146739239ab6d5b94ef45c9c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201342 lines \u00D7 2): spotify_player/src/ui/page.rs:1167-1208 | spotify_player/src/ui/page.rs:1294-1319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"19eb06fa8ab96ada59c5b4a2b29298aec239cee44653f0701c7e028d47467f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201324 lines \u00D7 2): spotify_player/src/event/window.rs:408-431 | spotify_player/src/event/window.rs:624-641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d2381c1f10431afc8e5af263e1e2a477e892793e886f449418fdb6b907661b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): spotify_player/src/event/popup.rs:153-169 | spotify_player/src/event/popup.rs:194-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/popup.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e9b07f821af638529dcd9154d84a4a51d3a89d10d2cd30a47200529b8620f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): spotify_player/src/ui/page.rs:1098-1113 | spotify_player/src/ui/page.rs:1255-1270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7494a3fa8b4ad0f976c5f9a5753f9c6ded634dfe4ff58511b650b735a3516d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): spotify_player/src/cli/client.rs:637-651 | spotify_player/src/cli/client.rs:677-691 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdcde7efc60ab790941581698f6f925afc23c43fcdae4495bf4eb4754aebe98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): spotify_player/src/ui/page.rs:615-628 | spotify_player/src/ui/page.rs:634-647 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5add8fe439172308b5297289db9faae2b172d8845722eb7c0c87fe263569160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): spotify_player/src/event/popup.rs:179-192 | spotify_player/src/event/popup.rs:220-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/popup.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbf03a06899aa159c4a28fd41a0300cbfddb9288fb2feedb40abef06995a8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): spotify_player/src/event/window.rs:435-446 | spotify_player/src/event/window.rs:645-656 | spotify_player/src/event/window.rs:695-706 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca83404897fed7a8cbef5ffec02b32e65c209b721d1ef92520b6c17cbff32166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): spotify_player/src/state/data.rs:134-145 | spotify_player/src/state/data.rs:149-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/state/data.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"937b223d4a3190cbe3035128948dd0c0f6eb3adc7b18b672918dba76cc1bac3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): spotify_player/src/ui/page.rs:181-191 | spotify_player/src/ui/page.rs:196-206 | spotify_player/src/ui/page.rs:211-221 | spotify_player/src/ui/page.rs:226-236 | spotify_player/src/ui/page.rs:240-250 | spotify_player/src/ui/page.rs:254-266 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe1f989b6945722e84c547e53f11cdedac47eecd722ee5ebdd62bd060b29a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): spotify_player/src/event/window.rs:406-416 | spotify_player/src/event/window.rs:491-501 | spotify_player/src/event/window.rs:622-632 | spotify_player/src/event/window.rs:667-677 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb767f38c04f4c1865c5ff37bec327d1d1e54f2d44993ea1ed2f1a49e0d86d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): spotify_player/src/event/window.rs:454-464 | spotify_player/src/event/window.rs:530-540 | spotify_player/src/event/window.rs:584-594 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/window.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"e171e3141d0cb43ffa68055a1f87f1a166571056b2e51349227d5964e7b724ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): spotify_player/src/client/mod.rs:1161-1171 | spotify_player/src/client/mod.rs:1173-1183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2600a6b7d9e953c2093c3dbe3a5db6629c80d1cab07c1ff85d10583eadd882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): spotify_player/src/state/ui/popup.rs:89-99 | spotify_player/src/state/ui/popup.rs:103-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/state/ui/popup.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0db96bc8016224ba9fcc82f3f04989b26067a5941db2cee2a4d800da48d986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): spotify_player/src/ui/playback.rs:413-423 | spotify_player/src/ui/playback.rs:427-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/playback.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3326fb5e94593572598aea5ab7c7f9b1bd370d60e028956145eb50b8abe97cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): spotify_player/src/state/model.rs:364-373 | spotify_player/src/state/model.rs:389-398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/state/model.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e92a34b77889df4f1fc2f955ee51659eac1be5a0fdf1138978d9903326e701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): spotify_player/src/event/mod.rs:211-220 | spotify_player/src/event/mod.rs:420-429 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8945669fd44f9f1d67d72f02a3fb2e8cc4b20ce40df3c9208679f7f0fd03acdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): spotify_player/src/event/mod.rs:265-274 | spotify_player/src/event/mod.rs:310-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd72aa6fb997bcb9cd7132d6a7833edd0f86a63c605b40cc02103fde5910c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): spotify_player/src/cli/client.rs:734-743 | spotify_player/src/cli/client.rs:744-753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/cli/client.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6455b4c17838b3a8d57d34127b582ab73a454c9a343720c0fd8f0e3603fbc89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): spotify_player/src/state/queue.rs:325-333 | spotify_player/src/state/queue.rs:339-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/state/queue.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1371648f3d90f3e78d71cec02ffe45e77ccd0d008d42aa50ac300a0f364759b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): spotify_player/src/ui/utils.rs:95-102 | spotify_player/src/ui/utils.rs:117-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/utils.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"69620b29dedf9c665d8f818aa5b4161f3d982759f7bf1fcb0671e32fd256d0b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): spotify_player/src/event/mod.rs:616-621 | spotify_player/src/event/mod.rs:627-632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"91627d4c923f80381f52d2c2f626e756517953a9fa961bade1eaf4ad7459489f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): spotify_player/src/client/mod.rs:1675-1679 | spotify_player/src/client/mod.rs:1686-1690 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"345a97fe5e7aa51bce759a7f7d27dba748ece69060c2e6ca1cc5a0bf07d84874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): spotify_player/src/ui/page.rs:767-778 | spotify_player/src/ui/page.rs:856-868 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8b5cceb851e85427668a2113f22d16855b5475bc29fcb023d0d3040242c627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): spotify_player/src/ui/page.rs:147-158 | spotify_player/src/ui/page.rs:160-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff909643ad6c882da2e2393cc2555dd92b6539cf196f5bb7cf9278da7cd2730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): spotify_player/src/event/mod.rs:227-236 | spotify_player/src/event/mod.rs:432-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"82490d2975450fb321786172301bf9417e168b504c5f598bc93872ed30e5a108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): spotify_player/src/ui/page.rs:137-146 | spotify_player/src/ui/page.rs:150-159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea73cec238ba7171ac463f54947b7cc7818092f5537cb0c1118c8f795e2399f1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppConfig (LCOM4 4): AppConfig\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":"spotify_player/src/config/mod.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34627393b785d8c33772fe3652ad0d327da084ba5b6d5fee9148f1a4acf7bcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: spotify_player/src/client/mod.rs: spotify_player/src/client/mod.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in AppClient::handle_request at line 470. 3 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-21..2026-09-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-21 10:40:09 -04:00\u0027 --until=\u00272026-09-19 10:40:09 -04:00\u0027 --full-history --no-merges -- spotify_player/src/client/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/client/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fa83e002487d1eb130cfc43006dd06f862dc86af408d77aa1e8258ea1b7485"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: spotify_player/src/event/page.rs: spotify_player/src/event/page.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in spotify_player::event::page::handle_key_sequence_for_search_page at line 197. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-21..2026-09-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-21 10:40:09 -04:00\u0027 --until=\u00272026-09-19 10:40:09 -04:00\u0027 --full-history --no-merges -- spotify_player/src/event/page.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/event/page.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"509ec0513fab0594848c63cd417bae135ec184ac97643e420b7f44043a92c72e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: spotify_player/src/ui/page.rs: spotify_player/src/ui/page.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in spotify_player::ui::page::render_search_page at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-21..2026-09-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-21 10:40:09 -04:00\u0027 --until=\u00272026-09-19 10:40:09 -04:00\u0027 --full-history --no-merges -- spotify_player/src/ui/page.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/page.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"37398f072bdde9c0b806fb22563429bce3e9e220a5a6190935a38eed0cda35c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: spotify_player/src/ui/playback.rs: spotify_player/src/ui/playback.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in spotify_player::ui::playback::render_playback_window at line 19. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-21..2026-09-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-21 10:40:09 -04:00\u0027 --until=\u00272026-09-19 10:40:09 -04:00\u0027 --full-history --no-merges -- spotify_player/src/ui/playback.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/ui/playback.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"48abfb380d1c4b1313a5a96ce76fc1a695318720c72d2873371494c2b862c368"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: spotify_player/src/streaming.rs: spotify_player/src/streaming.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in spotify_player::streaming::new_connection at line 151. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-21..2026-09-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-21 10:40:09 -04:00\u0027 --until=\u00272026-09-19 10:40:09 -04:00\u0027 --full-history --no-merges -- spotify_player/src/streaming.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/streaming.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"526edbb5ad4bc9de42a2dddfdb990e94a80d6ccb234fa43806b172987f439727"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: spotify_player/src/client/spotify.rs, spotify_player/src/client/handlers.rs, spotify_player/src/state/player.rs, spotify_player/src/ui/cover_image.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dcd8a629e2a78bd7a0c80d9b717f35f048d70cbf47b2c772f5a2155571140e1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see if this can be fixed upstream \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":"spotify_player/src/main.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1365cab7cc004b3397b6fc24c32b147f7fe16f37cad8b8921da95e40b65353b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support actions for playlist folders \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":"spotify_player/src/command.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd20a75ef9d026aa8b063cc8cf11ea042559eba14365c5f01dac2ca6c6bf14c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support actions for playlist folders \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":"spotify_player/src/command.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"27757d5badafe531114c132b64c3b9e4a33859a4adf024fbe26cba74bcc3c4e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support actions for playlist folders \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":"spotify_player/src/event/mod.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9a5d52310db462b3fe74855851011a7c2d2e79b6de661fb497c1ac69b9e976"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove the below uses of \u0060maybe_async\u0060 crate once \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":"spotify_player/src/client/spotify.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7cd247624b93298ab06e1d5aae0a54b0ce024d7804ffad660aa5362b480325"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should use \u0060rspotify::category_playlists_manual\u0060 API instead of \u0060http_get\u0060 \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":"spotify_player/src/client/mod.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e805fb22d39bf7354538039245bd0f1a52cdbb90dcb2a0b452b6ce6c798d7b9"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Ambiguous overlap between search and retrieval. \u0027search_songs\u0027 implies finding metadata/links, while \u0027get_lyric\u0027 implies fetching the content. However, both accept a raw string query. It is unclear if \u0027get_lyric\u0027 performs a search internally and then fetches, or if it expects a specific format. More critically, \u0027retrieve_lyric\u0027 exists which takes a URL, suggesting a separation of concerns (Search -\u003E Retrieve) that \u0027get_lyric\u0027 bypasses or duplicates without clear distinction.: Remove \u0027get_lyric(query: str)\u0027 if \u0027search_songs\u0027 is the discovery method and \u0027retrieve_lyric(url: str)\u0027 is the content fetch method. If \u0027get_lyric\u0027 is intended as a convenience method that combines both, rename it to \u0027fetch_lyric_by_query\u0027 to distinguish it from the explicit two-step process, or remove it to enforce explicit separation of concerns. (signatures: Client.search_songs(query: str): Result | Client.get_lyric(query: str): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a4704ce96d2069a3fba53e1651ffd85b966b4c685eb6c6296c177519bf1b7b96"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060spotify_player\u0060 (16721 LoC, 135 public types across 8 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f3fd0ba47be05a9f4a1461c25b7e1c938701a8d51e2d9fa984ac40973ab921b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c6c4196780f474660ccef23174fbd6849dee0a428e5fb2309541bc54b08b51a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dee49343bf7aad88486132569ab0cb7f6fbc5f827fe4d1edd23ec71703e432d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a5b784e8622653f6cd86fee6eb9a1263511207158e26812ea72909576c5433b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c31dd2fa4f78f8c14898a35f3458c3e1b22b8dd337badcb88751e2f7121f06bf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53041d0452eb7a0f6d7363cca46cccfc47fe77904a465fee573e39f7c59d9395"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9000b61ca55f42ad66f77d8441dcd5e6b37d495ee1d9fdab9aeddb042d835155"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cc891bbf4601a4694860416f4f9e97adf387378c090ddbadb02e4c4774f316f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"577ace03d861de9266c15e9e2a4c9f9ed39044f4093e48b106a519567ba57645"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9efa111154b4814b24624208c9ca3563c356065b1bfd0d2fa0546fe2c4176aaa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06c12d0ba3041828f03e0445a6ae5cb7af094da2142b12df5cd411640b5ec41b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddf42304db3b18f9f1a7008e19ecc6c45f5d5ecf6950aac10216c11f515847c3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76646383059496a459320219f1a3597ceac020cc1c75c2c4bf9bfe8ba4f75e19"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a01ac41f45ca90bf9539d72a38932bc63a15feb3e48a9036d445d38f6a0a4a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2af489240184a6abbda74b76af559e7be8f3f699800b30321bfdbcb71c0cba4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a16f5e5f3002ca53ac635ee2d3fe6800539ab576c0682f7995257492f001515d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d9960601d9bc6a7a258c7400e7203762462ac5281321e9d4196659e8788cde9"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7573696c7617026fe16fde62b4c3d666f9846a9cbab5bbbc29621c3cbeb85deb"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"},"properties":{"dependency":{"package":"rsa","version":"0.9.10","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c87253cbc8a13dc1ad4e010195e2c681e33b98d2a471515dedebaceb1cf10c4a"},"properties":{"dependency":{"package":"daemonize","version":"0.5.0","advisory":"RUSTSEC-2025-0069","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c356dafc2d2f879539349393edf47ceccc3e0771bf15e4dae816abd8594fd25c"},"properties":{"dependency":{"package":"ttf-parser","version":"0.25.1","advisory":"RUSTSEC-2026-0192","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.38.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3035e85b1a9c0c33df37dc333f490439b3fa52aefda24a401e2e75a177cdf778"},"properties":{"dependency":{"package":"rustls","version":"0.23.44","advisory":"RUSTSEC-2026-0285","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57dff62848ab03d5201264fcc412df879d53a66dcc8ec3182a98d8c53722a404"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73d8baacfb045d186a9bde3aa41be7d4466794a4022a746b675dcdff34fbdc8a"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6997c6dbde81c5b5ad622933c0c74435a94259102d0246f5cd95b5dd408ab9c2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a977eb3566378c4d05da8a6ea2199ee701275b036ebaa612aff5a3f5bdc0842"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"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":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"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: \u0060start_app\u0060 is async and calls thread::sleep \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spotify_player/src/main.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f686aa904532c9bb9701b1e7e7b300522b2230ff1210191f543ef1e39db6f5"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":38,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}