Extracts nested logic into helper functions to comply with Credo requirements (max nesting depth 2): - data_builder.ex: Extract historical packet distance filtering (filter_historical_by_distance/3, packet_far_enough_from_most_recent?/3) Reduces depth 5 -> depth 3 - streaming_packets_pubsub.ex: Extract subscriber message sending (send_to_subscriber_if_alive/3) Reduces depth 4 -> depth 2 - aprs_symbol.ex: Extract symbol code calculation (get_symbol_code_ord/1) Reduces depth 3 -> depth 2 - mobile_channel.ex: Extract subscription bounds update (update_subscription_bounds/2) Reduces depth 3 -> depth 2 - core_components.ex: Extract SVG tag class insertion (add_class_to_svg_tag/2) Reduces depth 3 -> depth 2 - info_live/show.ex: Extract row mapping for database queries (map_digipeater_row/2, map_station_heard_row/2) Reduces depth 3 -> depth 2 (2 instances) Also updates .sobelow-skips with new line numbers from code changes. Fixes 7 Credo nesting depth issues (2 remaining) |
||
|---|---|---|
| .. | ||
| layouts | ||
| core_components.ex | ||
| info_map_component.ex | ||
| layouts.ex | ||