Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/launch/awapi_relay_container.launch.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
generate_launch_description 1 376 1461 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_v2x_aggregator.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::createKey 1 1 20 1
autoware_api::createKey 1 1 20 1
autoware_api::AutowareIvV2XAggregator::AutowareIvV2XAggregator 1 4 35 1
autoware_api::AutowareIvV2XAggregator::updateV2XCommand 5 24 154 1
autoware_api::AutowareIvV2XAggregator::updateV2XState 5 24 154 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_lane_change_state_publisher.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::AutowareIvLaneChangeStatePublisher::AutowareIvLaneChangeStatePublisher 1 7 53 1
autoware_api::AutowareIvLaneChangeStatePublisher::statePublisher 1 10 75 1
autoware_api::AutowareIvLaneChangeStatePublisher::getLaneChangeAvailableInfo 2 11 54 2
autoware_api::AutowareIvLaneChangeStatePublisher::getLaneChangeReadyInfo 2 10 54 2
autoware_api::AutowareIvLaneChangeStatePublisher::getCandidatePathInfo 2 11 53 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_obstacle_avoidance_state_publisher.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::AutowareIvObstacleAvoidanceStatePublisher::AutowareIvObstacleAvoidanceStatePublisher 1 8 53 1
autoware_api::AutowareIvObstacleAvoidanceStatePublisher::statePublisher 1 9 65 1
autoware_api::AutowareIvObstacleAvoidanceStatePublisher::getObstacleAvoidReadyInfo 2 11 54 2
autoware_api::AutowareIvObstacleAvoidanceStatePublisher::getCandidatePathInfo 2 11 53 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_autoware_state_publisher.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::AutowareIvAutowareStatePublisher::AutowareIvAutowareStatePublisher 1 8 58 1
autoware_api::AutowareIvAutowareStatePublisher::statePublisher 1 17 139 1
autoware_api::AutowareIvAutowareStatePublisher::getAutowareStateInfo 2 11 63 2
autoware_api::AutowareIvAutowareStatePublisher::getControlModeInfo 2 10 54 2
autoware_api::AutowareIvAutowareStatePublisher::getGateModeInfo 2 10 54 2
autoware_api::AutowareIvAutowareStatePublisher::getEmergencyStateInfo 4 13 93 2
autoware_api::AutowareIvAutowareStatePublisher::getCurrentMaxVelInfo 2 12 54 2
autoware_api::AutowareIvAutowareStatePublisher::getHazardStatusInfo 4 31 181 2
autoware_api::AutowareIvAutowareStatePublisher::getStopReasonInfo 2 10 53 2
autoware_api::AutowareIvAutowareStatePublisher::getDiagInfo 2 10 57 2
autoware_api::AutowareIvAutowareStatePublisher::getErrorDiagInfo 9 54 310 2
autoware_api::AutowareIvAutowareStatePublisher::getGlobalRptInfo 2 10 54 2
autoware_api::AutowareIvAutowareStatePublisher::isGoal 6 19 108 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_awiv_adapter_node.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
main 1 7 45 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_stop_reason_aggregator.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::AutowareIvStopReasonAggregator::AutowareIvStopReasonAggregator 1 8 53 3
autoware_api::AutowareIvStopReasonAggregator::updateStopReasonArray 1 8 39 2
autoware_api::AutowareIvStopReasonAggregator::applyUpdate 5 17 122 2
autoware_api::AutowareIvStopReasonAggregator::checkMatchingReason 4 13 70 2
autoware_api::AutowareIvStopReasonAggregator::applyTimeOut 5 17 118 0
autoware_api::AutowareIvStopReasonAggregator::appendStopReasonToArray 4 19 130 3
autoware_api::AutowareIvStopReasonAggregator::makeStopReasonArray 3 12 87 1
autoware_api::AutowareIvStopReasonAggregator::inputStopDistToStopReason 4 15 95 2
autoware_api::AutowareIvStopReasonAggregator::getNearStopReason 5 15 87 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_autoware_util.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::lowpass_filter 1 4 31 3
autoware_api::planning_util::calcClosestIndex 5 25 199 5
autoware_api::planning_util::normalizeEulerAngle 3 11 50 1
autoware_api::planning_util::calcArcLengthFromWayPoint 2 14 128 3
autoware_api::planning_util::calcDistanceAlongTrajectory 3 14 89 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_vehicle_state_publisher.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::AutowareIvVehicleStatePublisher::AutowareIvVehicleStatePublisher 1 8 60 1
autoware_api::AutowareIvVehicleStatePublisher::statePublisher 1 15 129 1
autoware_api::AutowareIvVehicleStatePublisher::initVehicleStatus 2 8 45 0
autoware_api::AutowareIvVehicleStatePublisher::getPoseInfo 2 15 105 2
autoware_api::AutowareIvVehicleStatePublisher::getSteerInfo 3 23 148 2
autoware_api::AutowareIvVehicleStatePublisher::getVehicleCmdInfo 2 13 86 2
autoware_api::AutowareIvVehicleStatePublisher::getTurnSignalInfo 2 10 54 2
autoware_api::AutowareIvVehicleStatePublisher::getTwistInfo 3 23 172 2
autoware_api::AutowareIvVehicleStatePublisher::getGearInfo 2 10 56 2
autoware_api::AutowareIvVehicleStatePublisher::getBatteryInfo 2 10 54 2
autoware_api::AutowareIvVehicleStatePublisher::getGpsInfo 2 12 76 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_pacmod_util.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::pacmod_util::getDoorStatusMsg 8 23 160 1
autoware_api::pacmod_util::createClearOverrideDoorCommand 1 9 49 1
autoware_api::pacmod_util::createDoorCommand 3 20 108 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_awiv_adapter_core.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::AutowareIvAdapter::AutowareIvAdapter 1 104 1305 0
autoware_api::AutowareIvAdapter::emergencyParamCheck 2 7 35 1
autoware_api::AutowareIvAdapter::timerCallback 3 15 89 0
autoware_api::AutowareIvAdapter::callbackSteer 1 5 22 1
autoware_api::AutowareIvAdapter::callbackVehicleCmd 1 5 22 1
autoware_api::AutowareIvAdapter::callbackTurnSignal 1 5 22 1
autoware_api::AutowareIvAdapter::callbackTwist 1 5 22 1
autoware_api::AutowareIvAdapter::callbackGear 1 5 22 1
autoware_api::AutowareIvAdapter::callbackBattery 1 5 22 1
autoware_api::AutowareIvAdapter::callbackNavSat 1 4 22 1
autoware_api::AutowareIvAdapter::getCurrentPose 2 16 147 0
autoware_api::AutowareIvAdapter::callbackAutowareState 1 5 22 1
autoware_api::AutowareIvAdapter::callbackControlMode 1 5 22 1
autoware_api::AutowareIvAdapter::callbackGateMode 1 5 22 1
autoware_api::AutowareIvAdapter::callbackEmergencyState 1 5 22 1
autoware_api::AutowareIvAdapter::callbackHazardStatus 1 5 22 1
autoware_api::AutowareIvAdapter::callbackStopReason 1 5 29 1
autoware_api::AutowareIvAdapter::callbackV2XCommand 1 5 27 1
autoware_api::AutowareIvAdapter::callbackV2XState 1 5 27 1
autoware_api::AutowareIvAdapter::callbackDiagnostics 1 5 22 1
autoware_api::AutowareIvAdapter::callbackGlobalRpt 1 4 22 1
autoware_api::AutowareIvAdapter::callbackLaneChangeAvailable 1 5 22 1
autoware_api::AutowareIvAdapter::callbackLaneChangeReady 1 5 22 1
autoware_api::AutowareIvAdapter::callbackLaneChangeCandidatePath 1 5 22 1
autoware_api::AutowareIvAdapter::callbackLaneObstacleAvoidReady 1 5 22 1
autoware_api::AutowareIvAdapter::callbackLaneObstacleAvoidCandidatePath 1 5 22 1
autoware_api::AutowareIvAdapter::callbackMaxVelocity 1 6 29 1
autoware_api::AutowareIvAdapter::callbackCurrentMaxVelocity 1 5 22 1
autoware_api::AutowareIvAdapter::callbackTemporaryStop 3 11 53 1
autoware_api::AutowareIvAdapter::callbackAutowareTrajectory 1 5 22 1
autoware_api::AutowareIvAdapter::callbackDoorControl 1 7 63 1
autoware_api::AutowareIvAdapter::callbackDoorStatus 1 5 22 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/src/awapi_max_velocity_publisher.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::AutowareIvMaxVelocityPublisher::AutowareIvMaxVelocityPublisher 1 7 39 2
autoware_api::AutowareIvMaxVelocityPublisher::statePublisher 2 10 45 1
autoware_api::AutowareIvMaxVelocityPublisher::calcMaxVelocity 6 15 88 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_lane_change_state_publisher.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_pacmod_util.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_stop_reason_aggregator.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_vehicle_state_publisher.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_v2x_aggregator.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_autoware_state_publisher.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_obstacle_avoidance_state_publisher.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/diagnostics_filter.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
diagnostics_filter::splitStringByLastSlash 2 8 47 1
diagnostics_filter::getAllParentNames 2 10 54 1
diagnostics_filter::isChild 3 13 63 2
diagnostics_filter::isLeaf 1 6 37 2
diagnostics_filter::createDiagNameSet 3 11 65 1
diagnostics_filter::extractLeafDiagnostics 3 12 71 1
diagnostics_filter::extractLeafChildrenDiagnostics 3 12 74 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_autoware_util.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware_api::waitForParam 4 19 147 3
autoware_api::planning_util::getPose 1 5 29 2
autoware_api::planning_util::calcDist2d 1 4 48 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_awiv_adapter_core.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/awapi/awapi_awiv_adapter/include/awapi_awiv_adapter/awapi_max_velocity_publisher.hpp