/rmf_battery_testing/src/rmf_battery/agv/BatterySystem.cpp |
|
24: |
No constructor. All member variables: 'capacity, charging_current, nominal_voltage' should be initialized in constructor |
INIT-06-1 |
|
34: |
Declare parameter 'nominal_voltage' as const |
CERT_C-DCL00-a-3 |
|
35: |
Declare parameter 'capacity' as const |
CERT_C-DCL00-a-3 |
|
36: |
Declare parameter 'charging_current' as const |
CERT_C-DCL00-a-3 |
|
38: |
Use parenthesis to clarify order ('<=' is the first operand of '||') |
CERT_C-EXP00-a-3 |
|
39: |
Use parenthesis to clarify order ('<=' is the second operand of '||') |
CERT_C-EXP00-a-3 |
|
40: |
Use parenthesis to clarify order ('<=' is the second operand of '||') |
CERT_C-EXP00-a-3 |
/rmf_battery_testing/src/rmf_battery/agv/MechanicalSystem.cpp |
|
24: |
No constructor. All member variables: 'friction_coefficient, mass, moment_of_inertia' should be initialized in constructor |
INIT-06-1 |
|
34: |
Declare parameter 'mass' as const |
CERT_C-DCL00-a-3 |
|
35: |
Declare parameter 'moment_of_inertia' as const |
CERT_C-DCL00-a-3 |
|
36: |
Declare parameter 'friction_coefficient' as const |
CERT_C-DCL00-a-3 |
|
38: |
Use parenthesis to clarify order ('<=' is the first operand of '||') |
CERT_C-EXP00-a-3 |
|
38: |
Use parenthesis to clarify order ('<=' is the second operand of '||') |
CERT_C-EXP00-a-3 |
|
38: |
Use parenthesis to clarify order ('<=' is the second operand of '||') |
CERT_C-EXP00-a-3 |
/rmf_battery_testing/src/rmf_battery/agv/PowerSystem.cpp |
|
24: |
No constructor. All member variables: 'nominal_power' should be initialized in constructor |
INIT-06-1 |
|
31: |
Declare parameter 'nominal_power' as const |
CERT_C-DCL00-a-3 |
/rmf_battery_testing/src/rmf_battery/agv/SimpleDevicePowerSink.cpp |
|
57: |
Parameter 'run_time' is not validated before use |
CERT_C-API00-a-3 |
/rmf_battery_testing/src/rmf_battery/agv/SimpleMotionPowerSink.cpp |
|
62: |
Parameter 'f' is not validated before use |
CERT_C-API00-a-3 |
|
63: |
Parameter 'm' is not validated before use |
CERT_C-API00-a-3 |
|
64: |
Parameter 'v' is not validated before use |
CERT_C-API00-a-3 |
|
65: |
Parameter 'dt' is not validated before use |
CERT_C-API00-a-3 |
|
89: |
Declare local variable 'start_time' as const |
CERT_C-DCL00-a-3 |
|
100: |
Floating point variables shall not be used as loop counters |
CERT_C-FLP30-a-2 |
|
105: |
Implicit conversion from integral to floating type in function's argument |
CERT_C-EXP39-a-3 |
|
105: |
Implicit conversion from integral to floating type in function's argument |
CERT_C-EXP39-a-3 |
|
105: |
Result of "[]" passed to library function "pow" without being checked |
CERT_C-MEM07-a-2 |
|
105: |
Result of "[]" passed to library function "pow" without being checked |
CERT_C-MEM04-a-2 |
|
105: |
Result of "[]" passed to library function "pow" without being checked |
CERT_C-MEM07-a-2 |
|
105: |
Result of "[]" passed to library function "pow" without being checked |
CERT_C-MEM04-a-2 |
|
105: |
Result of "[]" passed to library function "sqrt" without being checked |
CERT_C-MEM07-a-2 |
|
105: |
Result of "[]" passed to library function "sqrt" without being checked |
CERT_C-MEM04-a-2 |
|
106: |
Result of "[]" passed to library function "abs" without being checked |
CERT_C-MEM07-a-2 |
|
106: |
Result of "[]" passed to library function "abs" without being checked |
CERT_C-MEM04-a-2 |
|
109: |
Implicit conversion from integral to floating type in function's argument |
CERT_C-EXP39-a-3 |
|
109: |
Implicit conversion from integral to floating type in function's argument |
CERT_C-EXP39-a-3 |
|
109: |
Result of "[]" passed to library function "pow" without being checked |
CERT_C-MEM07-a-2 |
|
109: |
Result of "[]" passed to library function "pow" without being checked |
CERT_C-MEM04-a-2 |
|
109: |
Result of "[]" passed to library function "pow" without being checked |
CERT_C-MEM07-a-2 |
|
109: |
Result of "[]" passed to library function "pow" without being checked |
CERT_C-MEM04-a-2 |
|
109: |
Result of "[]" passed to library function "sqrt" without being checked |
CERT_C-MEM07-a-2 |
|
109: |
Result of "[]" passed to library function "sqrt" without being checked |
CERT_C-MEM04-a-2 |
|
110: |
Result of "[]" passed to library function "abs" without being checked |
CERT_C-MEM07-a-2 |
|
110: |
Result of "[]" passed to library function "abs" without being checked |
CERT_C-MEM04-a-2 |