Refactor decode_path_element from 217 lines with complexity 72 to clean helpers: - Add @q_constructs module attribute with all 39 Q-construct descriptions - Extract decode_wide_element/1 for WIDE digipeater patterns - Extract decode_trace_element/1 for TRACE digipeater patterns - Extract decode_relay_element/1 for RELAY digipeater patterns - Extract decode_tcpip_element/1 for TCPIP gateway patterns - Main function now has simple map lookup and pattern-based routing Reduced from 217 lines to 66 lines while improving readability and maintainability. Co-Authored-By: Graham <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| aprs_web.ex | ||
| aprsme.ex | ||