aprs.me/lib/aprsme_web/channels
Graham McIntire 6653678860
Reduce cyclomatic complexity in high-complexity functions
Extract helper functions to reduce complexity in functions with
complexity 10-15:

- packet.ex: Extract add_symbol_data/2
  Moves symbol data extraction into separate function
  Reduces complexity from 10 to 9

- mobile_channel.ex: Extract bounds validation helpers
  Creates all_numeric?/4, valid_latitudes?/2, valid_longitudes?/2
  Moves complex boolean conditions into readable helper functions
  Reduces complexity from 15 to within limits

- historical_loader.ex: Extract packet_has_valid_coordinates?/1
  Moves coordinate validation logic with multiple conditions
  Reduces complexity from 15 to within limits

Fixes 3 more Credo cyclomatic complexity issues.
2026-02-09 13:15:17 -06:00
..
mobile_channel.ex Reduce cyclomatic complexity in high-complexity functions 2026-02-09 13:15:17 -06:00
mobile_user_socket.ex Add mobile API for iOS/Android real-time packet streaming 2025-10-25 11:25:18 -05:00