Code Complexity Report

Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/segmentation/euclidean_cluster/src/euclidean_cluster.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware::perception::segmentation::euclidean_cluster::PointXYZIR::PointXYZIR 1 5 60 1
autoware::perception::segmentation::euclidean_cluster::PointXYZIR::PointXYZIR 1 5 42 1
autoware::perception::segmentation::euclidean_cluster::PointXYZIR::PointXYZIR 1 9 45 4
autoware::perception::segmentation::euclidean_cluster::PointXYZIR::get_r 1 4 11 0
autoware::perception::segmentation::euclidean_cluster::PointXYZIR::get_point 1 4 11 0
autoware::perception::segmentation::euclidean_cluster::PointXYZIR::operator autoware_auto_perception_msgs :: msg :: PointXYZIF 1 9 55 0
autoware::perception::segmentation::euclidean_cluster::Config::Config 1 16 73 6
autoware::perception::segmentation::euclidean_cluster::Config::min_cluster_size 1 4 11 0
autoware::perception::segmentation::euclidean_cluster::Config::max_num_clusters 1 4 11 0
autoware::perception::segmentation::euclidean_cluster::Config::threshold 1 4 22 1
autoware::perception::segmentation::euclidean_cluster::Config::threshold 1 4 27 1
autoware::perception::segmentation::euclidean_cluster::Config::frame_id 1 4 11 0
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::EuclideanCluster 1 5 33 2
autoware::perception::segmentation::euclidean_cluster::Config::match_clusters_size 3 11 60 1
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::insert 1 4 21 1
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::cluster 1 6 31 1
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::throw_stored_error 3 10 38 0
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::get_error 1 4 11 0
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::get_config 1 4 11 0
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::cluster_impl 2 9 52 1
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::cluster 5 24 166 2
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::add_neighbors_to_last_cluster 3 16 135 2
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::add_point_to_last_cluster 2 10 100 2
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::get_point_from_last_cluster 2 9 78 2
autoware::perception::segmentation::euclidean_cluster::EuclideanCluster::last_cluster_size 2 12 70 1
autoware::perception::segmentation::euclidean_cluster::details::compute_bounding_boxes 7 33 202 3
autoware::perception::segmentation::euclidean_cluster::details::compute_lfit_bounding_boxes 5 21 154 2
autoware::perception::segmentation::euclidean_cluster::details::convert_to_detected_objects 1 10 78 1
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/segmentation/euclidean_cluster/include/euclidean_cluster/euclidean_cluster.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
autoware::perception::segmentation::euclidean_cluster::EUCLIDEAN_CLUSTER_PUBLICEuclideanCluster::insert 3 9 80 2
autoware::common::geometry::point_adapter::x_ 1 5 24 1
autoware::common::geometry::point_adapter::y_ 1 5 24 1
autoware::common::geometry::point_adapter::z_ 1 5 24 1
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/perception/segmentation/euclidean_cluster/include/euclidean_cluster/visibility_control.hpp