Code Complexity Report

Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/common/math/kalman_filter/src/time_delay_kalman_filter.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
TimeDelayKalmanFilter::TimeDelayKalmanFilter 1 1 7 0
TimeDelayKalmanFilter::init 2 13 120 3
TimeDelayKalmanFilter::getLatestX 1 1 27 1
TimeDelayKalmanFilter::getLatestP 1 1 27 1
TimeDelayKalmanFilter::predictWithDelay 1 16 241 3
TimeDelayKalmanFilter::updateWithDelay 3 16 117 4
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/common/math/kalman_filter/src/kalman_filter.cpp
Function name Cyclomatic complexity (20) LOC (200) Token count Parameter count (6)
KalmanFilter::KalmanFilter 1 1 7 0
KalmanFilter::KalmanFilter 1 7 72 7
KalmanFilter::~KalmanFilter 1 1 7 0
KalmanFilter::init 15 20 205 7
KalmanFilter::init 5 9 70 2
KalmanFilter::setA 1 1 17 1
KalmanFilter::setB 1 1 17 1
KalmanFilter::setC 1 1 17 1
KalmanFilter::setQ 1 1 17 1
KalmanFilter::setR 1 1 17 1
KalmanFilter::getX 1 1 16 1
KalmanFilter::getP 1 1 16 1
KalmanFilter::getXelement 1 1 16 1
KalmanFilter::predict 5 12 103 3
KalmanFilter::predict 1 4 30 2
KalmanFilter::predict 3 10 89 4
KalmanFilter::predict 1 1 25 1
KalmanFilter::update 8 18 197 4
KalmanFilter::update 2 9 68 3
KalmanFilter::update 1 1 23 1
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/common/math/kalman_filter/include/kalman_filter/kalman_filter.hpp
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/common/math/kalman_filter/include/kalman_filter/time_delay_kalman_filter.hpp