Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/system/autoware_error_monitor/src/autoware_error_monitor_core.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
split |
|
2 |
10 |
63 |
2 |
str2level |
|
4 |
15 |
115 |
1 |
isOverLevel |
|
2 |
7 |
35 |
2 |
getTargetDiagnosticsRef |
|
5 |
18 |
98 |
2 |
convertHazardStatusToDiagnosticArray |
|
5 |
25 |
197 |
2 |
getErrorModules |
|
7 |
22 |
133 |
2 |
createTimeoutHazardStatus |
|
1 |
13 |
79 |
0 |
isInNoFaultCondition |
|
9 |
22 |
141 |
2 |
AutowareErrorMonitor::AutowareErrorMonitor |
|
1 |
51 |
553 |
0 |
AutowareErrorMonitor::loadRequiredModules |
|
4 |
39 |
371 |
1 |
AutowareErrorMonitor::onDiagArray |
|
4 |
16 |
118 |
1 |
AutowareErrorMonitor::onCurrentGateMode |
|
1 |
5 |
20 |
1 |
AutowareErrorMonitor::onAutowareState |
|
1 |
5 |
20 |
1 |
AutowareErrorMonitor::onControlMode |
|
1 |
5 |
20 |
1 |
AutowareErrorMonitor::isDataReady |
|
5 |
20 |
114 |
0 |
AutowareErrorMonitor::onTimer |
|
4 |
17 |
105 |
0 |
AutowareErrorMonitor::getLatestDiag |
|
3 |
12 |
64 |
1 |
AutowareErrorMonitor::getHazardLevel |
|
4 |
15 |
82 |
2 |
AutowareErrorMonitor::appendHazardDiag |
|
3 |
15 |
110 |
3 |
AutowareErrorMonitor::judgeHazardStatus |
|
6 |
37 |
225 |
0 |
AutowareErrorMonitor::updateHazardStatus |
|
4 |
21 |
120 |
0 |
AutowareErrorMonitor::canAutoRecovery |
|
4 |
13 |
68 |
0 |
AutowareErrorMonitor::isEmergencyHoldingRequired |
|
7 |
22 |
115 |
0 |
AutowareErrorMonitor::publishHazardStatus |
|
1 |
10 |
65 |
1 |
AutowareErrorMonitor::onClearEmergencyService |
|
1 |
10 |
58 |
2 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/system/autoware_error_monitor/src/autoware_error_monitor_node.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
main |
|
1 |
8 |
48 |
2 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/system/autoware_error_monitor/include/autoware_error_monitor/autoware_error_monitor_core.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/system/autoware_error_monitor/include/autoware_error_monitor/diagnostics_filter.hpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
diagnostics_filter::splitStringByLastSlash |
|
2 |
8 |
47 |
1 |
diagnostics_filter::isChild |
|
3 |
13 |
63 |
2 |
diagnostics_filter::isLeaf |
|
1 |
6 |
37 |
2 |
diagnostics_filter::createDiagNameSet |
|
2 |
9 |
54 |
1 |
diagnostics_filter::extractLeafDiagnostics |
|
3 |
12 |
71 |
1 |
diagnostics_filter::extractLeafChildrenDiagnostics |
|
3 |
12 |
74 |
2 |