Code Complexity Report

Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/filters/voxel_grid/src/voxel_grid.cpp
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/filters/voxel_grid/src/config.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware::perception::filters::voxel_grid::Config::check_basis_direction 4 20 139 3
autoware::perception::filters::voxel_grid::Config::Config 5 35 277 4
autoware::perception::filters::voxel_grid::Config::get_min_point 1 4 11 0
autoware::perception::filters::voxel_grid::Config::get_max_point 1 4 11 0
autoware::perception::filters::voxel_grid::Config::get_voxel_size 1 4 11 0
autoware::perception::filters::voxel_grid::Config::get_capacity 1 4 11 0
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/filters/voxel_grid/src/voxels.cpp
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/filters/voxel_grid/include/voxel_grid/voxel.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::Voxel 1 4 10 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::Voxel 1 5 19 1
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::operator bool 1 4 12 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::operator PointT 1 4 12 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::occupied 1 4 13 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::clear 1 4 9 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::get 2 7 26 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::count 1 4 9 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::set_count 1 4 12 1
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxel::set_centroid 1 4 13 1
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/filters/voxel_grid/include/voxel_grid/config.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware::perception::filters::voxel_grid::clamp 3 4 37 3
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICConfig::index 1 19 166 1
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICConfig::centroid 1 15 154 1
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/filters/voxel_grid/include/voxel_grid/voxel_grid.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::VoxelGrid 1 9 55 1
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::insert 5 21 150 1
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::insert 2 6 34 2
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::new_voxels 1 11 41 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::begin 1 4 11 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::cbegin 1 4 13 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::end 1 4 11 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::cend 1 4 13 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::clear 1 7 36 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::size 1 4 13 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::capacity 1 4 13 0
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICVoxelGrid::empty 1 4 13 0
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/filters/voxel_grid/include/voxel_grid/visibility_control.hpp
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/filters/voxel_grid/include/voxel_grid/voxels.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware::perception::filters::voxel_grid::operator + 1 8 47 2
autoware::perception::filters::voxel_grid::operator * 1 8 43 2
autoware::perception::filters::voxel_grid::operator + 1 11 55 2
autoware::perception::filters::voxel_grid::operator * 1 11 50 2
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICCentroidVoxel::add_observation 1 8 103 1
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICCentroidVoxel::configure 1 5 23 2
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICApproximateVoxel::add_observation 1 5 33 1
autoware::perception::filters::voxel_grid::VOXEL_GRID_PUBLICApproximateVoxel::configure 1 4 31 2