Extracts nested logic into helper functions to comply with Credo requirements (max nesting depth 2): - data_builder.ex: Extract historical packet data building (build_historical_packet_data/2) Reduces depth 3 -> depth 2 - streaming_packets_pubsub.ex: Extract subscriber filtering and messaging (send_to_matching_subscribers/5) Removes conditional check by sending cleanup message unconditionally (GenServer handles empty list gracefully) Reduces depth 3 -> depth 2 - historical_loader.ex: Extract RF path station loading logic (maybe_load_rf_path_stations/3) Reduces depth 3 -> depth 2 - packet_processor.ex: Extract marker popup logic (send_marker_with_popup_check/2) Reduces depth 3 -> depth 2 Fixes all 4 remaining Credo nesting depth issues. All nesting depth issues now resolved (0 remaining). |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| aprs_symbol.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| router.ex | ||
| telemetry.ex | ||
| time_helpers.ex | ||
| time_utils.ex | ||
| user_auth.ex | ||
| weather_units.ex | ||