Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/external_cmd_selector/launch/external_cmd_selector.launch.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
_create_mapping_tuple 1 2 16 1
generate_launch_description 1 84 310 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/external_cmd_selector/src/external_cmd_selector/external_cmd_selector_node.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
ExternalCmdSelector::ExternalCmdSelector 3 68 609 1
ExternalCmdSelector::onLocalControlCmd 2 7 34 1
ExternalCmdSelector::onLocalShiftCmd 2 7 37 1
ExternalCmdSelector::onLocalTurnSignalCmd 2 7 37 1
ExternalCmdSelector::onLocalHeartbeat 2 7 37 1
ExternalCmdSelector::onRemoteControlCmd 2 7 34 1
ExternalCmdSelector::onRemoteShiftCmd 2 7 37 1
ExternalCmdSelector::onRemoteTurnSignalCmd 2 7 37 1
ExternalCmdSelector::onRemoteHeartbeat 2 7 37 1
ExternalCmdSelector::onSelectExternalCommandService 1 9 47 2
ExternalCmdSelector::onTimer 1 1 14 0
ExternalCmdSelector::convert 1 9 47 1
ExternalCmdSelector::convert 1 9 45 1
ExternalCmdSelector::convert 1 5 14 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/external_cmd_selector/include/external_cmd_selector/external_cmd_selector_node.hpp