Code Complexity Report

Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/point_cloud_mutation_spoofer.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
lidar_integration::PointCloudMutationSpooferNode::PointCloudMutationSpooferNode 2 34 277 6
lidar_integration::PointCloudMutationSpooferNode::init 1 5 26 0
lidar_integration::PointCloudMutationSpooferNode::wait_for_matched 3 14 84 2
lidar_integration::PointCloudMutationSpooferNode::start 1 5 31 0
lidar_integration::PointCloudMutationSpooferNode::stop 2 7 30 0
lidar_integration::PointCloudMutationSpooferNode::task_function 8 35 269 0
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/lidar_integration_listener_main.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
main 22 150 998 2
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/lidar_integration.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
lidar_integration::lidar_integration_test 7 41 298 6
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/vlp16_integration_spoofer.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
lidar_integration::Vlp16IntegrationSpoofer::Vlp16IntegrationSpoofer 1 8 36 3
lidar_integration::Vlp16IntegrationSpoofer::~Vlp16IntegrationSpoofer 1 4 11 0
lidar_integration::Vlp16IntegrationSpoofer::start 1 5 20 0
lidar_integration::Vlp16IntegrationSpoofer::stop 1 5 20 0
lidar_integration::Vlp16IntegrationSpoofer::SpoofTask::SpoofTask 1 20 138 4
lidar_integration::Vlp16IntegrationSpoofer::SpoofTask::task_function 4 28 159 0
lidar_integration::Vlp16IntegrationSpoofer::SpoofTask::uint16_to_bytes 1 5 48 2
lidar_integration::Vlp16IntegrationSpoofer::SpoofTask::bytes_to_uint16 1 4 36 1
lidar_integration::Vlp16IntegrationSpoofer::SpoofTask::update_packet_azimuth 2 10 78 2
lidar_integration::Vlp16IntegrationSpoofer::SpoofTask::init_packet 3 22 197 3
lidar_integration::Vlp16IntegrationSpoofer::SpoofTask::initialize_packets 3 51 260 1
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/point_cloud_mutation_spoofer_main.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
main 12 93 695 2
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/lidar_lc_integration_listener.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
lidar_integration::Lcm::Lcm 1 3 16 1
lidar_integration::Lcm::~Lcm 2 7 28 0
lidar_integration::Lcm::start 1 5 29 0
lidar_integration::Lcm::init 1 13 89 0
lidar_integration::Lcm::get_state 3 15 109 0
lidar_integration::Lcm::change_state 3 15 108 1
lidar_integration::Lcm::publish_actions 1 17 121 0
lidar_integration::Lcm::task_function 6 20 116 0
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/udp_sender.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
UdpSenderBase::UdpSenderBase 6 27 201 3
UdpSenderBase::send 1 4 29 2
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/lidar_integration_listener.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
lidar_integration::LidarIntegrationListener::init_statistics 1 9 64 1
lidar_integration::LidarIntegrationListener::callback 3 17 114 1
lidar_integration::LidarIntegrationListener::LidarIntegrationListener 1 25 138 5
lidar_integration::LidarIntegrationListener::~LidarIntegrationListener 1 3 7 0
lidar_integration::LidarIntegrationListener::has_valid_period 2 31 253 1
lidar_integration::LidarIntegrationListener::has_valid_size 2 29 253 2
lidar_integration::LidarIntegrationListener::is_success 3 12 61 2
lidar_integration::LidarIntegrationListener::console_statistics 3 12 142 2
lidar_integration::LidarIntegrationPclListener::LidarIntegrationPclListener 1 22 128 6
lidar_integration::LidarIntegrationPclListener::is_success 1 4 22 0
lidar_integration::LidarIntegrationBoxListener::LidarIntegrationBoxListener 1 21 121 6
lidar_integration::LidarIntegrationBoxListener::is_success 1 4 22 0
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/src/vlp16_integration_spoofer_main.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
main 25 147 1081 2
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/include/lidar_integration/lidar_integration_listener.hpp
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/include/lidar_integration/lidar_integration.hpp
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/include/lidar_integration/lidar_integration_common.hpp
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/include/lidar_integration/visibility_control.hpp
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/include/lidar_integration/point_cloud_mutation_spoofer.hpp
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/include/lidar_integration/udp_sender.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
UdpSender::send 1 4 32 1
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/include/lidar_integration/vlp16_integration_spoofer.hpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
lidar_integration::LIDAR_INTEGRATION_PUBLICVlp16IntegrationSpoofer::send_count 1 1 13 0
lidar_integration::LIDAR_INTEGRATION_PUBLICVlp16IntegrationSpoofer::SpoofTask::send_count 1 1 9 0
lidar_integration::LIDAR_INTEGRATION_PUBLICVlp16IntegrationSpoofer::SpoofTask::start 1 4 22 0
lidar_integration::LIDAR_INTEGRATION_PUBLICVlp16IntegrationSpoofer::SpoofTask::stop 2 6 21 0
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/lidar_integration/get_open_port.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
get_open_port_any 1 7 51 0
get_open_port.bad_port 2 2 17 1
get_open_port 4 11 66 1
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/lidar_integration/point_cloud_mutation_launch_description.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
get_point_cloud_mutation_launch_description 1 6 22 6
make_active_mutation_tests.test_exits 2 4 40 4
make_active_mutation_tests 1 4 16 0
make_post_shutdown_mutation_tests.assert_processes_exit_code 4 6 58 5
make_post_shutdown_mutation_tests.test_checker_outputs_success 2 3 26 3
make_post_shutdown_mutation_tests.test_test_nodes_exit_code_ok 1 2 25 4
make_post_shutdown_mutation_tests.test_checker_exit_code_ok 1 2 25 4
make_post_shutdown_mutation_tests.test_spoofer_exit_code_ok 1 2 27 4
make_post_shutdown_mutation_tests 1 9 30 0
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/lidar_integration/lidar_launch_description.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
get_lidar_launch_description 1 6 22 6
make_active_tests.test_checker_exits 2 3 26 3
make_active_tests 1 4 16 0
make_post_shutdown_tests.test_checker_outputs_success 2 3 26 3
make_post_shutdown_tests.test_checker_exit_code_ok 1 6 15 6
make_post_shutdown_tests 7 19 140 0
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/lidar_integration/__init__.py
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/lidar_integration/lidar_checker.py
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
make_lidar_checker 1 8 29 8
make_pcl_checker 1 7 27 7
make_box_checker 1 7 27 7
Source file: /home/runner/work/autoware-auto-metrics-dashboard/autoware-auto-metrics-dashboard/src/tools/lidar_integration/scripts/get_open_port.py