Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/vendor/rosbridge_suite/rosbridge_server/src/rosbridge_server/client_mananger.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
__init__ 1 15 79 2
__publish 1 5 50 1
add_client 1 7 52 3
remove_client 1 4 29 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/vendor/rosbridge_suite/rosbridge_server/src/rosbridge_server/__init__.py
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/vendor/rosbridge_suite/rosbridge_server/src/rosbridge_server/websocket_handler.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
_log_exception 1 3 35 0
log_exceptions.wrapper 2 6 27 2
log_exceptions 1 4 15 1
__init__ 1 7 46 2
finish 2 6 40 1
push 1 4 27 2
run 5 10 65 1
open 3 30 176 1
on_message 2 4 31 2
on_close 2 9 56 1
send_message 3 10 62 2
prewrite_message 8 29 127 3
check_origin 1 2 9 2
get_compression_options 2 5 21 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/vendor/rosbridge_suite/rosbridge_server/scripts/rosbridge_websocket.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
start_hook 1 2 13 0
shutdown_hook 1 2 13 0
__init__ 47 195 1469 1
main 3 14 87 1