Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/external_cmd_converter/launch/external_cmd_converter.launch.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
_create_mapping_tuple 1 2 14 1
generate_launch_description 1 105 326 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/external_cmd_converter/src/node.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
external_cmd_converter::ExternalCmdConverterNode::ExternalCmdConverterNode 3 50 512 1
external_cmd_converter::ExternalCmdConverterNode::onTimer 1 1 13 0
external_cmd_converter::ExternalCmdConverterNode::onVelocity 1 5 34 1
external_cmd_converter::ExternalCmdConverterNode::onShiftCmd 1 5 20 1
external_cmd_converter::ExternalCmdConverterNode::onEmergencyStopHeartbeat 1 6 45 1
external_cmd_converter::ExternalCmdConverterNode::onExternalCmd 8 38 313 1
external_cmd_converter::ExternalCmdConverterNode::calculateAcc 2 14 89 2
external_cmd_converter::ExternalCmdConverterNode::getShiftVelocitySign 4 15 85 1
external_cmd_converter::ExternalCmdConverterNode::checkTopicStatus 3 16 99 1
external_cmd_converter::ExternalCmdConverterNode::onGateMode 1 5 20 1
external_cmd_converter::ExternalCmdConverterNode::checkEmergencyStopTopicTimeout 4 15 62 0
external_cmd_converter::ExternalCmdConverterNode::checkRemoteTopicRate 6 22 95 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/external_cmd_converter/include/external_cmd_converter/node.hpp