towerops/lib
Graham McIntire fb4da2df6d
Refactor handle_event SNMP test to reduce complexity
Extracted SNMP configuration extraction and connection testing
into separate helper functions, reducing cyclomatic complexity
from 11 to ~5.

- extract_snmp_config/1: Consolidates form data and params
- normalize_port/1: Handles port type conversion
- test_snmp_connection/1: Performs test and formats result

This makes the handle_event callback simpler and each concern
easier to test independently.
2026-01-06 13:11:07 -06:00
..
towerops Refactor complex functions to reduce cyclomatic complexity 2026-01-06 13:09:51 -06:00
towerops_web Refactor handle_event SNMP test to reduce complexity 2026-01-06 13:11:07 -06:00
towerops.ex init 2025-12-21 11:10:43 -06:00
towerops_web.ex format 2025-12-21 11:31:08 -06:00