Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/planning/scenario_planning/lane_driving/motion_planning/surround_obstacle_checker/src/debug_marker.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
SurroundObstacleCheckerDebugNode::SurroundObstacleCheckerDebugNode 1 8 70 3
SurroundObstacleCheckerDebugNode::pushPose 2 11 55 2
SurroundObstacleCheckerDebugNode::pushObstaclePoint 2 11 55 2
SurroundObstacleCheckerDebugNode::publish 1 9 45 0
SurroundObstacleCheckerDebugNode::makeVisualizationMarker 4 80 730 0
SurroundObstacleCheckerDebugNode::makeStopReasonArray 3 20 125 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/planning/scenario_planning/lane_driving/motion_planning/surround_obstacle_checker/src/node.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
SurroundObstacleCheckerNode::SurroundObstacleCheckerNode 1 34 336 1
SurroundObstacleCheckerNode::pathCallback 9 49 351 1
SurroundObstacleCheckerNode::pointCloudCallback 1 5 20 1
SurroundObstacleCheckerNode::dynamicObjectCallback 1 5 20 1
SurroundObstacleCheckerNode::currentVelocityCallback 1 5 20 1
SurroundObstacleCheckerNode::insertStopVelocity 2 7 59 2
SurroundObstacleCheckerNode::getPose 2 17 119 3
SurroundObstacleCheckerNode::convertPose 2 21 169 5
SurroundObstacleCheckerNode::getClosestIdx 3 16 146 2
SurroundObstacleCheckerNode::getNearestObstacle 3 10 44 2
SurroundObstacleCheckerNode::getNearestObstacleByPointCloud 4 29 226 2
SurroundObstacleCheckerNode::getNearestObstacleByDynamicObject 5 24 176 2
SurroundObstacleCheckerNode::isObstacleFound 3 12 61 1
SurroundObstacleCheckerNode::isStopRequired 6 22 107 2
SurroundObstacleCheckerNode::checkStop 3 13 77 1
SurroundObstacleCheckerNode::createSelfPolygon 1 11 88 0
SurroundObstacleCheckerNode::createObjPolygon 1 20 249 2
SurroundObstacleCheckerNode::createObjPolygon 2 20 182 2
SurroundObstacleCheckerNode::makeStopReasonDiag 1 13 86 2
SurroundObstacleCheckerNode::jsonDumpsPose 1 10 98 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/planning/scenario_planning/lane_driving/motion_planning/surround_obstacle_checker/include/surround_obstacle_checker/node.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/planning/scenario_planning/lane_driving/motion_planning/surround_obstacle_checker/include/surround_obstacle_checker/debug_marker.hpp