Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/src/cluster2d.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
getQuaternionFromRPY 1 6 40 3
Cluster2D::Cluster2D 1 14 110 3
Cluster2D::traverse 6 21 157 1
Cluster2D::cluster 24 84 785 5
Cluster2D::filter 3 24 259 1
Cluster2D::classify 6 22 201 1
Cluster2D::obstacleToObject 17 72 681 2
Cluster2D::getObjects 9 31 233 5
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/src/debugger.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
Debugger::Debugger 1 5 30 1
Debugger::publishColoredPointCloud 10 68 398 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/src/feature_map.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
FeatureMapInterface::FeatureMapInterface 1 17 93 4
FeatureMap::FeatureMap 1 8 93 3
FeatureMap::initializeMap 1 1 20 1
FeatureMap::resetMap 2 10 81 1
FeatureMapWithIntensity::FeatureMapWithIntensity 1 10 125 3
FeatureMapWithIntensity::initializeMap 1 1 20 1
FeatureMapWithIntensity::resetMap 2 12 99 1
FeatureMapWithConstant::FeatureMapWithConstant 1 10 125 3
FeatureMapWithConstant::initializeMap 3 12 141 1
FeatureMapWithConstant::resetMap 2 10 81 1
FeatureMapWithConstantAndIntensity::FeatureMapWithConstantAndIntensity 1 13 157 3
FeatureMapWithConstantAndIntensity::initializeMap 3 12 141 1
FeatureMapWithConstantAndIntensity::resetMap 2 12 99 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/src/detector.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
LidarApolloInstanceSegmentation::LidarApolloInstanceSegmentation 3 58 545 1
LidarApolloInstanceSegmentation::transformCloud 3 29 241 3
LidarApolloInstanceSegmentation::detectDynamicObjects 2 31 303 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/src/node.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
LidarInstanceSegmentationNode::LidarInstanceSegmentationNode 1 14 115 1
LidarInstanceSegmentationNode::pointCloudCallback 1 8 47 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/src/feature_generator.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
normalizeIntensity 1 1 14 1
FeatureGenerator::FeatureGenerator 5 19 149 5
FeatureGenerator::generate 14 44 461 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/src/log_table.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
LogTable::LogTable 2 7 56 0
calcApproximateLog 2 8 68 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/lib/src/TrtNet.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
safeCudaMalloc 2 10 50 1
volume 1 4 40 1
getElementSize 5 16 68 1
Tn::trtNet::trtNet 2 26 198 1
Tn::trtNet::InitEngine 3 21 150 0
Tn::trtNet::doInference 2 15 116 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/lib/include/Utils.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
Tn::Profiler::printLayerTimes 2 9 75 1
Tn::Profiler::reportLayerTime 2 10 88 2
Tn::Logger::Logger 1 1 12 0
Tn::Logger::Logger 1 1 12 1
Tn::Logger::log 6 24 109 2
Tn::write 1 5 33 2
Tn::read 1 5 34 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/lib/include/TrtNet.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
Tn::trtNet::~trtNet 5 17 69 0
Tn::trtNet::saveEngine 3 14 110 1
Tn::trtNet::getInputSize 1 5 27 0
Tn::trtNet::getOutputSize 1 5 27 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/feature_generator.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
FeatureGenerator::~FeatureGenerator 1 1 5 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/feature_map.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/node.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
LidarInstanceSegmentationInterface::LidarInstanceSegmentationInterface 1 1 5 0
LidarInstanceSegmentationInterface::~LidarInstanceSegmentationInterface 1 1 5 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/log_table.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/util.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
F2I 1 4 33 3
Pc2Pixel 1 5 44 3
Pixel2Pc 1 5 43 3
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/debugger.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
Debugger::~Debugger 1 1 5 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/disjoint_set.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
DisjointSetMakeSet 1 5 20 1
DisjointSetFindRecursive 2 7 34 1
DisjointSetFind 3 11 59 1
DisjointSetMerge 1 3 23 2
DisjointSetUnion 4 19 108 2
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/detector.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
LidarApolloInstanceSegmentation::~LidarApolloInstanceSegmentation 1 1 5 0
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/perception/object_recognition/detection/lidar_apollo_instance_segmentation/include/lidar_apollo_instance_segmentation/cluster2d.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
Obstacle::Obstacle 1 5 58 0
Cluster2D::~Cluster2D 1 1 5 0
Cluster2D::Node::Node 1 11 38 0
Cluster2D::IsValidRowCol 2 1 22 2
Cluster2D::IsValidRow 2 1 17 1
Cluster2D::IsValidCol 2 1 17 1
Cluster2D::RowCol2Grid 1 1 18 2