aprs.me/lib/aprsme_web/live/map_live
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
..
bounds_manager.ex clean up warnings 2025-07-16 08:55:46 -05:00
components.ex Fix get_received_at to properly handle Packet structs 2025-10-25 18:43:14 -05:00
data_builder.ex Fix remaining nesting depth issues 2026-02-09 12:37:38 -06:00
display_manager.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
historical_loader.ex Reduce cyclomatic complexity in high-complexity functions 2026-02-09 13:15:17 -06:00
index.ex Fix credo warnings and start on design suggestions 2026-02-09 11:23:01 -06:00
map_helpers.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00
navigation.ex fix: Handle database ownership errors gracefully in LiveView tests 2025-07-30 14:29:35 -05:00
packet_batcher.ex updates with parser updates 2025-08-03 09:19:31 -05:00
packet_manager.ex clean up warnings 2025-07-16 08:55:46 -05:00
packet_processor.ex Fix remaining nesting depth issues 2026-02-09 12:37:38 -06:00
packet_store.ex performance improvements 2025-07-14 16:35:58 -05:00
packet_utils.ex Reduce cyclomatic complexity in multiple files 2026-02-09 13:13:15 -06:00
popup_component.ex integrate /:call to main page 2025-07-13 10:36:58 -05:00
rf_path.ex Fix aprs-is variables 2025-10-12 10:32:12 -05:00
url_params.ex fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
utils.ex major refactor for cleanup 2025-07-14 12:06:10 -05:00