aprs.me/lib/aprsme_web/controllers
Graham McIntire c8bd85565c
Reduce cyclomatic complexity in callsign_json.ex
Extract device attribute addition into helper function to reduce
cyclomatic complexity from 10 to 9:

- callsign_json.ex: Extract add_device_attributes/2 helper
  Moves device.model, device.vendor, device.contact, and device.class
  attribute additions into separate function

This reduces complexity by isolating the && operators in a dedicated
helper function.

Fixes 1 Credo cyclomatic complexity issue (10 remaining).
2026-02-09 12:39:22 -06:00
..
api/v1 Reduce cyclomatic complexity in callsign_json.ex 2026-02-09 12:39:22 -06:00
page_html refactor to use external parser 2025-06-24 14:22:09 -05:00
error_html.ex Implement critical performance optimizations and error handling 2025-07-18 18:19:49 -05:00
error_json.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
info_controller.ex weather fixing 2025-06-25 11:40:04 -05:00
page_controller.ex Fix credo warnings and start on design suggestions 2026-02-09 11:23:01 -06:00
page_html.ex refactor to use external parser 2025-06-24 14:22:09 -05:00
user_session_controller.ex refactor to use external parser 2025-06-24 14:22:09 -05:00