Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/src/interpolate.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::LinearInterpolate::interpolate 17 69 573 4
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/src/accel_map.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::AccelMap::readAccelMapFromCSV 7 32 280 1
raw_vehicle_cmd_converter::AccelMap::getThrottle 6 33 200 3
raw_vehicle_cmd_converter::AccelMap::getAcceleration 6 34 224 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/src/pid.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::PIDController::calculatePID 4 37 289 6
raw_vehicle_cmd_converter::PIDController::setGains 1 6 30 3
raw_vehicle_cmd_converter::PIDController::setLimits 1 13 70 8
raw_vehicle_cmd_converter::PIDController::reset 1 6 19 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/src/steer_converter.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::SteerConverter::setFFMap 2 8 41 1
raw_vehicle_cmd_converter::SteerConverter::setFBGains 1 5 33 3
raw_vehicle_cmd_converter::SteerConverter::setFBLimits 1 9 66 8
raw_vehicle_cmd_converter::SteerConverter::calcFFSteer 2 12 61 2
raw_vehicle_cmd_converter::SteerConverter::calcFBSteer 4 20 135 7
raw_vehicle_cmd_converter::SteerConverter::readSteerMapFromCSV 7 41 343 5
raw_vehicle_cmd_converter::SteerConverter::calcFFMap 6 32 208 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/src/csv_loader.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::CSVLoader::CSVLoader 1 1 15 1
raw_vehicle_cmd_converter::CSVLoader::readCSV 5 20 133 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/src/node.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::RawVehicleCommandConverterNode::RawVehicleCommandConverterNode 7 72 601 1
raw_vehicle_cmd_converter::RawVehicleCommandConverterNode::publishActuationCmd 11 43 259 0
raw_vehicle_cmd_converter::RawVehicleCommandConverterNode::calculateSteer 5 44 414 3
raw_vehicle_cmd_converter::RawVehicleCommandConverterNode::calculateAccelMap 2 12 78 3
raw_vehicle_cmd_converter::RawVehicleCommandConverterNode::calculateBrakeMap 1 8 58 2
raw_vehicle_cmd_converter::RawVehicleCommandConverterNode::onSteering 1 4 16 1
raw_vehicle_cmd_converter::RawVehicleCommandConverterNode::onVelocity 1 4 16 1
raw_vehicle_cmd_converter::RawVehicleCommandConverterNode::onControlCmd 1 5 20 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/src/brake_map.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::BrakeMap::readBrakeMapFromCSV 7 34 303 1
raw_vehicle_cmd_converter::BrakeMap::getBrake 6 40 247 3
raw_vehicle_cmd_converter::BrakeMap::getAcceleration 6 34 224 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/scripts/plot_accel_brake_map.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
main 11 46 357 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/include/raw_vehicle_cmd_converter/node.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::DebugValues::getValues 1 1 9 0
raw_vehicle_cmd_converter::DebugValues::setValues 1 1 25 2
raw_vehicle_cmd_converter::DebugValues::setValues 1 1 19 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/include/raw_vehicle_cmd_converter/steer_converter.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::SteerConverter::setDecay 1 1 15 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/include/raw_vehicle_cmd_converter/brake_map.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::BrakeMap::getVelIdx 1 1 8 0
raw_vehicle_cmd_converter::BrakeMap::getBrakeIdx 1 1 8 0
raw_vehicle_cmd_converter::BrakeMap::getBrakeMap 1 1 8 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/include/raw_vehicle_cmd_converter/accel_map.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::AccelMap::getVelIdx 1 1 8 0
raw_vehicle_cmd_converter::AccelMap::getThrottleIdx 1 1 8 0
raw_vehicle_cmd_converter::AccelMap::getAccelMap 1 1 8 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/include/raw_vehicle_cmd_converter/csv_loader.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/include/raw_vehicle_cmd_converter/interpolate.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/vehicle/raw_vehicle_cmd_converter/include/raw_vehicle_cmd_converter/pid.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
raw_vehicle_cmd_converter::PIDController::setDecay 1 1 12 1