aprs.me/lib/aprsme_web/controllers/api/v1
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
..
json Reduce cyclomatic complexity in callsign_json.ex 2026-02-09 12:39:22 -06:00
callsign_controller.ex refactor: Remove CachedQueries and rename optimized functions 2025-07-30 13:17:56 -05:00
fallback_controller.ex en español 2025-07-05 15:51:39 -05:00