more code cleanup

This commit is contained in:
2025-06-11 22:14:26 +00:00
parent 3376e8953f
commit cae951806c
2 changed files with 26 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
# Unused Code Analysis Report
Generated: Wed 11 Jun 2025 10:11:28 PM UTC
Generated: Wed 11 Jun 2025 10:13:09 PM UTC
## Summary
- Files analyzed: 26
@@ -23,11 +23,11 @@ Generated: Wed 11 Jun 2025 10:11:28 PM UTC
- `get_rtc_info()`
### watermaker_plc_api/utils/error_handler.py
- `method_not_allowed()`
- `service_unavailable()`
- `method_not_allowed()`
- `bad_request()`
- `internal_error()`
- `not_found()`
- `internal_error()`
## Flask Routes (Preserved)
- `cancel_dts_operation()`

View File

@@ -14,45 +14,45 @@
"get_rtc_info"
],
"/home/paulg/FCI/api/watermaker_plc_api/utils/error_handler.py": [
"method_not_allowed",
"service_unavailable",
"method_not_allowed",
"bad_request",
"internal_error",
"not_found"
"not_found",
"internal_error"
]
},
"unused_variables": {},
"flask_routes": [
"get_sensors",
"get_outputs",
"get_dts_status_legacy",
"cancel_dts_operation",
"get_dts_timers",
"stop_watermaker",
"get_r1000_monitor_status",
"get_fwf_timers",
"get_timers",
"get_selected_data",
"get_r1000_monitor_status",
"get_sensors",
"get_dts_status_legacy",
"stop_watermaker",
"start_dts",
"get_water_counters",
"cancel_dts_operation",
"get_config",
"get_sensors_by_category",
"get_runtime",
"get_active_outputs",
"write_register",
"get_errors",
"get_dts_status",
"skip_step",
"get_dts_timers",
"get_status",
"get_errors",
"cancel_dts_task_legacy",
"get_all_data",
"get_water_counters",
"get_status",
"get_timers",
"get_runtime",
"get_current_step_progress",
"get_sensors_by_category",
"write_register",
"get_rtc",
"start_dts",
"get_dts_status",
"get_fwf_timers"
"get_current_step_progress",
"get_outputs"
],
"entry_points": [
"parse_args",
"create_app",
"main"
"main",
"parse_args"
],
"used_names_count": 476,
"total_files_analyzed": 26