rep_header_logo.png rep_header_3.png
User configuration:  Recommended Rules with Security
2022-07-08T15:34:30+08:00
STATIC ANALYSIS

Recommended Tasks to Accomplish Today:  50
(push the "Import My Recommended Tasks" button to import the tasks into your workspace)
Tasks: 382 total,  0 suppressed
Goal: accomplish all tasks

 
All Recommended Tasks by Category
by:   Category   Severity   
  [24]   CERT-MSC41_C (RULE) Never hard code sensitive information (CERT_C-MSC41) 
        [24]   Do not hard code string literals (CERT_C-MSC41-a-1) 
  [4]   CERT-POS54_C (RULE) Detect and handle POSIX library errors (CERT_C-POS54) 
        [4]   The value returned by a function having non-void return type shall be used (CERT_C-POS54-a-1) 
  [3]   CERT-ERR33_C (RULE) Detect and handle standard library errors (CERT_C-ERR33) 
        [3]   The value returned by a function having non-void return type shall be used (CERT_C-ERR33-a-1) 
  [18]   CERT-ERR59_CPP (RULE) Do not throw an exception across execution boundaries (CERT_CPP-ERR59) 
        [18]   Do not throw an exception across execution boundaries (CERT_CPP-ERR59-a-1) 
  [1]   CERT-EXP60_CPP (RULE) Do not pass a nonstandard-layout type object across execution boundaries (CERT_CPP-EXP60) 
        [1]   Do not pass a nonstandard-layout type object across execution boundaries (CERT_CPP-EXP60-a-1) 

msi3  Recommended Tasks to Accomplish Today :  50 Back to Top    
/rmf_visualization_schedule_testing/src/rmf_visualization_schedule/ScheduleDataNode.cpp
165:  Do not pass the nonstandard-layout type object to the 'convert' function defined in the library that may not be ABI-compatible CERT_CPP-EXP60-a-1
180:  Unused function's "copy" return value CERT_C-POS54-a-1
/rmf_visualization_schedule_testing/src/rmf_visualization_schedule/TrajectoryServer.cpp
60:  The string literal is embedded directly in the code: x CERT_C-MSC41-a-1
92:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
99:  Unused function's "erase" return value CERT_C-ERR33-a-1
100:  Unused function's "erase" return value CERT_C-ERR33-a-1
101:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
101:  The string literal is embedded directly in the code: [TrajectoryServer] Disconnected with a client CERT_C-MSC41-a-1
115:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
115:  The string literal is embedded directly in the code: [TrajectoryServer] Empty request received. Ignoring... CERT_C-MSC41-a-1
132:  The string literal is embedded directly in the code: token CERT_C-MSC41-a-1
157:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
183:  The string literal is embedded directly in the code: param CERT_C-MSC41-a-1
205:  The error from the 'get_logger' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The error from the 'rcutils_get_error_string' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The error from the 'rcutils_logging_initialize' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  Unused function's "fwrite" return value CERT_C-POS54-a-1
209:  The error from the 'get_mutex' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
221:  The string literal is embedded directly in the code: request CERT_C-MSC41-a-1
223:  The error from the 'fwrite' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
223:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
223:  The string literal is embedded directly in the code: Time request received CERT_C-MSC41-a-1
228:  The error from the 'now' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
243:  The string literal is embedded directly in the code: request CERT_C-MSC41-a-1
245:  The error from the 'rcutils_get_error_string' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
245:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
245:  Unused function's "fwrite" return value CERT_C-POS54-a-1
248:  The string literal is embedded directly in the code: conflict_version CERT_C-MSC41-a-1
260:  The string literal is embedded directly in the code: negotiation_trajectory CERT_C-MSC41-a-1
276:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:276] error initializing logging: CERT_C-MSC41-a-1
276:  Unused function's "fwrite" return value CERT_C-POS54-a-1
303:  The error from the 'map' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
303:  The string literal is embedded directly in the code: map_name CERT_C-MSC41-a-1
304:  The error from the 'name' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
305:  The error from the 'owner' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
308:  The string literal is embedded directly in the code: shape CERT_C-MSC41-a-1
309:  The error from the 'footprint' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
309:  The string literal is embedded directly in the code: dimensions CERT_C-MSC41-a-1
329:  The error from the 'start_time' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
332:  The error from the 'find' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
341:  The error from the 'compute_position' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
348:  The error from the 'time' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
349:  The error from the 'position' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
360:  The error from the 'compute_velocity' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
365:  The error from the 'begin' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
378:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
378:  The string literal is embedded directly in the code: Error: %s CERT_C-MSC41-a-1
378:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:378] error initializing logging: CERT_C-MSC41-a-1
394:  The string literal is embedded directly in the code: error CERT_C-MSC41-a-1
438:  The string literal is embedded directly in the code: Failed to start the TrajectoryServer: CERT_C-MSC41-a-1

 
All Tasks by Category
by:   Category   Severity   
  [2]   CERT-MSC24_C (REC) Do not use deprecated or obsolescent functions (CERT_C-MSC24) 
        [2]   The 'getenv()' function from the 'stdlib.h' or 'cstdlib' library shall not be used (CERT_C-MSC24-b-3) 
  [30]   CERT-MEM04_C (REC) Beware of zero-length allocations (CERT_C-MEM04) 
        [30]   The validity of values passed to library functions shall be checked (CERT_C-MEM04-a-2) 
  [5]   CERT-PRE31_C (RULE) Avoid side effects in arguments to unsafe macros (CERT_C-PRE31) 
        [5]   Assertions should not contain function calls nor function-like macro calls (CERT_C-PRE31-c-3) 
  [2]   CERT-ENV02_C (REC) Beware of multiple environment variables with the same effective name (CERT_C-ENV02) 
        [2]   Usage of system properties (environment variables) should be restricted (CERT_C-ENV02-a-3) 
  [2]   CERT-STR34_C (RULE) Cast characters to unsigned char before converting to larger integer sizes (CERT_C-STR34) 
        [2]   Cast characters to unsigned char before assignment to larger integer sizes (CERT_C-STR34-b-2) 
  [30]   CERT-MEM07_C (REC) Ensure that the arguments to calloc(), when multiplied, do not wrap (CERT_C-MEM07) 
        [30]   The validity of values passed to library functions shall be checked (CERT_C-MEM07-a-2) 
  [88]   CERT-MSC41_C (RULE) Never hard code sensitive information (CERT_C-MSC41) 
        [88]   Do not hard code string literals (CERT_C-MSC41-a-1) 
  [22]   CERT-API00_C (REC) Functions should validate their parameters (CERT_C-API00) 
        [22]   The validity of parameters must be checked inside each function (CERT_C-API00-a-3) 
  [2]   CERT-CON33_C (RULE) Avoid race conditions when using library functions (CERT_C-CON33) 
        [2]   Avoid using thread-unsafe functions (CERT_C-CON33-a-3) 
  [13]   CERT-DCL19_C (REC) Minimize the scope of variables and functions (CERT_C-DCL19) 
        [13]   Declare variables as locally as possible (CERT_C-DCL19-a-3) 
  [15]   CERT-EXP12_C (REC) Do not ignore values returned by functions (CERT_C-EXP12) 
        [15]   The value returned by a function having non-void return type shall be used (CERT_C-EXP12-a-3) 
  [4]   CERT-EXP19_C (REC) Use braces for the body of an if, for, or while statement (CERT_C-EXP19) 
        [4]   The statement forming the body of a 'switch', 'while', 'do...while' or 'for' statement shall be a compound statement (CERT_C-EXP19-a-2) 
  [15]   CERT-POS54_C (RULE) Detect and handle POSIX library errors (CERT_C-POS54) 
        [15]   The value returned by a function having non-void return type shall be used (CERT_C-POS54-a-1) 
  [15]   CERT-ERR33_C (RULE) Detect and handle standard library errors (CERT_C-ERR33) 
        [15]   The value returned by a function having non-void return type shall be used (CERT_C-ERR33-a-1) 
  [4]   CERT-ERR06_C (REC) Understand the termination behavior of assert() and abort() (CERT_C-ERR06) 
        [4]   Do not use assertions (CERT_C-ERR06-a-3) 
  [10]   CERT-ERR07_C (REC) Prefer functions that support error checking over equivalent functions that don't (CERT_C-ERR07) 
        [10]   The Standard Library input/output functions shall not be used (CERT_C-ERR07-b-2) 
  [33]   CERT-DCL00_C (REC) Const-qualify immutable objects (CERT_C-DCL00) 
        [33]   Declare parameters or local variable as const whenever possible (CERT_C-DCL00-a-3) 
  [10]   CERT-ERR02_C (REC) Avoid in-band error indicators (CERT_C-ERR02) 
        [10]   The Standard Library input/output functions shall not be used (CERT_C-ERR02-a-3) 
  [2]   CERT-POS34_C (RULE) Do not call putenv() with a pointer to an automatic variable as the argument (CERT_C-POS34) 
        [2]   Usage of system properties (environment variables) should be restricted (CERT_C-POS34-a-2) 
  [53]   CERT-ERR59_CPP (RULE) Do not throw an exception across execution boundaries (CERT_CPP-ERR59) 
        [53]   Do not throw an exception across execution boundaries (CERT_CPP-ERR59-a-1) 
  [10]   CERT-DCL51_CPP (RULE) Do not declare or define a reserved identifier (CERT_CPP-DCL51) 
        [10]   The names of standard library macros, objects and functions shall not be reused (CERT_CPP-DCL51-d-3) 
  [3]   CERT-EXP60_CPP (RULE) Do not pass a nonstandard-layout type object across execution boundaries (CERT_CPP-EXP60) 
        [3]   Do not pass a nonstandard-layout type object across execution boundaries (CERT_CPP-EXP60-a-1) 
  [1]   Coding Conventions for C++ (CODSTA-CPP) 
        [1]   Constructors allowing for conversion should be made explicit (CODSTA-CPP-04-1) 
  [6]   Metric (METRIC) 
        [2]   McCabe Cyclomatic Complexity (METRIC.CC-3) 
        [4]   Nested Blocks Depth (METRIC.NBD-3) 
  [5]   Optimization (OPT) 
        [5]   Pass objects by reference instead of by value (OPT-14-3) 

msi3  Total Tasks :  382 Back to Top    
/rmf_visualization_schedule_testing/src/rmf_visualization_schedule/ScheduleDataNode.cpp
47:  Constructor 'Data' allowing conversion should be made explicit CODSTA-CPP-04-1
47:  The parameter 'mirror_' of function 'Data' is passed by value OPT-14-3
71:  Parameter 'node_name' is not validated before use CERT_C-API00-a-3
72:  Declare parameter 'wait_time' as const CERT_C-DCL00-a-3
72:  Parameter 'wait_time' is not validated before use CERT_C-API00-a-3
72:  The parameter 'wait_time' of function 'make' is passed by value OPT-14-3
80:  Do not pass the nonstandard-layout type object to the 'make_mirror' function defined in the library that may not be ABI-compatible CERT_CPP-EXP60-a-1
81:  Do not pass the nonstandard-layout type object to the 'make_mirror' function defined in the library that may not be ABI-compatible CERT_CPP-EXP60-a-1
109:  Declare parameter 'node_name' as const CERT_C-DCL00-a-3
109:  The parameter 'node_name' of function 'ScheduleDataNode' is passed by value OPT-14-3
137:  Parameter 'data_' is not validated before use CERT_C-API00-a-3
137:  The parameter 'data_' of function 'start' is passed by value OPT-14-3
145:  Parameter 'request_param' is not validated before use CERT_C-API00-a-3
156:  'for' statement in a function 'get_elements' should be followed by a block CERT_C-EXP19-a-2
165:  Do not pass the nonstandard-layout type object to the 'convert' function defined in the library that may not be ABI-compatible CERT_CPP-EXP60-a-1
180:  Unused function's "copy" return value CERT_C-ERR33-a-1
180:  Unused function's "copy" return value CERT_C-POS54-a-1
180:  Unused function's "copy" return value CERT_C-EXP12-a-3
193:  'for' statement in a function 'get_conflict_groups' should be followed by a block CERT_C-EXP19-a-2
200:  Value 7 is out of acceptable range: 'lower than 7' METRIC.NBD-3
201:  Parameter 'conflict_version' is not validated before use CERT_C-API00-a-3
201:  Parameter 'sequence' is not validated before use CERT_C-API00-a-3
232:  Declare local variable 'itin' as const CERT_C-DCL00-a-3
236:  'for' statement in a function 'get_negotiation_trajectories' should be followed by a block CERT_C-EXP19-a-2
242:  'for' statement in a function 'get_negotiation_trajectories' should be followed by a block CERT_C-EXP19-a-2
242:  Declare local variable 'route' as const CERT_C-DCL00-a-3
/rmf_visualization_schedule_testing/src/rmf_visualization_schedule/TrajectoryServer.cpp
57:  The string literal is embedded directly in the code: conflicts CERT_C-MSC41-a-1
57:  The string literal is embedded directly in the code: response CERT_C-MSC41-a-1
57:  The string literal is embedded directly in the code: values CERT_C-MSC41-a-1
59:  The string literal is embedded directly in the code: dimensions CERT_C-MSC41-a-1
59:  The string literal is embedded directly in the code: id CERT_C-MSC41-a-1
59:  The string literal is embedded directly in the code: segments CERT_C-MSC41-a-1
59:  The string literal is embedded directly in the code: shape CERT_C-MSC41-a-1
60:  The string literal is embedded directly in the code: t CERT_C-MSC41-a-1
60:  The string literal is embedded directly in the code: v CERT_C-MSC41-a-1
60:  The string literal is embedded directly in the code: x CERT_C-MSC41-a-1
61:  The string literal is embedded directly in the code: error CERT_C-MSC41-a-1
89:  Declare parameter 'hdl' as const CERT_C-DCL00-a-3
89:  Parameter 'hdl' is not validated before use CERT_C-API00-a-3
91:  Unused function's "insert" return value CERT_C-ERR33-a-1
91:  Unused function's "insert" return value CERT_C-POS54-a-1
91:  Unused function's "insert" return value CERT_C-EXP12-a-3
92:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
92:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
92:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
92:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
92:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
92:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
92:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
92:  The string literal is embedded directly in the code: [TrajectoryServer] Connected with a client CERT_C-MSC41-a-1
92:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:92] error initializing logging: CERT_C-MSC41-a-1
92:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
92:  Unused function's "fwrite" return value CERT_C-POS54-a-1
92:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
92:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
92:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
92:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
92:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
92:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
97:  Declare parameter 'hdl' as const CERT_C-DCL00-a-3
97:  Parameter 'hdl' is not validated before use CERT_C-API00-a-3
99:  Unused function's "erase" return value CERT_C-ERR33-a-1
99:  Unused function's "erase" return value CERT_C-POS54-a-1
99:  Unused function's "erase" return value CERT_C-EXP12-a-3
100:  Unused function's "erase" return value CERT_C-ERR33-a-1
100:  Unused function's "erase" return value CERT_C-POS54-a-1
100:  Unused function's "erase" return value CERT_C-EXP12-a-3
101:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
101:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
101:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
101:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
101:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
101:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
101:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
101:  The string literal is embedded directly in the code: [TrajectoryServer] Disconnected with a client CERT_C-MSC41-a-1
101:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:101] error initializing logging: CERT_C-MSC41-a-1
101:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
101:  Unused function's "fwrite" return value CERT_C-POS54-a-1
101:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
101:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
101:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
101:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
101:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
101:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
107:  Value 32 is out of acceptable range: 'lower than 30' METRIC.CC-3
107:  Value 7 is out of acceptable range: 'lower than 7' METRIC.NBD-3
108:  Declare parameter 'hdl' as const CERT_C-DCL00-a-3
108:  Parameter 'hdl' is not validated before use CERT_C-API00-a-3
111:  Variable "err_response" should be declared as locally as possible CERT_C-DCL19-a-3
115:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
115:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
115:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
115:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
115:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
115:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
115:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
115:  The string literal is embedded directly in the code: [TrajectoryServer] Empty request received. Ignoring... CERT_C-MSC41-a-1
115:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:115] error initializing logging: CERT_C-MSC41-a-1
115:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
115:  Unused function's "fwrite" return value CERT_C-POS54-a-1
115:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
115:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
115:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
115:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
115:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
115:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
121:  Declare local variable 'ok' as const CERT_C-DCL00-a-3
124:  Variable "public_key" should be declared as locally as possible CERT_C-DCL19-a-3
125:  Variable "token" should be declared as locally as possible CERT_C-DCL19-a-3
127:  Avoid using functions which get and set values of environment variable. You used function getenv CERT_C-ENV02-a-3
127:  Avoid using functions which get and set values of environment variable. You used function getenv CERT_C-POS34-a-2
127:  The 'getenv' function should not be used in multithreading applications CERT_C-CON33-a-3
127:  The 'getenv' library function should not be used CERT_C-MSC24-b-3
127:  The string literal is embedded directly in the code: JWT_PUBLIC_KEY CERT_C-MSC41-a-1
129:  Avoid using functions which get and set values of environment variable. You used function getenv CERT_C-ENV02-a-3
129:  Avoid using functions which get and set values of environment variable. You used function getenv CERT_C-POS34-a-2
129:  The 'getenv' function should not be used in multithreading applications CERT_C-CON33-a-3
129:  The 'getenv' library function should not be used CERT_C-MSC24-b-3
129:  The string literal is embedded directly in the code: JWT_PUBLIC_KEY CERT_C-MSC41-a-1
132:  The string literal is embedded directly in the code: token CERT_C-MSC41-a-1
133:  Declare local variable 'decoded' as const CERT_C-DCL00-a-3
135:  The string literal is embedded directly in the code: RS256 CERT_C-MSC41-a-1
141:  Declare local variable 'err_excp' as const CERT_C-DCL00-a-3
143:  The string literal is embedded directly in the code: Error: CERT_C-MSC41-a-1
149:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
149:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
149:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
149:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
149:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
149:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
149:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
149:  The string literal is embedded directly in the code: Response: %s CERT_C-MSC41-a-1
149:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:149] error initializing logging: CERT_C-MSC41-a-1
149:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
149:  Unused function's "fwrite" return value CERT_C-POS54-a-1
149:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
149:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
149:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
149:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
149:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
149:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
151:  Declare local variable 'response_msg' as const CERT_C-DCL00-a-3
157:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
157:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
157:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
157:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
157:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
157:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
157:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
157:  The string literal is embedded directly in the code: [TrajectoryServer] Invalid request received: %s CERT_C-MSC41-a-1
157:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:157] error initializing logging: CERT_C-MSC41-a-1
157:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
157:  Unused function's "fwrite" return value CERT_C-POS54-a-1
157:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
157:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
157:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
157:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
157:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
157:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
165:  Value 47 is out of acceptable range: 'lower than 30' METRIC.CC-3
165:  Value 8 is out of acceptable range: 'lower than 7' METRIC.NBD-3
166:  Declare parameter 'hdl' as const CERT_C-DCL00-a-3
166:  Parameter 'hdl' is not validated before use CERT_C-API00-a-3
166:  Parameter 'msg' is not validated before use CERT_C-API00-a-3
167:  Parameter 'response' is not validated before use CERT_C-API00-a-3
178:  The string literal is embedded directly in the code: request CERT_C-MSC41-a-1
181:  The string literal is embedded directly in the code: request CERT_C-MSC41-a-1
181:  The string literal is embedded directly in the code: trajectory CERT_C-MSC41-a-1
183:  The string literal is embedded directly in the code: param CERT_C-MSC41-a-1
187:  The string literal is embedded directly in the code: map_name CERT_C-MSC41-a-1
189:  The string literal is embedded directly in the code: duration CERT_C-MSC41-a-1
191:  The string literal is embedded directly in the code: trim CERT_C-MSC41-a-1
195:  The string literal is embedded directly in the code: duration CERT_C-MSC41-a-1
196:  Declare local variable 'duration' as const CERT_C-DCL00-a-3
200:  The string literal is embedded directly in the code: map_name CERT_C-MSC41-a-1
201:  The error from the 'now' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
205:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
205:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
205:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
205:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
205:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
205:  The error from the 'fwrite' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The error from the 'get_logger' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The error from the 'rcutils_get_error_string' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The error from the 'rcutils_log' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The error from the 'rcutils_logging_initialize' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The error from the 'rcutils_logging_logger_is_enabled_for' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The error from the 'rcutils_reset_error' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
205:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
205:  The string literal is embedded directly in the code: Trajectory Request received with map_name [%s] and duration [%s]ms CERT_C-MSC41-a-1
205:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:205] error initializing logging: CERT_C-MSC41-a-1
205:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
205:  Unused function's "fwrite" return value CERT_C-POS54-a-1
205:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
205:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
205:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
205:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
205:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
205:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
209:  Declare local variable 'lock' as const CERT_C-DCL00-a-3
209:  The error from the 'get_mutex' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
210:  Declare local variable 'elements' as const CERT_C-DCL00-a-3
210:  The error from the 'get_elements' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
212:  Declare local variable 'trim' as const CERT_C-DCL00-a-3
212:  The string literal is embedded directly in the code: trim CERT_C-MSC41-a-1
213:  The string literal is embedded directly in the code: trajectory CERT_C-MSC41-a-1
214:  The error from the 'get_conflict_groups' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
221:  The string literal is embedded directly in the code: request CERT_C-MSC41-a-1
221:  The string literal is embedded directly in the code: time CERT_C-MSC41-a-1
223:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
223:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
223:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
223:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
223:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
223:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
223:  The error from the 'fwrite' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
223:  The error from the 'get_logger' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
223:  The error from the 'rcutils_get_error_string' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
223:  The error from the 'rcutils_log' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
223:  The error from the 'rcutils_logging_initialize' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
223:  The error from the 'rcutils_logging_logger_is_enabled_for' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
223:  The error from the 'rcutils_reset_error' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
223:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
223:  The string literal is embedded directly in the code: Time request received CERT_C-MSC41-a-1
223:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:223] error initializing logging: CERT_C-MSC41-a-1
223:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
223:  Unused function's "fwrite" return value CERT_C-POS54-a-1
223:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
223:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
223:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
223:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
223:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
223:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
226:  The string literal is embedded directly in the code: response CERT_C-MSC41-a-1
226:  The string literal is embedded directly in the code: time CERT_C-MSC41-a-1
227:  The string literal is embedded directly in the code: values CERT_C-MSC41-a-1
228:  The error from the 'now' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
233:  The string literal is embedded directly in the code: negotiation_update_subscribe CERT_C-MSC41-a-1
233:  The string literal is embedded directly in the code: request CERT_C-MSC41-a-1
235:  Unused function's "insert" return value CERT_C-ERR33-a-1
235:  Unused function's "insert" return value CERT_C-POS54-a-1
235:  Unused function's "insert" return value CERT_C-EXP12-a-3
237:  The string literal is embedded directly in the code: negotiation_update_subscribe CERT_C-MSC41-a-1
237:  The string literal is embedded directly in the code: response CERT_C-MSC41-a-1
238:  The string literal is embedded directly in the code: result CERT_C-MSC41-a-1
243:  The string literal is embedded directly in the code: negotiation_trajectory CERT_C-MSC41-a-1
243:  The string literal is embedded directly in the code: request CERT_C-MSC41-a-1
245:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
245:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
245:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
245:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
245:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
245:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
245:  The error from the 'fwrite' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
245:  The error from the 'get_logger' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
245:  The error from the 'rcutils_get_error_string' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
245:  The error from the 'rcutils_log' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
245:  The error from the 'rcutils_logging_initialize' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
245:  The error from the 'rcutils_logging_logger_is_enabled_for' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
245:  The error from the 'rcutils_reset_error' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
245:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
245:  The string literal is embedded directly in the code: Received Negotiation Trajectory request CERT_C-MSC41-a-1
245:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:245] error initializing logging: CERT_C-MSC41-a-1
245:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
245:  Unused function's "fwrite" return value CERT_C-POS54-a-1
245:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
245:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
245:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
245:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
245:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
245:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
248:  The string literal is embedded directly in the code: conflict_version CERT_C-MSC41-a-1
248:  The string literal is embedded directly in the code: param CERT_C-MSC41-a-1
249:  The string literal is embedded directly in the code: param CERT_C-MSC41-a-1
249:  The string literal is embedded directly in the code: sequence CERT_C-MSC41-a-1
251:  Declare local variable 'trajectory_elements' as const CERT_C-DCL00-a-3
252:  The error from the 'get_negotiation_trajectories' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
254:  The error from the 'now' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
260:  The string literal is embedded directly in the code: negotiation_trajectory CERT_C-MSC41-a-1
276:  Cast the argument number '1' passed to the 'to_string' function to the 'unsigned char' type if it is intended to represent a character that can be interpreted as a negative number CERT_C-STR34-b-2
276:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
276:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
276:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
276:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
276:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
276:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
276:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
276:  The string literal is embedded directly in the code: Error: %s CERT_C-MSC41-a-1
276:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:276] error initializing logging: CERT_C-MSC41-a-1
276:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
276:  Unused function's "fwrite" return value CERT_C-POS54-a-1
276:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
276:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
276:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
276:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
276:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
276:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
284:  Value 7 is out of acceptable range: 'lower than 7' METRIC.NBD-3
285:  Parameter 'response_type' is not validated before use CERT_C-API00-a-3
286:  Parameter 'conflicts' is not validated before use CERT_C-API00-a-3
289:  Parameter 'request_param' is not validated before use CERT_C-API00-a-3
293:  The string literal is embedded directly in the code: response CERT_C-MSC41-a-1
294:  The string literal is embedded directly in the code: conflicts CERT_C-MSC41-a-1
300:  The error from the 'trajectory' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
303:  The error from the 'map' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
303:  The string literal is embedded directly in the code: map_name CERT_C-MSC41-a-1
304:  The error from the 'name' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
304:  The string literal is embedded directly in the code: robot_name CERT_C-MSC41-a-1
305:  The error from the 'owner' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
305:  The string literal is embedded directly in the code: fleet_name CERT_C-MSC41-a-1
306:  The string literal is embedded directly in the code: id CERT_C-MSC41-a-1
307:  The string literal is embedded directly in the code: route_id CERT_C-MSC41-a-1
308:  The string literal is embedded directly in the code: circle CERT_C-MSC41-a-1
308:  The string literal is embedded directly in the code: shape CERT_C-MSC41-a-1
309:  The error from the 'footprint' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
309:  The error from the 'get_characteristic_length' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
309:  The error from the 'profile' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
309:  The string literal is embedded directly in the code: dimensions CERT_C-MSC41-a-1
312:  Declare local variable 'add_segment' as const CERT_C-DCL00-a-3
329:  The error from the 'start_time' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
331:  The error from the 'finish_time' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
332:  The error from the 'find' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
333:  Assert contains function-like call to 'end' CERT_C-PRE31-c-3
333:  The 'assert' shall not be used CERT_C-ERR06-a-3
334:  Assert contains function-like call to 'end' CERT_C-PRE31-c-3
334:  Assert contains function-like call to 'find' CERT_C-PRE31-c-3
334:  The 'assert' shall not be used CERT_C-ERR06-a-3
339:  The error from the 'compute_cubic_splines' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
341:  The error from the 'compute_position' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
342:  The error from the 'compute_velocity' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
345:  The error from the 'find' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
347:  Assert contains function-like call to 'end' CERT_C-PRE31-c-3
347:  The 'assert' shall not be used CERT_C-ERR06-a-3
348:  The error from the 'time' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
349:  The error from the 'position' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
350:  The error from the 'velocity' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
354:  Assert contains function-like call to 'end' CERT_C-PRE31-c-3
354:  The 'assert' shall not be used CERT_C-ERR06-a-3
357:  The error from the 'compute_cubic_splines' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
359:  The error from the 'compute_position' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
360:  The error from the 'compute_velocity' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
365:  The error from the 'begin' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
365:  The error from the 'end' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
367:  The error from the 'time' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
368:  The error from the 'position' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
369:  The error from the 'velocity' library function should be indicated by a return value instead of an exception CERT_CPP-ERR59-a-1
372:  The string literal is embedded directly in the code: values CERT_C-MSC41-a-1
378:  Cast the argument number '1' passed to the 'to_string' function to the 'unsigned char' type if it is intended to represent a character that can be interpreted as a negative number CERT_C-STR34-b-2
378:  Declare local variable '__rcutils_logging_location' as const CERT_C-DCL00-a-3
378:  Reserved name '__rcutils_logging_location' used CERT_CPP-DCL51-d-3
378:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
378:  Result of "rcutils_get_error_string" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
378:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
378:  Result of "strlen" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
378:  The string literal is embedded directly in the code: /media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp CERT_C-MSC41-a-1
378:  The string literal is embedded directly in the code: Error: %s CERT_C-MSC41-a-1
378:  The string literal is embedded directly in the code: [rcutils|/media/msi3/Data/workspace/rmf_ws/src/rmf/rmf_visualization/rmf_visualization_schedule/src/rmf_visualization_schedule/TrajectoryServer.cpp:378] error initializing logging: CERT_C-MSC41-a-1
378:  Unused function's "fwrite" return value CERT_C-ERR33-a-1
378:  Unused function's "fwrite" return value CERT_C-POS54-a-1
378:  Unused function's "fwrite" return value CERT_C-EXP12-a-3
378:  Usage of 'fwrite' function is not allowed CERT_C-ERR02-a-3
378:  Usage of 'fwrite' function is not allowed CERT_C-ERR07-b-2
378:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM07-a-2
378:  Values "stderr" passed to library function "fwrite" without being checked CERT_C-MEM04-a-2
378:  Variable "__rcutils_logging_location" should be declared as locally as possible CERT_C-DCL19-a-3
389:  Declare parameter 'hdl' as const CERT_C-DCL00-a-3
389:  Parameter 'hdl' is not validated before use CERT_C-API00-a-3
389:  Parameter 'msg' is not validated before use CERT_C-API00-a-3
390:  Declare parameter 'server' as const CERT_C-DCL00-a-3
390:  Parameter 'response' is not validated before use CERT_C-API00-a-3
390:  Parameter 'server' is not validated before use CERT_C-API00-a-3
391:  Parameter 'err_excp' is not validated before use CERT_C-API00-a-3
391:  The parameter 'err_excp' of function 'send_error_message' is passed by value OPT-14-3
394:  The string literal is embedded directly in the code: error CERT_C-MSC41-a-1
395:  Declare local variable 'err_msg' as const CERT_C-DCL00-a-3
403:  Declare parameter 'port' as const CERT_C-DCL00-a-3
403:  Parameter 'port' is not validated before use CERT_C-API00-a-3
404:  Declare parameter 'schedule_data_node' as const CERT_C-DCL00-a-3
404:  Parameter 'schedule_data_node' is not validated before use CERT_C-API00-a-3
438:  The string literal is embedded directly in the code: Failed to start the TrajectoryServer: CERT_C-MSC41-a-1
519:  The string literal is embedded directly in the code: shutdown CERT_C-MSC41-a-1


©Parasoft Corp. - C++test 2022.1.0.20220615B1827 Reporting System