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). |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| aprs_web.ex | ||
| aprsme.ex | ||