Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/launch/laserscan_to_occupancy_grid_map.launch.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
generate_launch_description.add_launch_arg 1 2 20 2
generate_launch_description 1 100 472 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/src/updater/occupancy_grid_map_binary_bayes_filter_updater.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
costmap_2d::OccupancyGridMapBBFUpdater::applyBBF 4 24 293 2
costmap_2d::OccupancyGridMapBBFUpdater::update 3 11 100 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/src/occupancy_grid_map.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
costmap_2d::OccupancyGridMap::OccupancyGridMap 1 5 41 3
costmap_2d::OccupancyGridMap::worldToMap 5 12 98 4
costmap_2d::OccupancyGridMap::updateOrigin 1 27 295 2
costmap_2d::OccupancyGridMap::raytrace2D 3 15 119 2
costmap_2d::OccupancyGridMap::updateFreespaceCells 1 4 20 1
costmap_2d::OccupancyGridMap::updateOccupiedCells 1 4 20 1
costmap_2d::OccupancyGridMap::updateCellsByPointCloud 3 16 116 2
costmap_2d::OccupancyGridMap::raytraceFreespace 8 53 382 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/src/laserscan_to_occupancy_grid_map_node.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
transformPointcloud 1 13 133 4
cropPointcloudByHeight 7 36 333 6
getPose 1 11 83 3
occupancy_grid_map::OccupancyGridMapNode::OccupancyGridMapNode 3 37 345 1
occupancy_grid_map::OccupancyGridMapNode::convertLaserscanToPointCLoud2 4 20 136 1
occupancy_grid_map::OccupancyGridMapNode::onLaserscanPointCloud2WithObstacleAndRaw 7 50 349 3
occupancy_grid_map::OccupancyGridMapNode::OccupancyGridMapToMsgPtr 2 24 246 4
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/include/laserscan_to_occupancy_grid_map/updater/occupancy_grid_map_updater_interface.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
costmap_2d::OccupancyGridMapUpdaterInterface::OccupancyGridMapUpdaterInterface 1 6 39 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/include/laserscan_to_occupancy_grid_map/updater/occupancy_grid_map_binary_bayes_filter_updater.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
costmap_2d::OccupancyGridMapBBFUpdater::OccupancyGridMapBBFUpdater 1 10 101 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/include/laserscan_to_occupancy_grid_map/laserscan_to_occupancy_grid_map_node.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
occupancy_grid_map::OccupancyGridMapNode::onDummyPointCloud2 1 8 54 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/include/laserscan_to_occupancy_grid_map/cost_value.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
occupancy_cost_value::CostTranslationTable::CostTranslationTable 2 7 80 0
occupancy_cost_value::CostTranslationTable::operator [ ] 1 1 17 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map/include/laserscan_to_occupancy_grid_map/occupancy_grid_map.hpp