ASTRA Project Coding Standards Report
ASTRA Project Coding Standards Report
Result Folder(s):
C:\PolyspaceTestGettongStarted\BF_Result_182
Table of Contents
Chapter 1. MISRA C++:2008 Results ............................................................................................................................................................................................................ 1
MISRA C++:2008 Summary - Violations by File ................................................................................................................................................................................. 2
MISRA C++:2008 Summary - Violations by Rule ............................................................................................................................................................................... 4
MISRA C++:2008 Summary for all Files .............................................................................................................................................................................................. 6
MISRA C++:2008 Summary for Enabled Rules .................................................................................................................................................................................. 8
MISRA C++:2008 Results .................................................................................................................................................................................................................... 16
Chapter 2. MISRA C:2012 Results ............................................................................................................................................................................................................ 244
MISRA C:2012 Summary - Violations by File ................................................................................................................................................................................. 244
MISRA C:2012 Summary - Violations by Rule ............................................................................................................................................................................... 244
MISRA C:2012 Summary for all Files .............................................................................................................................................................................................. 244
MISRA C:2012 Summary for Enabled Guidelines ......................................................................................................................................................................... 246
MISRA C:2012 Results ...................................................................................................................................................................................................................... 252
Chapter 3. Appendix 1 - Configuration Settings ................................................................................................................................................................................... 253
Polyspace Settings ........................................................................................................................................................................................................................... 253
Concurrency Modelling Summary ........................................................................................................................................................................................ 254
Coding Standard Configuration ..................................................................................................................................................................................................... 254
Files with compilation errors (files partially analyzed) ............................................................................................................................................................... 276
Chapter 4. Appendix 2 - Definitions ....................................................................................................................................................................................................... 277
............................................................................................................................................................................................................................................................. 277
i
Chapter 1. MISRA C++:2008 Results
1
MISRA C++:2008 Summary - Violations by File
2
3
MISRA C++:2008 Summary - Violations by Rule
4
5
MISRA C++:2008 Summary for all Files
File Total
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\.metadata\.plugins\[Link]\specs.c 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\.metadata\.plugins\[Link]\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 19
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\ABCMInterface.h 5
Total 3359
6
File Total
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 517
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\AbcmMsgHandler.h 21
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 23
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\BroadCastUtility.h 9
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\BsnEnumTypes.h 62
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 70
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\CommonUtility.h 12
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 4
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\ErrorLogger.h 1
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 23
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\GPMCUtility.h 11
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\InternalMsg.h 18
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 14
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MGCMFPGAInterface.h 2
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 6
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MGCMMsgCommunicator.h 19
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 231
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MGCMSupervisor.h 10
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 25
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmConfig.h 106
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 331
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmFpgaMsgHandler.h 9
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmMsgStructures.h 1034
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 29
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmSender.h 3
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 26
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MsgQueue.h 9
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 46
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MulticastUtility.h 9
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 14
Total 3359
7
File Total
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\ParentTSFMInterface.h 2
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 222
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\ParentTSFMMsgHandler.h 15
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 16
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\TSFMInterface.h 2
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 5
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\TimeManager.h 4
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 154
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\TsfmMsgHandler.h 6
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 117
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\UartSerialCommUtility.h 15
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 32
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\UdpUnicastUtility.h 7
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 44
Total 3359
8
Rule Description Mode Total
0-1-8 All functions with void return type shall have external side effect(s). required 4
0-1-9 There shall be no dead code. required 3
0-2-1 An object shall not be assigned to an overlapping object. required 1
0-3-2 If a function generates error information, then that error information shall be tested. required 107
1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorporating Technical Corrigendum 1". required 16
10-1-2 A base class shall only be declared virtual if it is used in a diamond hierarchy. required 0
10-1-3 An accessible base class shall not be both virtual and non-virtual in the same hierarchy. required 0
10-3-1 There shall be no more than one definition of each virtual function on each path through the inheritance hierarchy. required 0
10-3-2 Each overriding virtual function shall be declared with the virtual keyword. required 0
10-3-3 A virtual function shall only be overridden by a pure virtual function if it is itself declared as pure virtual. required 0
11-0-1 Member data in non-POD class types shall be private. required 81
12-1-1 An object's dynamic type shall not be used from the body of its constructor or destructor. required 0
12-1-3 All constructors that are callable with a single argument of fundamental type shall be declared explicit. required 0
12-8-1 A copy constructor shall only initialize its base classes and the non-static members of the class of which it is a member. required 0
12-8-2 The copy assignment operator shall be declared protected or private in an abstract class. required 0
14-5-1 A non-member generic function shall only be declared in a namespace that is not an associated namespace. required 0
14-5-2 A copy constructor shall be declared when there is a template constructor with a single parameter that is a generic parameter. required 0
14-5-3 A copy assignment operator shall be declared when there is a template assignment operator with a parameter that is a generic p required 0
arameter.
14-6-1 In a class template with a dependent base, any name that may be found in that dependent base shall be referred to using a quali required 0
fied-id or this->.
14-6-2 The function chosen by overload resolution shall resolve to a function declared previously in the translation unit. required 0
14-7-3 All partial and explicit specializations for a template shall be declared in the same file as the declaration of their primary templa required 0
te.
14-8-1 Overloaded function templates shall not be explicitly specialized. required 0
15-0-3 Control shall not be transferred into a try or catch block using a goto or a switch statement. required 0
15-1-1 The assignment-expression of a throw statement shall not itself cause an exception to be thrown. required 0
15-1-2 NULL shall not be thrown explicitly. required 0
15-1-3 An empty throw (throw;) shall only be used in the compound- statement of a catch handler. required 0
15-3-1 Exceptions shall be raised only after start-up and before termination of the program. required 0
Total 3359
9
Rule Description Mode Total
15-3-3 Handlers of a function-try-block implementation of a class constructor or destructor shall not reference non-static members fro required 0
m this class or its bases.
15-3-4 Each exception explicitly thrown in the code shall have a handler of a compatible type in all call paths that could lead to that poi required 0
nt.
15-3-5 A class type exception shall always be caught by reference. required 0
15-3-6 Where multiple handlers are provided in a single try-catch statement or function-try-block for a derived class and some or all of required 0
its bases, the handlers shall be ordered most-derived to base class.
15-3-7 Where multiple handlers are provided in a single try-catch statement or function-try-block, any ellipsis (catch-all) handler shall required 0
occur last.
15-4-1 If a function is declared with an exception-specification, then all declarations of the same function (in other translation units) sh required 0
all be declared with the same set of type-ids.
15-5-1 A class destructor shall not exit with an exception. required 0
15-5-2 Where a function's declaration includes an exception-specification, the function shall only be capable of throwing exceptions of required 0
the indicated type(s).
15-5-3 The terminate() function shall not be called implicitly. required 1
16-0-1 #include directives in a file shall only be preceded by other preprocessor directives or comments. required 0
16-0-2 Macros shall only be #define 'd or #undef 'd in the global namespace. required 5
16-0-3 #undef shall not be used. required 0
16-0-4 Function-like macros shall not be defined. required 0
16-0-5 Arguments to a function-like macro shall not contain tokens that look like preprocessing directives. required 0
16-0-6 In the definition of a function-like macro, each instance of a parameter shall be enclosed in parentheses, unless it is used as the required 0
operand of # or ##.
16-0-7 Undefined macro identifiers shall not be used in #if or #elif preprocessor directives, except as operands to the defined operator. required 0
16-0-8 If the # token appears as the first token on a line, then it shall be immediately followed by a preprocessing token. required 0
16-1-1 The defined preprocessor operator shall only be used in one of the two standard forms. required 0
16-1-2 All #else, #elif and #endif preprocessor directives shall reside in the same file as the #if or #ifdef directive to which they are relat required 0
ed.
16-2-1 The pre-processor shall only be used for file inclusion and include guards. required 65
16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or storage class specifiers. required 64
16-2-3 Include guards shall be provided. required 1
16-2-4 The ', ", /* or // characters shall not occur in a header file name. required 0
16-2-6 The #include directive shall be followed by either a <filename> or "filename" sequence. required 0
Total 3359
10
Rule Description Mode Total
16-3-1 There shall be at most one occurrence of the # or ## operators in a single macro definition. required 0
17-0-1 Reserved identifiers, macros and functions in the standard library shall not be defined, redefined or undefined. required 1
17-0-2 The names of standard library macros and objects shall not be reused. required 0
17-0-3 The names of standard library functions shall not be overridden. required 0
17-0-5 The setjmp macro and the longjmp function shall not be used. required 0
18-0-1 The C library shall not be used. required 22
18-0-2 The library functions atof, atoi and atol from library <cstdlib> shall not be used. required 0
18-0-3 The library functions abort, exit, getenv and system from library <cstdlib> shall not be used. required 114
18-0-4 The time handling functions of library <ctime> shall not be used. required 0
18-0-5 The unbounded functions of library <cstring> shall not be used. required 27
18-2-1 The macro offsetof shall not be used. required 0
18-4-1 Dynamic heap memory allocation shall not be used. required 28
18-7-1 The signal handling facilities of <csignal> shall not be used. required 0
19-3-1 The error indicator errno shall not be used. required 11
2-10-1 Different identifiers shall be typographically unambiguous. required 72
2-10-2 Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope. required 4
2-10-3 A typedef name (including qualification, if any) shall be a unique identifier. required 0
2-10-4 A class, union or enum name (including qualification, if any) shall be a unique identifier. required 1
2-10-6 If an identifier refers to a type, it shall not also refer to an object or a function in the same scope. required 0
2-13-1 Only those escape sequences that are defined in ISO/IEC 14882:2003 shall be used. required 0
2-13-2 Octal constants (other than zero) and octal escape sequences (other than "\0") shall not be used. required 4
2-13-3 A "U" suffix shall be applied to all octal or hexadecimal integer literals of unsigned type. required 0
2-13-4 Literal suffixes shall be upper case. required 0
2-13-5 Narrow and wide string literals shall not be concatenated. required 0
2-3-1 Trigraphs shall not be used. required 0
2-7-1 The character sequence /* shall not be used within a C-style comment. required 0
2-7-2 Sections of code shall not be "commented out" using C-style comments. required 6
27-0-1 The stream input/output library <cstdio> shall not be used. required 158
3-1-1 It shall be possible to include any header file in multiple translation units without violating the One Definition Rule. required 0
3-1-2 Functions shall not be declared at block scope. required 0
Total 3359
11
Rule Description Mode Total
3-1-3 When an array is declared, its size shall either be stated explicitly or defined implicitly by initialization. required 0
3-2-1 All declarations of an object or function shall have compatible types. required 0
3-2-2 The One Definition Rule shall not be violated. required 0
3-2-3 A type, object or function that is used in multiple translation units shall be declared in one and only one file. required 0
3-2-4 An identifier with external linkage shall have exactly one definition. required 0
3-3-1 Objects or functions with external linkage shall be declared in a header file. required 0
3-3-2 If a function has internal linkage then all re-declarations shall include the static storage class specifier. required 0
3-4-1 An identifier declared to be an object or type shall be defined in a block that minimizes its visibility. required 11
3-9-1 The types used for an object, a function return type, or a function parameter shall be token-for-token identical in all declaration required 0
s and re-declarations.
3-9-3 The underlying bit representations of floating-point values shall not be used. required 0
4-10-1 NULL shall not be used as an integer value. required 0
4-10-2 Literal zero (0) shall not be used as the null-pointer-constant. required 3
4-5-1 Expressions with type bool shall not be used as operands to built-in operators other than the assignment operator =, the logical o required 0
perators &&, ||, !, the equality operators == and !=, the unary & operator, and the conditional operator.
4-5-2 Expressions with type enum shall not be used as operands to built- in operators other than the subscript operator [ ], the assign required 0
ment operator =, the equality operators == and !=, the unary & operator, and the relational operators <, <=, >, >=.
4-5-3 Expressions with type (plain) char and wchar_t shall not be used as operands to built-in operators other than the assignment op required 0
erator =, the equality operators == and !=, and the unary & operator.
5-0-1 The value of an expression shall be the same under any order of evaluation that the standard permits. required 3
5-0-10 If the bitwise operators ~ and << are applied to an operand with an underlying type of unsigned char or unsigned short, the resu required 18
lt shall be immediately cast to the underlying type of the operand.
5-0-11 The plain char type shall only be used for the storage and use of character values. required 34
5-0-12 signed char and unsigned char type shall only be used for the storage and use of numeric values. required 0
5-0-13 The condition of an if-statement and the condition of an iteration-statement shall have type bool. required 13
5-0-14 The first operand of a conditional-operator shall have type bool. required 0
5-0-15 Array indexing shall be the only form of pointer arithmetic. required 24
5-0-16 A pointer operand and any pointer resulting from pointer arithmetic using that operand shall both address elements of the sam required 0
e array.
5-0-17 Subtraction between pointers shall only be applied to pointers that address elements of the same array. required 0
5-0-18 >, >=, <, <= shall not be applied to objects of pointer type, except where they point to the same array. required 0
5-0-19 The declaration of objects shall contain no more than two levels of pointer indirection. required 0
Total 3359
12
Rule Description Mode Total
5-0-20 Non-constant operands to a binary bitwise operator shall have the same underlying type. required 0
5-0-21 Bitwise operators shall only be applied to operands of unsigned underlying type. required 24
5-0-3 A cvalue expression shall not be implicitly converted to a different underlying type. required 32
5-0-4 An implicit integral conversion shall not change the signedness of the underlying type. required 54
5-0-5 There shall be no implicit floating-integral conversions. required 2
5-0-6 An implicit integral or floating-point conversion shall not reduce the size of the underlying type. required 4
5-0-7 There shall be no explicit floating-integral conversions of a cvalue expression. required 0
5-0-8 An explicit integral or floating-point conversion shall not increase the size of the underlying type of a cvalue expression. required 0
5-0-9 An explicit integral conversion shall not change the signedness of the underlying type of a cvalue expression. required 0
5-14-1 The right hand operand of a logical && or || operator shall not contain side effects. required 0
5-18-1 The comma operator shall not be used. required 1
5-2-1 Each operand of a logical && or || shall be a postfix-expression. required 2
5-2-11 The comma operator, && operator and the || operator shall not be overloaded. required 0
5-2-12 An identifier with array type passed as a function argument shall not decay to a pointer. required 0
5-2-2 A pointer to a virtual base class shall only be cast to a pointer to a derived class by means of dynamic_cast. required 0
5-2-4 C-style casts (other than void casts) and functional notation casts (other than explicit constructor calls) shall not be used. required 244
5-2-5 A cast shall not remove any const or volatile qualification from the type of a pointer or reference. required 2
5-2-6 A cast shall not convert a pointer to a function to any other pointer type, including a pointer to function type. required 0
5-2-7 An object with pointer type shall not be converted to an unrelated pointer type, either directly or indirectly. required 170
5-2-8 An object with integer type or pointer to void type shall not be converted to an object with pointer type. required 3
5-3-1 Each operand of the ! operator, the logical && or the logical || operators shall have type bool. required 0
5-3-2 The unary minus operator shall not be applied to an expression whose underlying type is unsigned. required 0
5-3-3 The unary & operator shall not be overloaded. required 0
5-3-4 Evaluation of the operand to the sizeof operator shall not contain side effects. required 0
5-8-1 The right hand operand of a shift operator shall lie between zero and one less than the width in bits of the underlying type of th required 0
e left hand operand.
6-2-1 Assignment operators shall not be used in sub-expressions. required 12
6-2-2 Floating-point expressions shall not be directly or indirectly tested for equality or inequality. required 0
6-2-3 Before preprocessing, a null statement shall only occur on a line by itself; it may be followed by a comment, provided that the fir required 0
st character following the null statement is a white - space character.
Total 3359
13
Rule Description Mode Total
6-3-1 The statement forming the body of a switch, while, do ... while or for statement shall be a compound statement. required 4
6-4-1 An if ( condition ) construct shall be followed by a compound statement. The else keyword shall be followed by either a compou required 18
nd statement, or another if statement.
6-4-2 All if ... else if constructs shall be terminated with an else clause. required 29
6-4-3 A switch statement shall be a well-formed switch statement. required 0
6-4-4 A switch-label shall only be used when the most closely-enclosing compound statement is the body of a switch statement. required 0
6-4-5 An unconditional throw or break statement shall terminate every non - empty switch-clause. required 0
6-4-6 The final clause of a switch statement shall be the default-clause. required 0
6-4-7 The condition of a switch statement shall not have bool type. required 0
6-4-8 Every switch statement shall have at least one case-clause. required 0
6-5-1 A for loop shall contain a single loop-counter which shall not have floating type. required 0
6-5-2 If loop-counter is not modified by -- or ++, then, within condition, the loop-counter shall only be used as an operand to <=, <, > or required 0
>=.
6-5-3 The loop-counter shall not be modified within condition or statement. required 0
6-5-4 The loop-counter shall be modified by one of: --, ++, -=n, or +=n ; where n remains constant for the duration of the loop. required 0
6-5-5 A loop-control-variable other than the loop-counter shall not be modified within condition or expression. required 0
6-5-6 A loop-control-variable other than the loop-counter which is modified in statement shall have type bool. required 0
6-6-1 Any label referenced by a goto statement shall be declared in the same block, or in a block enclosing the goto statement. required 0
6-6-2 The goto statement shall jump to a label declared later in the same function body. required 0
6-6-3 The continue statement shall only be used within a well-formed for loop. required 2
6-6-4 For any iteration statement there shall be no more than one break or goto statement used for loop termination. required 1
6-6-5 A function shall have a single point of exit at the end of the function. required 23
7-1-1 A variable which is not modified shall be const qualified. required 165
7-1-2 A pointer or reference parameter in a function shall be declared as pointer to const or reference to const if the corresponding ob required 13
ject is not modified.
7-2-1 An expression with enum underlying type shall only have values corresponding to the enumerators of the enumeration. required 0
7-3-1 The global namespace shall only contain main, namespace declarations and extern "C" declarations. required 137
7-3-2 The identifier main shall not be used for a function other than the global function main. required 0
7-3-3 There shall be no unnamed namespaces in header files. required 0
7-3-4 using-directives shall not be used. required 12
7-3-5 Multiple declarations for an identifier in the same namespace shall not straddle a using-declaration for that identifier. required 0
Total 3359
14
Rule Description Mode Total
7-3-6 using-directives and using-declarations (excluding class scope or function scope using-declarations) shall not be used in header f required 9
iles.
7-4-2 Assembler instructions shall only be introduced using the asm declaration. required 0
7-4-3 Assembly language shall be encapsulated and isolated. required 0
7-5-1 A function shall not return a reference or a pointer to an automatic variable (including parameters), defined within the function required 0
.
7-5-2 The address of an object with automatic storage shall not be assigned to another object that may persist after the first object has required 0
ceased to exist.
7-5-3 A function shall not return a reference or a pointer to a parameter that is passed by reference or const reference. required 0
8-0-1 An init-declarator-list or a member-declarator-list shall consist of a single init-declarator or member-declarator respectively. required 15
8-3-1 Parameters in an overriding virtual function shall either use the same default arguments as the function they override, or else s required 0
hall not specify any default arguments.
8-4-1 Functions shall not be defined using the ellipsis notation. required 0
8-4-2 The identifiers used for the parameters in a re-declaration of a function shall be identical to those in the declaration. required 1
8-4-3 All exit paths from a function with non-void return type shall have an explicit return statement with an expression. required 1
8-4-4 A function identifier shall either be used to call the function or it shall be preceded by &. required 1
8-5-1 All variables shall have a defined value before they are used. required 4
8-5-2 Braces shall be used to indicate and match the structure in the non-zero initialization of arrays and structures. required 0
8-5-3 In an enumerator list, the = construct shall not be used to explicitly initialize members other than the first, unless all items are e required 0
xplicitly initialized.
9-3-1 const member functions shall not return non-const pointers or references to class-data. required 0
9-3-2 Member functions shall not return non-const handles to class-data. required 0
9-3-3 If a member function can be made static then it shall be made static, otherwise if it can be made const then it shall be made cons required 86
t.
9-5-1 Unions shall not be used. required 2
9-6-2 Bit-fields shall be either bool type or an explicitly unsigned or signed integral type. required 0
9-6-3 Bit-fields shall not have enum type. required 274
9-6-4 Named bit-fields with signed integer type shall have a length of more than one bit. required 0
Total 3359
15
MISRA C++:2008 Results
Table 1.1. C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link]
ID Rule Message Function Severity Status Comment
817 7-1-1 A variable which is not modified shall be const qualified. ABCMInterface::ABCMInterface Unset Unreviewed
The pointer parameter 'pMGCMMsgComm' points to the same address d (MGCMMsgCommunicator*)
uring its lifetime. The pointer can be declared as 'T* const'.
1651 18-4-1 Dynamic heap memory allocation shall not be used. ABCMInterface::ABCMInterface Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out (MGCMMsgCommunicator*)
of memory state.
1986 9-3-3 If a member function can be made static then it shall be made static, oth ABCMInterface::InitializeUdpCo Unset Unreviewed
erwise if it can be made const then it shall be made const. mm()
The member function 'InitializeUdpComm' shall be made const.
1080 5-2-5 A cast shall not remove any const or volatile qualification from the type ABCMInterface::InitializeUdpCo Unset Unreviewed
of a pointer or reference. mm()
Cast from type 'const char *' to type 'char *' removes qualifiers.
1628 5-2-4 C-style casts (other than void casts) and functional notation casts (other ABCMInterface::InitializeUdpCo Unset Unreviewed
than explicit constructor calls) shall not be used. mm()
1403 7-1-1 A variable which is not modified shall be const qualified. ABCMInterface::RecvMsgFromA Unset Unreviewed
The value of variable 'csci' does not change after initialization. The vari BCM()
able can be declared 'const'.
939 5-0-11 The plain char type shall only be used for the storage and use of charact ABCMInterface::RecvMsgFromA Unset Unreviewed
er values. BCM()
Value of type signed integer is implicitly converted to plain char.
133 5-0-4 An implicit integral conversion shall not change the signedness of the u ABCMInterface::RecvMsgFromA Unset Unreviewed
nderlying type. BCM()
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
943 5-0-3 A cvalue expression shall not be implicitly converted to a different unde ABCMInterface::RecvMsgFromA Unset Unreviewed
rlying type. BCM()
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
1356 6-2-1 Assignment operators shall not be used in sub-expressions. ABCMInterface::RecvMsgFromA Unset Unreviewed
BCM()
2087 2-7-2 Sections of code shall not be "commented out" using C-style comments. ABCMInterface::RecvMsgFromA Unset Unreviewed
BCM()
16
ID Rule Message Function Severity Status Comment
1141 5-0-15 Array indexing shall be the only form of pointer arithmetic. ABCMInterface::RecvMsgFromA Unset Unreviewed
BCM()
2307 5-0-4 An implicit integral conversion shall not change the signedness of the u ABCMInterface::RecvMsgFromA Unset Unreviewed
nderlying type. BCM()
Implicit conversion of one of the binary + operands whose underlying t
ypes are 'signed int' and 'unsigned int'.
793 0-1-7 The value returned by a function having a non-void return type that is n ABCMInterface::RecvMsgFromA Unset Unreviewed
ot an overloaded operator shall always be used. BCM()
Value returned by function MsgQSend is not used.
1687 5-0-13 The condition of an if-statement and the condition of an iteration-state ABCMInterface::ABCMInterface Unset Unreviewed
ment shall have type bool. Task(void*)
1386 5-0-13 The condition of an if-statement and the condition of an iteration-state ABCMInterface::ABCMInterface Unset Unreviewed
ment shall have type bool. Task(void*)
888 0-1-7 The value returned by a function having a non-void return type that is n ABCMInterface::ABCMInterface Unset Unreviewed
ot an overloaded operator shall always be used. Task(void*)
Value returned by function usleep is not used.
1147 0-1-7 The value returned by a function having a non-void return type that is n ABCMInterface::ABCMInterface Unset Unreviewed
ot an overloaded operator shall always be used. Task(void*)
Value returned by function usleep is not used.
1686 0-1-1 A project shall not contain unreachable code. ABCMInterface::ABCMInterface Unset Unreviewed
Statement is unreachable Task(void*)
17
ID Rule Message Function Severity Status Comment
1536 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::AbcmMsgHa Unset Unreviewed
The pointer parameter 'recvBuff' points to the same address during its li ndler(char*, MgcmFpgaMsgHan
fetime. The pointer can be declared as 'T* const'. dler*)
1692 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::AbcmMsgHa Unset Unreviewed
The pointer parameter 'pMgcmFpgaMsg' points to the same address dur ndler(char*, MgcmFpgaMsgHan
ing its lifetime. The pointer can be declared as 'T* const'. dler*)
1437 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::ExtractMess Unset Unreviewed
The value of variable 'msgKind' does not change after initialization. The age()
variable can be declared 'const'.
2469 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgKind is visually similar to other identifiers.
1145 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ExtractMess Unset Unreviewed
than explicit constructor calls) shall not be used. age()
2100 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ExtractMess Unset Unreviewed
er type, either directly or indirectly. age()
196 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::ExtractMess Unset Unreviewed
age()
696 2-10-2 Identifiers declared in an inner scope shall not hide an identifier declar AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
ed in an outer scope. (state_enumerated_type)
167 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
(state_enumerated_type)
1252 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
(state_enumerated_type)
1878 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
(state_enumerated_type)
916 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
than explicit constructor calls) shall not be used. (state_enumerated_type)
989 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
er type, either directly or indirectly. (state_enumerated_type)
1549 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
2102 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
than explicit constructor calls) shall not be used. (state_enumerated_type)
627 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
er type, either directly or indirectly. (state_enumerated_type)
600 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
b> shall not be used. (state_enumerated_type)
18
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
3391 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
hall be tested. (state_enumerated_type)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
9 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::LbitInfoMsg Unset Unreviewed
ot an overloaded operator shall always be used. (state_enumerated_type)
Value returned by function system is not used.
320 9-3-3 If a member function can be made static then it shall be made static, oth AbcmMsgHandler::FillCbitInfo(i Unset Unreviewed
erwise if it can be made const then it shall be made const. nf_lbit_information&)
The member function 'FillCbitInfo' shall be made const.
46 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::FillCbitInfo(i Unset Unreviewed
nf_lbit_information&)
1272 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::FillCbitInfo(i Unset Unreviewed
nf_lbit_information&)
1763 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::FillCbitInfo(i Unset Unreviewed
nf_lbit_information&)
1782 9-3-3 If a member function can be made static then it shall be made static, oth AbcmMsgHandler::FillIbitInfo(i Unset Unreviewed
erwise if it can be made const then it shall be made const. nf_lbit_information&)
The member function 'FillIbitInfo' shall be made const.
1189 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ReqXwareVersion is visually similar to other identifiers.
2464 9-3-3 If a member function can be made static then it shall be made static, oth AbcmMsgHandler::ReqXwareVe Unset Unreviewed
erwise if it can be made const then it shall be made const. rsion()
The member function 'ReqXwareVersion' shall be made const.
2090 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier reqXwareVersion is visually similar to other identifiers.
1909 3-4-1 An identifier declared to be an object or type shall be defined in a block AbcmMsgHandler::ReqXwareVe Unset Unreviewed
that minimizes its visibility. rsion()
1936 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ReqXwareVe Unset Unreviewed
rsion()
796 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::ReqXwareVe Unset Unreviewed
rsion()
498 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ReqXwareVe Unset Unreviewed
rsion()
19
ID Rule Message Function Severity Status Comment
2006 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ReqXwareVe Unset Unreviewed
ot an overloaded operator shall always be used. rsion()
Value returned by function UdpDataSend is not used.
2347 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ReqXwareVe Unset Unreviewed
than explicit constructor calls) shall not be used. rsion()
601 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ReqXwareVe Unset Unreviewed
er type, either directly or indirectly. rsion()
465 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
2210 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ReqXwareVe Unset Unreviewed
than explicit constructor calls) shall not be used. rsion()
1310 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ReqXwareVe Unset Unreviewed
er type, either directly or indirectly. rsion()
375 6-6-5 A function shall have a single point of exit at the end of the function. AbcmMsgHandler::ProcessAnsX Unset Unreviewed
wareVersion()
471 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsX Unset Unreviewed
than explicit constructor calls) shall not be used. wareVersion()
176 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsX Unset Unreviewed
er type, either directly or indirectly. wareVersion()
27 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
1298 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsX Unset Unreviewed
than explicit constructor calls) shall not be used. wareVersion()
2179 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsX Unset Unreviewed
er type, either directly or indirectly. wareVersion()
1480 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsX Unset Unreviewed
than explicit constructor calls) shall not be used. wareVersion()
1623 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsX Unset Unreviewed
er type, either directly or indirectly. wareVersion()
372 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsX Unset Unreviewed
than explicit constructor calls) shall not be used. wareVersion()
2112 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsX Unset Unreviewed
er type, either directly or indirectly. wareVersion()
1892 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsX Unset Unreviewed
than explicit constructor calls) shall not be used. wareVersion()
20
ID Rule Message Function Severity Status Comment
405 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsX Unset Unreviewed
er type, either directly or indirectly. wareVersion()
161 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
1017 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
420 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sprintf is not used.
1194 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3354 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::FetchLatestF Unset Unreviewed
hall be tested. ileFromAbcm()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1138 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
1815 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sleep is not used.
812 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
10 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sprintf is not used.
159 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sleep is not used.
1771 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
556 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function printf is not used.
237 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
21
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
3355 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::FetchLatestF Unset Unreviewed
hall be tested. ileFromAbcm()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1965 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
1517 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
1419 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sprintf is not used.
1081 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3356 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::FetchLatestF Unset Unreviewed
hall be tested. ileFromAbcm()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1554 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
1474 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
859 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sprintf is not used.
623 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3357 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::FetchLatestF Unset Unreviewed
hall be tested. ileFromAbcm()
Return value of 'system' not checked.
22
ID Rule Message Function Severity Status Comment
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1467 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
2278 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
1352 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function printf is not used.
1997 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
2371 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
2425 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
1143 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sprintf is not used.
484 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1315 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
866 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sleep is not used.
519 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
736 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sprintf is not used.
607 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sleep is not used.
23
ID Rule Message Function Severity Status Comment
1991 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
1508 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function printf is not used.
578 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
system invokes a command processor. This can result in exploitable vul
nerabilities.
2002 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
1720 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
2023 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sprintf is not used.
418 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
system invokes a command processor. This can result in exploitable vul
nerabilities.
2291 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
838 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
1179 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function sprintf is not used.
1611 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1401 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
1465 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::FetchLatestF Unset Unreviewed
ileFromAbcm()
24
ID Rule Message Function Severity Status Comment
1120 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function printf is not used.
2158 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::FetchLatestF Unset Unreviewed
b> shall not be used. ileFromAbcm()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3358 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::FetchLatestF Unset Unreviewed
hall be tested. ileFromAbcm()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2025 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::FetchLatestF Unset Unreviewed
ot an overloaded operator shall always be used. ileFromAbcm()
Value returned by function system is not used.
649 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessCmd Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLruXwareUpdate()
1268 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessCmd Unset Unreviewed
er type, either directly or indirectly. BsnLruXwareUpdate()
282 8-0-1 An init-declarator-list or a member-declarator-list shall consist of a singl AbcmMsgHandler::ProcessCmd Unset Unreviewed
e init-declarator or member-declarator respectively. BsnLruXwareUpdate()
3360 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::ProcessCmd Unset Unreviewed
hall be tested. BsnLruXwareUpdate()
Return value of 'gettimeofday' not checked.
'gettimeofday' returns 0 on success or -1 on failure.
To ignore this defect, cast 'gettimeofday' to void.
731 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function gettimeofday is not used.
2201 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessCmd Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLruXwareUpdate()
1182 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessCmd Unset Unreviewed
er type, either directly or indirectly. BsnLruXwareUpdate()
2167 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessCmd Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLruXwareUpdate()
1873 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessCmd Unset Unreviewed
er type, either directly or indirectly. BsnLruXwareUpdate()
25
ID Rule Message Function Severity Status Comment
215 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessCmd Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLruXwareUpdate()
389 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessCmd Unset Unreviewed
er type, either directly or indirectly. BsnLruXwareUpdate()
1231 5-2-1 Each operand of a logical && or || shall be a postfix-expression. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
2127 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
776 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
2353 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function sprintf is not used.
1285 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::ProcessCmd Unset Unreviewed
b> shall not be used. BsnLruXwareUpdate()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3362 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::ProcessCmd Unset Unreviewed
hall be tested. BsnLruXwareUpdate()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1160 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function system is not used.
14 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
733 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function sprintf is not used.
927 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function sleep is not used.
2070 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::ProcessCmd Unset Unreviewed
b> shall not be used. BsnLruXwareUpdate()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3363 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::ProcessCmd Unset Unreviewed
hall be tested. BsnLruXwareUpdate()
26
ID Rule Message Function Severity Status Comment
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
245 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function system is not used.
1036 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
1125 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function sprintf is not used.
1312 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
497 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function sprintf is not used.
1747 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::ProcessCmd Unset Unreviewed
b> shall not be used. BsnLruXwareUpdate()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3364 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::ProcessCmd Unset Unreviewed
hall be tested. BsnLruXwareUpdate()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2270 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function system is not used.
2271 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
76 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function sprintf is not used.
1945 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::ProcessCmd Unset Unreviewed
b> shall not be used. BsnLruXwareUpdate()
system invokes a command processor. This can result in exploitable vul
nerabilities.
27
ID Rule Message Function Severity Status Comment
3365 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::ProcessCmd Unset Unreviewed
hall be tested. BsnLruXwareUpdate()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2219 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function system is not used.
1871 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
1365 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function printf is not used.
3366 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::ProcessCmd Unset Unreviewed
hall be tested. BsnLruXwareUpdate()
Return value of 'gettimeofday' not checked.
'gettimeofday' returns 0 on success or -1 on failure.
To ignore this defect, cast 'gettimeofday' to void.
2390 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function gettimeofday is not used.
387 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::ProcessCmd Unset Unreviewed
b> shall not be used. BsnLruXwareUpdate()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3367 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::ProcessCmd Unset Unreviewed
hall be tested. BsnLruXwareUpdate()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
70 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessCmd Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruXwareUpdate()
Value returned by function system is not used.
1387 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
1616 5-2-1 Each operand of a logical && or || shall be a postfix-expression. AbcmMsgHandler::ProcessCmd Unset Unreviewed
BsnLruXwareUpdate()
28
ID Rule Message Function Severity Status Comment
323 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessReqB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruInformation()
508 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessReqB Unset Unreviewed
er type, either directly or indirectly. snLruInformation()
1971 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessReqB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruInformation()
1879 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessReqB Unset Unreviewed
er type, either directly or indirectly. snLruInformation()
2498 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
99 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessReqB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruInformation()
34 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessReqB Unset Unreviewed
er type, either directly or indirectly. snLruInformation()
1316 3-4-1 An identifier declared to be an object or type shall be defined in a block AbcmMsgHandler::ProcessAnsB Unset Unreviewed
that minimizes its visibility. snLruInformation()
1759 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ProcessAnsB Unset Unreviewed
snLruInformation()
1899 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::ProcessAnsB Unset Unreviewed
snLruInformation()
1770 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ProcessAnsB Unset Unreviewed
snLruInformation()
2362 5-0-6 An implicit integral or floating-point conversion shall not reduce the siz AbcmMsgHandler::ProcessAnsB Unset Unreviewed
e of the underlying type. snLruInformation()
Implicit conversion of the expression of underlying type 'unsigned int' t
o the type 'unsigned short' that is not a wider integer type of the same si
gnedness.
1951 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessAnsB Unset Unreviewed
ot an overloaded operator shall always be used. snLruInformation()
Value returned by function UdpDataSend is not used.
1907 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruInformation()
44 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsB Unset Unreviewed
er type, either directly or indirectly. snLruInformation()
301 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
29
ID Rule Message Function Severity Status Comment
1349 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruInformation()
2275 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsB Unset Unreviewed
er type, either directly or indirectly. snLruInformation()
734 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ReqBsnLruConfiguration is visually similar to other identifier
s.
1695 9-3-3 If a member function can be made static then it shall be made static, oth AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
erwise if it can be made const then it shall be made const. onfiguration()
The member function 'ReqBsnLruConfiguration' shall be made const.
54 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
onfiguration()
353 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
onfiguration()
129 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
onfiguration()
690 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
ot an overloaded operator shall always be used. onfiguration()
Value returned by function UdpDataSend is not used.
1353 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
than explicit constructor calls) shall not be used. onfiguration()
2520 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
er type, either directly or indirectly. onfiguration()
234 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
1205 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
than explicit constructor calls) shall not be used. onfiguration()
1263 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ReqBsnLruC Unset Unreviewed
er type, either directly or indirectly. onfiguration()
468 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruConfiguration()
842 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsB Unset Unreviewed
er type, either directly or indirectly. snLruConfiguration()
419 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
30
ID Rule Message Function Severity Status Comment
2303 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruConfiguration()
541 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsB Unset Unreviewed
er type, either directly or indirectly. snLruConfiguration()
49 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessAnsB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruConfiguration()
1464 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessAnsB Unset Unreviewed
er type, either directly or indirectly. snLruConfiguration()
274 9-3-3 If a member function can be made static then it shall be made static, oth AbcmMsgHandler::RequestIbitI Unset Unreviewed
erwise if it can be made const then it shall be made const. nformation()
The member function 'RequestIbitInformation' shall be made const.
2079 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier reqIbitInfo is visually similar to other identifiers.
2519 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::RequestIbitI Unset Unreviewed
than explicit constructor calls) shall not be used. nformation()
2213 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::RequestIbitI Unset Unreviewed
er type, either directly or indirectly. nformation()
2386 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::RequestIbitI Unset Unreviewed
than explicit constructor calls) shall not be used. nformation()
1325 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::RequestIbitI Unset Unreviewed
er type, either directly or indirectly. nformation()
500 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::RequestIbitI Unset Unreviewed
than explicit constructor calls) shall not be used. nformation()
20 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::RequestIbitI Unset Unreviewed
er type, either directly or indirectly. nformation()
2057 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier InfBsnLruXwareUpdateStatus is visually similar to other ident
ifiers.
155 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier infBsnLruXwareUpdateStatus is visually similar to other ident
ifiers.
542 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::InfBsnLruX Unset Unreviewed
wareUpdateStatus()
2144 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::InfBsnLruX Unset Unreviewed
wareUpdateStatus()
1902 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::InfBsnLruX Unset Unreviewed
wareUpdateStatus()
31
ID Rule Message Function Severity Status Comment
1930 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::InfBsnLruX Unset Unreviewed
than explicit constructor calls) shall not be used. wareUpdateStatus()
1967 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::InfBsnLruX Unset Unreviewed
er type, either directly or indirectly. wareUpdateStatus()
778 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::InfBsnLruX Unset Unreviewed
than explicit constructor calls) shall not be used. wareUpdateStatus()
979 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::InfBsnLruX Unset Unreviewed
er type, either directly or indirectly. wareUpdateStatus()
1573 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::InfBsnLruX Unset Unreviewed
wareUpdateStatus()
1067 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::InfBsnLruX Unset Unreviewed
wareUpdateStatus()
325 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::InfBsnLruX Unset Unreviewed
than explicit constructor calls) shall not be used. wareUpdateStatus()
28 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::InfBsnLruX Unset Unreviewed
er type, either directly or indirectly. wareUpdateStatus()
1863 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
226 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::InfBsnLruX Unset Unreviewed
than explicit constructor calls) shall not be used. wareUpdateStatus()
241 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::InfBsnLruX Unset Unreviewed
er type, either directly or indirectly. wareUpdateStatus()
2175 9-3-3 If a member function can be made static then it shall be made static, oth AbcmMsgHandler::ProcessTem Unset Unreviewed
erwise if it can be made const then it shall be made const. peratureOverflowCheck()
The member function 'ProcessTemperatureOverflowCheck' shall be ma
de const.
2251 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessTem Unset Unreviewed
than explicit constructor calls) shall not be used. peratureOverflowCheck()
2019 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessTem Unset Unreviewed
er type, either directly or indirectly. peratureOverflowCheck()
947 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessTem Unset Unreviewed
than explicit constructor calls) shall not be used. peratureOverflowCheck()
256 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessTem Unset Unreviewed
er type, either directly or indirectly. peratureOverflowCheck()
1236 5-0-4 An implicit integral conversion shall not change the signedness of the u AbcmMsgHandler::ProcessTem Unset Unreviewed
nderlying type. peratureOverflowCheck()
32
ID Rule Message Function Severity Status Comment
Implicit conversion of one of the binary >= operands whose underlying
types are 'signed int:8' and 'unsigned short'.
1262 5-0-4 An implicit integral conversion shall not change the signedness of the u AbcmMsgHandler::ProcessTem Unset Unreviewed
nderlying type. peratureOverflowCheck()
Implicit conversion of one of the binary >= operands whose underlying
types are 'signed int:8' and 'unsigned short'.
1702 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessTem Unset Unreviewed
than explicit constructor calls) shall not be used. peratureOverflowCheck()
1304 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessTem Unset Unreviewed
er type, either directly or indirectly. peratureOverflowCheck()
1953 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ProcessTem Unset Unreviewed
peratureOverflowCheck()
2536 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::ProcessTem Unset Unreviewed
peratureOverflowCheck()
925 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ProcessTem Unset Unreviewed
peratureOverflowCheck()
425 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ProcessTem Unset Unreviewed
peratureOverflowCheck()
2399 5-0-4 An implicit integral conversion shall not change the signedness of the u AbcmMsgHandler::ProcessTem Unset Unreviewed
nderlying type. peratureOverflowCheck()
Implicit conversion of one of the binary >= operands whose underlying
types are 'signed int:8' and 'unsigned short'.
1807 5-0-4 An implicit integral conversion shall not change the signedness of the u AbcmMsgHandler::ProcessTem Unset Unreviewed
nderlying type. peratureOverflowCheck()
Implicit conversion of one of the binary >= operands whose underlying
types are 'signed int:8' and 'unsigned short'.
680 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::ProcessTem Unset Unreviewed
peratureOverflowCheck()
472 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::ProcessTem Unset Unreviewed
peratureOverflowCheck()
1511 5-0-4 An implicit integral conversion shall not change the signedness of the u AbcmMsgHandler::ProcessTem Unset Unreviewed
nderlying type. peratureOverflowCheck()
Implicit conversion of one of the binary >= operands whose underlying
types are 'signed int:8' and 'unsigned short'.
2212 5-0-4 An implicit integral conversion shall not change the signedness of the u AbcmMsgHandler::ProcessTem Unset Unreviewed
nderlying type. peratureOverflowCheck()
Implicit conversion of one of the binary >= operands whose underlying
types are 'signed int:8' and 'unsigned short'.
33
ID Rule Message Function Severity Status Comment
1786 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessTem Unset Unreviewed
than explicit constructor calls) shall not be used. peratureOverflowCheck()
1708 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessTem Unset Unreviewed
er type, either directly or indirectly. peratureOverflowCheck()
1111 5-2-4 C-style casts (other than void casts) and functional notation casts (other AbcmMsgHandler::ProcessTem Unset Unreviewed
than explicit constructor calls) shall not be used. peratureOverflowCheck()
1203 5-2-7 An object with pointer type shall not be converted to an unrelated point AbcmMsgHandler::ProcessTem Unset Unreviewed
er type, either directly or indirectly. peratureOverflowCheck()
1839 5-0-4 An implicit integral conversion shall not change the signedness of the u AbcmMsgHandler::ProcessTem Unset Unreviewed
nderlying type. peratureOverflowCheck()
Implicit conversion of one of the binary >= operands whose underlying
types are 'signed int:8' and 'unsigned short'.
1622 5-0-4 An implicit integral conversion shall not change the signedness of the u AbcmMsgHandler::ProcessTem Unset Unreviewed
nderlying type. peratureOverflowCheck()
Implicit conversion of one of the binary >= operands whose underlying
types are 'signed int:8' and 'unsigned short'.
1237 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::ProcessTem Unset Unreviewed
b> shall not be used. peratureOverflowCheck()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3370 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::ProcessTem Unset Unreviewed
hall be tested. peratureOverflowCheck()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1860 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::ProcessTem Unset Unreviewed
ot an overloaded operator shall always be used. peratureOverflowCheck()
Value returned by function system is not used.
956 9-3-3 If a member function can be made static then it shall be made static, oth AbcmMsgHandler::RemoteProg Unset Unreviewed
erwise if it can be made const then it shall be made const. rammingforXGCM()
The member function 'RemoteProgrammingforXGCM' shall be made co
nst.
1563 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
183 0-1-4 A project shall not contain non-volatile POD variables having only one u AbcmMsgHandler::RemoteProg Unset Unreviewed
se. rammingforXGCM()
Variable 'mgcm_fw_name' is used only once, that is, during initialization
.
34
ID Rule Message Function Severity Status Comment
2007 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The elements of array 'mgcm_fw_name' are not modified after initializa rammingforXGCM()
tion. The elements of array can be declared 'const'.
2358 0-1-6 A project shall not contain instances of non-volatile variables being give AbcmMsgHandler::RemoteProg Unset Unreviewed
n values that are never subsequently used. rammingforXGCM()
Variable 'mgcm_fw_name' is initialized and never used.
2913 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'mgcm_fw_name' is never used or used only in unreachable co
de.
1115 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
2223 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function sprintf is not used.
1079 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
988 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1989 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
156 3-4-1 An identifier declared to be an object or type shall be defined in a block AbcmMsgHandler::RemoteProg Unset Unreviewed
that minimizes its visibility. rammingforXGCM()
2470 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1472 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1830 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3372 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
35
ID Rule Message Function Severity Status Comment
216 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
917 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3373 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1114 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1649 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3374 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2487 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1057 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3375 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1060 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
36
ID Rule Message Function Severity Status Comment
2394 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3376 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
536 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
783 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3377 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1976 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
207 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3378 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1291 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1884 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
37
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
3379 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1859 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
964 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1491 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1553 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3380 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2532 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
510 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1870 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
448 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function sleep is not used.
124 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
38
ID Rule Message Function Severity Status Comment
2334 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The value of variable 'result' does not change after initialization. The va rammingforXGCM()
riable can be declared 'const'.
1477 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1462 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
2089 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
789 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1911 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1572 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1808 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
617 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3381 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
740 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1412 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1875 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
39
ID Rule Message Function Severity Status Comment
381 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function sleep is not used.
1743 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1906 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The elements of array 'bs_array' are not modified after initialization. Th rammingforXGCM()
e elements of array can be declared 'const'.
1282 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
277 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1703 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function sleep is not used.
21 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The elements of array 'file_to_copy_path' are not modified after initializ rammingforXGCM()
ation. The elements of array can be declared 'const'.
711 0-1-6 A project shall not contain instances of non-volatile variables being give AbcmMsgHandler::RemoteProg Unset Unreviewed
n values that are never subsequently used. rammingforXGCM()
Variable 'file_to_copy_path' is initialized and never used.
889 0-1-4 A project shall not contain non-volatile POD variables having only one u AbcmMsgHandler::RemoteProg Unset Unreviewed
se. rammingforXGCM()
Variable 'file_to_copy_path' is used only once, that is, during initializatio
n.
3105 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'file_to_copy_path' is never used or used only in unreachable c
ode.
911 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3382 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
40
ID Rule Message Function Severity Status Comment
397 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1558 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The elements of array 'sample_array' are not modified after initializatio rammingforXGCM()
n. The elements of array can be declared 'const'.
704 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
886 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1318 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The value of variable 'result_1' does not change after initialization. The rammingforXGCM()
variable can be declared 'const'.
634 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1845 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
514 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1813 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1678 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
2146 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
2400 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1900 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
3383 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'fclose' not checked.
'fclose' returns zero on success or EOF on failure.
To ignore this defect, cast 'fclose' to void.
41
ID Rule Message Function Severity Status Comment
2055 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function fclose is not used.
262 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
107 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
2372 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
253 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1219 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3384 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2528 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
189 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3385 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1834 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1135 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
42
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
3386 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::RemoteProg Unset Unreviewed
hall be tested. rammingforXGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2040 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
726 6-4-2 All if ... else if constructs shall be terminated with an else clause. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1922 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1955 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
2086 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function sprintf is not used.
2516 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1775 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
582 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1691 3-4-1 An identifier declared to be an object or type shall be defined in a block AbcmMsgHandler::RemoteProg Unset Unreviewed
that minimizes its visibility. rammingforXGCM()
68 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
171 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
94 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
43
ID Rule Message Function Severity Status Comment
637 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
2351 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
2145 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1659 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1413 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
39 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
827 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
806 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1455 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
876 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
833 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
875 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
44
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
780 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
633 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
2243 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
828 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1187 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
2020 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
832 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1757 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1952 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
613 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function sleep is not used.
407 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
907 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The value of variable 'result' does not change after initialization. The va rammingforXGCM()
riable can be declared 'const'.
2017 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
45
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
2035 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
438 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
2451 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1198 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
252 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1329 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
43 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
2414 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1943 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1849 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1562 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function sleep is not used.
374 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
2149 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The elements of array 'bs_array' are not modified after initialization. Th rammingforXGCM()
e elements of array can be declared 'const'.
2457 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
46
ID Rule Message Function Severity Status Comment
1767 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1630 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function sleep is not used.
160 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The elements of array 'file_to_copy_path' are not modified after initializ rammingforXGCM()
ation. The elements of array can be declared 'const'.
1452 0-1-6 A project shall not contain instances of non-volatile variables being give AbcmMsgHandler::RemoteProg Unset Unreviewed
n values that are never subsequently used. rammingforXGCM()
Variable 'file_to_copy_path' is initialized and never used.
2200 0-1-4 A project shall not contain non-volatile POD variables having only one u AbcmMsgHandler::RemoteProg Unset Unreviewed
se. rammingforXGCM()
Variable 'file_to_copy_path' is used only once, that is, during initializatio
n.
2856 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'file_to_copy_path' is never used or used only in unreachable c
ode.
616 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1343 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
299 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The elements of array 'sample_array' are not modified after initializatio rammingforXGCM()
n. The elements of array can be declared 'const'.
327 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
187 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
2456 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::RemoteProg Unset Unreviewed
The value of variable 'result_1' does not change after initialization. The rammingforXGCM()
variable can be declared 'const'.
676 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
47
ID Rule Message Function Severity Status Comment
2477 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1196 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1314 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
588 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
750 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
2073 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
379 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1984 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function fclose is not used.
803 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
2194 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
2346 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::RemoteProg Unset Unreviewed
rammingforXGCM()
1208 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function printf is not used.
1302 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1614 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
741 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
48
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
847 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
2395 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::RemoteProg Unset Unreviewed
b> shall not be used. rammingforXGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
1732 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::RemoteProg Unset Unreviewed
ot an overloaded operator shall always be used. rammingforXGCM()
Value returned by function system is not used.
1173 9-3-3 If a member function can be made static then it shall be made static, oth AbcmMsgHandler::CmdXware Unset Unreviewed
erwise if it can be made const then it shall be made const. ModeRemoteProgrammingforX
The member function 'CmdXwareModeRemoteProgrammingforXGCM' s GCM()
hall be made const.
174 0-1-2 A project shall not contain infeasible paths. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
2241 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
2339 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function sprintf is not used. GCM()
1827 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
905 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
2508 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
1422 3-4-1 An identifier declared to be an object or type shall be defined in a block AbcmMsgHandler::CmdXware Unset Unreviewed
that minimizes its visibility. ModeRemoteProgrammingforX
GCM()
2310 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
49
ID Rule Message Function Severity Status Comment
1794 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
1733 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3337 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1570 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
1327 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3338 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2131 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
38 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3339 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1129 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
50
ID Rule Message Function Severity Status Comment
2300 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3340 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1693 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
53 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3341 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
839 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
338 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3342 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2424 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
175 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
GCM()
51
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
3343 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
101 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
1539 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3344 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1877 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
2147 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3345 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
82 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
2266 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
52
ID Rule Message Function Severity Status Comment
219 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
572 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3346 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
996 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
1804 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
200 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
1595 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function sleep is not used. GCM()
658 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
1049 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::CmdXware Unset Unreviewed
The value of variable 'result' does not change after initialization. The va ModeRemoteProgrammingforX
riable can be declared 'const'. GCM()
1919 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
1478 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
53
ID Rule Message Function Severity Status Comment
862 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
1223 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
698 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
2427 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
1696 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
1937 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3347 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
127 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
1024 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
1064 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
443 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function sleep is not used. GCM()
693 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
54
ID Rule Message Function Severity Status Comment
364 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::CmdXware Unset Unreviewed
The elements of array 'bs_array' are not modified after initialization. Th ModeRemoteProgrammingforX
e elements of array can be declared 'const'. GCM()
870 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
2282 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
1359 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function sleep is not used. GCM()
255 0-1-4 A project shall not contain non-volatile POD variables having only one u AbcmMsgHandler::CmdXware Unset Unreviewed
se. ModeRemoteProgrammingforX
Variable 'file_to_copy_path' is used only once, that is, during initializatio GCM()
n.
671 0-1-6 A project shall not contain instances of non-volatile variables being give AbcmMsgHandler::CmdXware Unset Unreviewed
n values that are never subsequently used. ModeRemoteProgrammingforX
Variable 'file_to_copy_path' is initialized and never used. GCM()
2136 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::CmdXware Unset Unreviewed
The elements of array 'file_to_copy_path' are not modified after initializ ModeRemoteProgrammingforX
ation. The elements of array can be declared 'const'. GCM()
3015 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'file_to_copy_path' is never used or used only in unreachable c
ode.
2063 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3348 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
742 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
55
ID Rule Message Function Severity Status Comment
1018 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::CmdXware Unset Unreviewed
The elements of array 'sample_array' are not modified after initializatio ModeRemoteProgrammingforX
n. The elements of array can be declared 'const'. GCM()
313 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
24 18-0-5 The unbounded functions of library <cstring> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
1151 7-1-1 A variable which is not modified shall be const qualified. AbcmMsgHandler::CmdXware Unset Unreviewed
The value of variable 'result_1' does not change after initialization. The ModeRemoteProgrammingforX
variable can be declared 'const'. GCM()
860 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
2511 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
1361 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
767 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
1850 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
368 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
149 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
490 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
3349 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'fclose' not checked. GCM()
56
ID Rule Message Function Severity Status Comment
'fclose' returns zero on success or EOF on failure.
To ignore this defect, cast 'fclose' to void.
2525 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function fclose is not used. GCM()
222 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
906 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
1760 27-0-1 The stream input/output library <cstdio> shall not be used. AbcmMsgHandler::CmdXware Unset Unreviewed
ModeRemoteProgrammingforX
GCM()
1964 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function printf is not used. GCM()
1998 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3350 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1954 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
971 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3351 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
57
ID Rule Message Function Severity Status Comment
1680 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
931 18-0-3 The library functions abort, exit, getenv and system from library <cstdli AbcmMsgHandler::CmdXware Unset Unreviewed
b> shall not be used. ModeRemoteProgrammingforX
system invokes a command processor. This can result in exploitable vul GCM()
nerabilities.
3352 0-3-2 If a function generates error information, then that error information s AbcmMsgHandler::CmdXware Unset Unreviewed
hall be tested. ModeRemoteProgrammingforX
Return value of 'system' not checked. GCM()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
532 0-1-7 The value returned by a function having a non-void return type that is n AbcmMsgHandler::CmdXware Unset Unreviewed
ot an overloaded operator shall always be used. ModeRemoteProgrammingforX
Value returned by function system is not used. GCM()
58
ID Rule Message Function Severity Status Comment
513 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
2710 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'filerecvflag' is never used or used only in unreachable code.
1344 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1597 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ReqBsnLruConfiguration is visually similar to other identifier
s.
221 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ReqXwareVersion is visually similar to other identifiers.
2159 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier InfBsnLruXwareUpdateStatus is visually similar to other ident
ifiers.
59
ID Rule Message Function Severity Status Comment
1843 5-0-13 The condition of an if-statement and the condition of an iteration-state UdpBroadcastUtility::UDPBroad Unset Unreviewed
ment shall have type bool. CastInit(const char*, int)
2110 5-0-3 A cvalue expression shall not be implicitly converted to a different unde UdpBroadcastUtility::UDPBroad Unset Unreviewed
rlying type. CastInit(const char*, int)
Implicit conversion of complex expression of underlying type 'unknown
' to 'bool'.
1728 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo UdpBroadcastUtility::UDPBroad Unset Unreviewed
rating Technical Corrigendum 1". CastInit(const char*, int)
No operator "<" matches these operands
980 27-0-1 The stream input/output library <cstdio> shall not be used. UdpBroadcastUtility::UDPBroad Unset Unreviewed
CastInit(const char*, int)
2368 9-3-3 If a member function can be made static then it shall be made static, oth UdpBroadcastUtility::UDPBroad Unset Unreviewed
erwise if it can be made const then it shall be made const. CastSendData(char*, int)
The member function 'UDPBroadCastSendData' shall be made const.
1727 7-1-1 A variable which is not modified shall be const qualified. UdpBroadcastUtility::UDPBroad Unset Unreviewed
The pointer parameter 'buf' points to the same address during its lifetim CastSendData(char*, int)
e. The pointer can be declared as 'T* const'.
2074 7-1-2 A pointer or reference parameter in a function shall be declared as poin UdpBroadcastUtility::UDPBroad Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi CastSendData(char*, int)
fied.
1924 5-0-3 A cvalue expression shall not be implicitly converted to a different unde UdpBroadcastUtility::UDPBroad Unset Unreviewed
rlying type. CastSendData(char*, int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
1947 5-0-4 An implicit integral conversion shall not change the signedness of the u UdpBroadcastUtility::UDPBroad Unset Unreviewed
nderlying type. CastSendData(char*, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
1421 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpBroadcastUtility::UDPBroad Unset Unreviewed
than explicit constructor calls) shall not be used. CastSendData(char*, int)
1588 5-2-7 An object with pointer type shall not be converted to an unrelated point UdpBroadcastUtility::UDPBroad Unset Unreviewed
er type, either directly or indirectly. CastSendData(char*, int)
1199 9-3-3 If a member function can be made static then it shall be made static, oth UdpBroadcastUtility::UDPBroad Unset Unreviewed
erwise if it can be made const then it shall be made const. CastReceiveData(char*, int)
The member function 'UDPBroadCastReceiveData' shall be made const.
326 7-1-1 A variable which is not modified shall be const qualified. UdpBroadcastUtility::UDPBroad Unset Unreviewed
The pointer parameter 'buf' points to the same address during its lifetim CastReceiveData(char*, int)
e. The pointer can be declared as 'T* const'.
60
ID Rule Message Function Severity Status Comment
2206 5-0-4 An implicit integral conversion shall not change the signedness of the u UdpBroadcastUtility::UDPBroad Unset Unreviewed
nderlying type. CastReceiveData(char*, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
2296 5-0-3 A cvalue expression shall not be implicitly converted to a different unde UdpBroadcastUtility::UDPBroad Unset Unreviewed
rlying type. CastReceiveData(char*, int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
61
ID Rule Message Function Severity Status Comment
2067 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1439 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2332 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1525 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
466 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1579 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2535 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
138 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1376 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
225 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
932 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1566 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1721 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2239 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1207 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1938 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
403 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
16 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
62
ID Rule Message Function Severity Status Comment
158 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1658 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
18 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
507 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
935 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
50 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1028 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1571 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
210 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
915 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1442 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
559 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1754 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
654 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
557 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2042 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1516 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1022 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
63
ID Rule Message Function Severity Status Comment
2227 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1221 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
517 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1306 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2963 0-1-5 A project shall not contain unused type declarations. File Scope Unset Unreviewed
Type 'slbAntennaControlEnumType' is not used.
1393 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1460 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1088 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
630 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2139 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1123 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
548 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2254 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1509 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2331 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1683 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1885 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier infbsnlrustatus is visually similar to other identifiers.
1652 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier infbsnlrustatus is visually similar to other identifiers.
64
ID Rule Message Function Severity Status Comment
2166 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1904 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier switch_state_enumerated_type is visually similar to other ide
ntifiers.
2101 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
689 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier switch_ON is visually similar to other identifiers.
751 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
864 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier switch_state_enumerated_type is visually similar to other ide
ntifiers.
65
ID Rule Message Function Severity Status Comment
1761 7-1-1 A variable which is not modified shall be const qualified. CommonUtility::Reverse2Byte(c Unset Unreviewed
The pointer parameter 'pData' points to the same address during its lifet har*)
ime. The pointer can be declared as 'T* const'.
2004 7-1-1 A variable which is not modified shall be const qualified. CommonUtility::Reverse2Byte(c Unset Unreviewed
The value of variable 'temp' does not change after initialization. The var har*)
iable can be declared 'const'.
3594 8-5-1 All variables shall have a defined value before they are used. CommonUtility::Reverse2Byte(c Unset Unreviewed
Dereferenced value of local pointer pData is read before it is initialized. har*)
Additional Info:
Risk: Reading non-initialized memory can result in unexpected values.
Fix: Initialize all memory before use.
1289 5-0-15 Array indexing shall be the only form of pointer arithmetic. CommonUtility::Reverse2Byte(c Unset Unreviewed
har*)
59 5-0-15 Array indexing shall be the only form of pointer arithmetic. CommonUtility::Reverse2Byte(c Unset Unreviewed
har*)
1789 9-3-3 If a member function can be made static then it shall be made static, oth CommonUtility::GetPartNumbe Unset Unreviewed
erwise if it can be made const then it shall be made const. r(unsigned char, unsigned short
The member function 'GetPartNumber' shall be made const. *, unsigned short*)
22 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier partnumbermsb is visually similar to other identifiers.
2052 7-1-1 A variable which is not modified shall be const qualified. CommonUtility::GetPartNumbe Unset Unreviewed
The pointer parameter 'partnumbermsb' points to the same address dur r(unsigned char, unsigned short
ing its lifetime. The pointer can be declared as 'T* const'. *, unsigned short*)
745 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier partnumberlsb is visually similar to other identifiers.
2330 7-1-1 A variable which is not modified shall be const qualified. CommonUtility::GetPartNumbe Unset Unreviewed
The pointer parameter 'partnumberlsb' points to the same address duri r(unsigned char, unsigned short
ng its lifetime. The pointer can be declared as 'T* const'. *, unsigned short*)
1677 3-4-1 An identifier declared to be an object or type shall be defined in a block CommonUtility::GetPartNumbe Unset Unreviewed
that minimizes its visibility. r(unsigned char, unsigned short
*, unsigned short*)
2380 3-4-1 An identifier declared to be an object or type shall be defined in a block CommonUtility::GetPartNumbe Unset Unreviewed
that minimizes its visibility. r(unsigned char, unsigned short
*, unsigned short*)
55 3-4-1 An identifier declared to be an object or type shall be defined in a block CommonUtility::GetPartNumbe Unset Unreviewed
that minimizes its visibility. r(unsigned char, unsigned short
*, unsigned short*)
66
ID Rule Message Function Severity Status Comment
1212 0-1-2 A project shall not contain infeasible paths. CommonUtility::GetPartNumbe Unset Unreviewed
r(unsigned char, unsigned short
*, unsigned short*)
2046 6-4-2 All if ... else if constructs shall be terminated with an else clause. CommonUtility::GetPartNumbe Unset Unreviewed
r(unsigned char, unsigned short
*, unsigned short*)
1169 0-1-2 A project shall not contain infeasible paths. CommonUtility::GetPartNumbe Unset Unreviewed
r(unsigned char, unsigned short
*, unsigned short*)
1273 9-3-3 If a member function can be made static then it shall be made static, oth CommonUtility::GetSGInumber( Unset Unreviewed
erwise if it can be made const then it shall be made const. )
The member function 'GetSGInumber' shall be made const.
2 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier sgilsb is visually similar to other identifiers.
2178 8-0-1 An init-declarator-list or a member-declarator-list shall consist of a singl CommonUtility::GetSGInumber( Unset Unreviewed
e init-declarator or member-declarator respectively. )
195 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier sgimsb is visually similar to other identifiers.
575 8-0-1 An init-declarator-list or a member-declarator-list shall consist of a singl CommonUtility::GetSGInumber( Unset Unreviewed
e init-declarator or member-declarator respectively. )
344 9-3-3 If a member function can be made static then it shall be made static, oth CommonUtility::GetSerialNumb Unset Unreviewed
erwise if it can be made const then it shall be made const. er(unsigned char)
The member function 'GetSerialNumber' shall be made const.
462 6-6-5 A function shall have a single point of exit at the end of the function. CommonUtility::GetSerialNumb Unset Unreviewed
er(unsigned char)
1811 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier SerialNumber is visually similar to other identifiers.
2259 3-4-1 An identifier declared to be an object or type shall be defined in a block CommonUtility::GetSerialNumb Unset Unreviewed
that minimizes its visibility. er(unsigned char)
2503 3-4-1 An identifier declared to be an object or type shall be defined in a block CommonUtility::GetSerialNumb Unset Unreviewed
that minimizes its visibility. er(unsigned char)
2014 0-1-2 A project shall not contain infeasible paths. CommonUtility::GetSerialNumb Unset Unreviewed
er(unsigned char)
1749 2-13-2 Octal constants (other than zero) and octal escape sequences (other tha CommonUtility::GetSerialNumb Unset Unreviewed
n "\0") shall not be used. er(unsigned char)
1086 6-4-2 All if ... else if constructs shall be terminated with an else clause. CommonUtility::GetSerialNumb Unset Unreviewed
er(unsigned char)
67
ID Rule Message Function Severity Status Comment
2321 0-1-2 A project shall not contain infeasible paths. CommonUtility::GetSerialNumb Unset Unreviewed
er(unsigned char)
2273 2-13-2 Octal constants (other than zero) and octal escape sequences (other tha CommonUtility::GetSerialNumb Unset Unreviewed
n "\0") shall not be used. er(unsigned char)
1542 8-4-3 All exit paths from a function with non-void return type shall have an e CommonUtility::GetSerialNumb Unset Unreviewed
xplicit return statement with an expression. er(unsigned char)
Missing return statement in non-void function GetSerialNumber.
2108 9-3-3 If a member function can be made static then it shall be made static, oth CommonUtility::PrintWordWise Unset Unreviewed
erwise if it can be made const then it shall be made const. (unsigned short*, unsigned int)
The member function 'PrintWordWise' shall be made static.
1523 7-1-1 A variable which is not modified shall be const qualified. CommonUtility::PrintWordWise Unset Unreviewed
The pointer parameter 'data' points to the same address during its lifeti (unsigned short*, unsigned int)
me. The pointer can be declared as 'T* const'.
2355 7-1-2 A pointer or reference parameter in a function shall be declared as poin CommonUtility::PrintWordWise Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi (unsigned short*, unsigned int)
fied.
84 5-0-4 An implicit integral conversion shall not change the signedness of the u CommonUtility::PrintWordWise Unset Unreviewed
nderlying type. (unsigned short*, unsigned int)
Implicit conversion of one of the binary < operands whose underlying t
ypes are 'signed int' and 'unsigned int'.
2255 27-0-1 The stream input/output library <cstdio> shall not be used. CommonUtility::PrintWordWise Unset Unreviewed
(unsigned short*, unsigned int)
1266 0-1-7 The value returned by a function having a non-void return type that is n CommonUtility::PrintWordWise Unset Unreviewed
ot an overloaded operator shall always be used. (unsigned short*, unsigned int)
Value returned by function printf is not used.
2512 5-0-15 Array indexing shall be the only form of pointer arithmetic. CommonUtility::PrintWordWise Unset Unreviewed
(unsigned short*, unsigned int)
2360 9-3-3 If a member function can be made static then it shall be made static, oth CommonUtility::PrintByteWise( Unset Unreviewed
erwise if it can be made const then it shall be made const. unsigned char*, unsigned int)
The member function 'PrintByteWise' shall be made static.
531 7-1-2 A pointer or reference parameter in a function shall be declared as poin CommonUtility::PrintByteWise( Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi unsigned char*, unsigned int)
fied.
1578 7-1-1 A variable which is not modified shall be const qualified. CommonUtility::PrintByteWise( Unset Unreviewed
The pointer parameter 'data' points to the same address during its lifeti unsigned char*, unsigned int)
me. The pointer can be declared as 'T* const'.
1227 5-0-4 An implicit integral conversion shall not change the signedness of the u CommonUtility::PrintByteWise( Unset Unreviewed
nderlying type. unsigned char*, unsigned int)
68
ID Rule Message Function Severity Status Comment
Implicit conversion of one of the binary < operands whose underlying t
ypes are 'signed int' and 'unsigned int'.
90 6-3-1 The statement forming the body of a switch, while, do ... while or for sta CommonUtility::PrintByteWise( Unset Unreviewed
tement shall be a compound statement. unsigned char*, unsigned int)
The statement forming the body of a for statement shall be a compound
statement.
2207 5-2-4 C-style casts (other than void casts) and functional notation casts (other CommonUtility::PrintByteWise( Unset Unreviewed
than explicit constructor calls) shall not be used. unsigned char*, unsigned int)
2231 5-0-15 Array indexing shall be the only form of pointer arithmetic. CommonUtility::PrintByteWise( Unset Unreviewed
unsigned char*, unsigned int)
797 9-3-3 If a member function can be made static then it shall be made static, oth CommonUtility::PrintHexwise(u Unset Unreviewed
erwise if it can be made const then it shall be made const. nsigned char*, unsigned int)
The member function 'PrintHexwise' shall be made static.
85 7-1-2 A pointer or reference parameter in a function shall be declared as poin CommonUtility::PrintHexwise(u Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi nsigned char*, unsigned int)
fied.
1214 7-1-1 A variable which is not modified shall be const qualified. CommonUtility::PrintHexwise(u Unset Unreviewed
The pointer parameter 'data' points to the same address during its lifeti nsigned char*, unsigned int)
me. The pointer can be declared as 'T* const'.
1495 5-0-4 An implicit integral conversion shall not change the signedness of the u CommonUtility::PrintHexwise(u Unset Unreviewed
nderlying type. nsigned char*, unsigned int)
Implicit conversion of one of the binary < operands whose underlying t
ypes are 'signed int' and 'unsigned int'.
337 6-3-1 The statement forming the body of a switch, while, do ... while or for sta CommonUtility::PrintHexwise(u Unset Unreviewed
tement shall be a compound statement. nsigned char*, unsigned int)
The statement forming the body of a for statement shall be a compound
statement.
1033 8-4-4 A function identifier shall either be used to call the function or it shall b CommonUtility::PrintHexwise(u Unset Unreviewed
e preceded by &. nsigned char*, unsigned int)
Function identifier 'hex' should be preceded by a '&' or followed by a pa
rameter list.
826 5-2-4 C-style casts (other than void casts) and functional notation casts (other CommonUtility::PrintHexwise(u Unset Unreviewed
than explicit constructor calls) shall not be used. nsigned char*, unsigned int)
1618 5-0-15 Array indexing shall be the only form of pointer arithmetic. CommonUtility::PrintHexwise(u Unset Unreviewed
nsigned char*, unsigned int)
1500 9-3-3 If a member function can be made static then it shall be made static, oth CommonUtility::PrintByteForm Unset Unreviewed
erwise if it can be made const then it shall be made const. at(unsigned char*, int)
The member function 'PrintByteFormat' shall be made static.
69
ID Rule Message Function Severity Status Comment
88 7-1-1 A variable which is not modified shall be const qualified. CommonUtility::PrintByteForm Unset Unreviewed
The pointer parameter 'pByteData' points to the same address during it at(unsigned char*, int)
s lifetime. The pointer can be declared as 'T* const'.
659 7-1-2 A pointer or reference parameter in a function shall be declared as poin CommonUtility::PrintByteForm Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi at(unsigned char*, int)
fied.
1274 27-0-1 The stream input/output library <cstdio> shall not be used. CommonUtility::PrintByteForm Unset Unreviewed
at(unsigned char*, int)
2530 6-3-1 The statement forming the body of a switch, while, do ... while or for sta CommonUtility::PrintByteForm Unset Unreviewed
tement shall be a compound statement. at(unsigned char*, int)
The statement forming the body of a for statement shall be a compound
statement.
2352 0-1-7 The value returned by a function having a non-void return type that is n CommonUtility::PrintByteForm Unset Unreviewed
ot an overloaded operator shall always be used. at(unsigned char*, int)
Value returned by function printf is not used.
1170 5-0-15 Array indexing shall be the only form of pointer arithmetic. CommonUtility::PrintByteForm Unset Unreviewed
at(unsigned char*, int)
2196 27-0-1 The stream input/output library <cstdio> shall not be used. CommonUtility::PrintByteForm Unset Unreviewed
at(unsigned char*, int)
143 0-1-7 The value returned by a function having a non-void return type that is n CommonUtility::PrintByteForm Unset Unreviewed
ot an overloaded operator shall always be used. at(unsigned char*, int)
Value returned by function printf is not used.
70
ID Rule Message Function Severity Status Comment
1644 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1742 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier CmdBsnLruXwareUpdate is visually similar to other identifier
s.
1948 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgCounter is visually similar to other identifiers.
71
ID Rule Message Function Severity Status Comment
632 7-1-1 A variable which is not modified shall be const qualified. GPMCUtility::LoadGpmcDriver( Unset Unreviewed
The value of variable 'command' does not change after initialization. Th )
e variable can be declared 'const'.
1957 18-0-3 The library functions abort, exit, getenv and system from library <cstdli GPMCUtility::LoadGpmcDriver( Unset Unreviewed
b> shall not be used. )
system invokes a command processor. This can result in exploitable vul
nerabilities.
3396 0-3-2 If a function generates error information, then that error information s GPMCUtility::LoadGpmcDriver( Unset Unreviewed
hall be tested. )
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
369 0-1-7 The value returned by a function having a non-void return type that is n GPMCUtility::LoadGpmcDriver( Unset Unreviewed
ot an overloaded operator shall always be used. )
Value returned by function system is not used.
603 6-6-5 A function shall have a single point of exit at the end of the function. GPMCUtility::GpmcInit() Unset Unreviewed
1019 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly GPMCUtility::GpmcInit() Unset Unreviewed
ing type.
Bitwise | on two operands of signed underlying types 'signed char' and '
signed int'.
80 27-0-1 The stream input/output library <cstdio> shall not be used. GPMCUtility::GpmcInit() Unset Unreviewed
666 5-2-4 C-style casts (other than void casts) and functional notation casts (other GPMCUtility::GpmcInit() Unset Unreviewed
than explicit constructor calls) shall not be used.
785 5-2-8 An object with integer type or pointer to void type shall not be converte GPMCUtility::GpmcInit() Unset Unreviewed
d to an object with pointer type.
1137 27-0-1 The stream input/output library <cstdio> shall not be used. GPMCUtility::GpmcInit() Unset Unreviewed
1240 7-1-1 A variable which is not modified shall be const qualified. GPMCUtility::GpmcSend(char*, i Unset Unreviewed
The pointer parameter 'pData' points to the same address during its lifet nt)
ime. The pointer can be declared as 'T* const'.
1765 7-1-2 A pointer or reference parameter in a function shall be declared as poin GPMCUtility::GpmcSend(char*, i Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi nt)
fied.
702 5-0-4 An implicit integral conversion shall not change the signedness of the u GPMCUtility::GpmcSend(char*, i Unset Unreviewed
nderlying type. nt)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
2072 5-0-4 An implicit integral conversion shall not change the signedness of the u GPMCUtility::GpmcSend(char*, i Unset Unreviewed
nderlying type. nt)
72
ID Rule Message Function Severity Status Comment
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
2441 5-0-3 A cvalue expression shall not be implicitly converted to a different unde GPMCUtility::GpmcSend(char*, i Unset Unreviewed
rlying type. nt)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
3596 0-3-2 If a function generates error information, then that error information s GPMCUtility::GpmcSend(char*, i Unset Unreviewed
hall be tested. nt)
Return value of a sensitive function saved to 'iLen', but not checked.
Check the value of 'iLen' before using it.
1633 5-0-13 The condition of an if-statement and the condition of an iteration-state GPMCUtility::GpmcSend(char*, i Unset Unreviewed
ment shall have type bool. nt)
891 5-0-3 A cvalue expression shall not be implicitly converted to a different unde GPMCUtility::GpmcSend(char*, i Unset Unreviewed
rlying type. nt)
Implicit conversion of expression of 'signed long' type as argument of fu
nction whose corresponding parameter type is 'unsigned int'.
1932 5-0-4 An implicit integral conversion shall not change the signedness of the u GPMCUtility::GpmcSend(char*, i Unset Unreviewed
nderlying type. nt)
Implicit conversion of the expression of underlying type 'signed long' to
the type 'unsigned int' that is not a wider integer type of the same signe
dness.
73
ID Rule Message Function Severity Status Comment
208 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
652 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1038 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
813 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1027 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
74
ID Rule Message Function Severity Status Comment
2037 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
421 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2777 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'Config_failure_msg_kind_uP_to_FPGA' is never used or used only i
n unreachable code.
1330 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
3132 0-1-5 A project shall not contain unused type declarations. File Scope Unset Unreviewed
Type 'Config_FAILURE_msg' is not used.
75
ID Rule Message Function Severity Status Comment
2113 6-2-1 Assignment operators shall not be used in sub-expressions. MGCMFPGAInterface::RecvMsg Unset Unreviewed
FromMGCMFPGA()
1238 5-0-15 Array indexing shall be the only form of pointer arithmetic. MGCMFPGAInterface::RecvMsg Unset Unreviewed
FromMGCMFPGA()
396 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMFPGAInterface::RecvMsg Unset Unreviewed
nderlying type. FromMGCMFPGA()
Implicit conversion of one of the binary + operands whose underlying t
ypes are 'signed int' and 'unsigned int'.
2419 0-1-7 The value returned by a function having a non-void return type that is n MGCMFPGAInterface::RecvMsg Unset Unreviewed
ot an overloaded operator shall always be used. FromMGCMFPGA()
Value returned by function MsgQSend is not used.
1534 5-0-13 The condition of an if-statement and the condition of an iteration-state MGCMFPGAInterface::MGCMFP Unset Unreviewed
ment shall have type bool. GAInterfaceTask(void*)
2249 0-1-7 The value returned by a function having a non-void return type that is n MGCMFPGAInterface::MGCMFP Unset Unreviewed
ot an overloaded operator shall always be used. GAInterfaceTask(void*)
Value returned by function usleep is not used.
688 0-1-1 A project shall not contain unreachable code. MGCMFPGAInterface::MGCMFP Unset Unreviewed
Statement is unreachable GAInterfaceTask(void*)
76
ID Rule Message Function Severity Status Comment
1037 18-4-1 Dynamic heap memory allocation shall not be used. MGCMMsgCommunicator::MGC Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out MMsgCommunicator()
of memory state.
30 18-4-1 Dynamic heap memory allocation shall not be used. MGCMMsgCommunicator::MGC Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out MMsgCommunicator()
of memory state.
2225 18-4-1 Dynamic heap memory allocation shall not be used. MGCMMsgCommunicator::MGC Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out MMsgCommunicator()
of memory state.
77
Table 1.19. C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link]
ID Rule Message Function Severity Status Comment
165 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::MGCMSuper Unset Unreviewed
The pointer parameter 'pMgcmMsgComm' points to the same address d visor(MGCMMsgCommunicator
uring its lifetime. The pointer can be declared as 'T* const'. *)
675 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
2169 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
1737 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
824 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
2116 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
1604 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
1990 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
622 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
873 18-4-1 Dynamic heap memory allocation shall not be used. MGCMSupervisor::MGCMSuper Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out visor(MGCMMsgCommunicator
of memory state. *)
865 6-6-5 A function shall have a single point of exit at the end of the function. MGCMSupervisor::PoolMsgFro Unset Unreviewed
mQ(Time_t)
193 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgkind is visually similar to other identifiers.
166 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolMsgFro Unset Unreviewed
er values. mQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
78
ID Rule Message Function Severity Status Comment
376 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::PoolMsgFro Unset Unreviewed
The value of variable 'refTime' does not change after initialization. The mQ(Time_t)
variable can be declared 'const'.
2077 6-2-1 Assignment operators shall not be used in sub-expressions. MGCMSupervisor::PoolMsgFro Unset Unreviewed
mQ(Time_t)
423 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MGCMSupervisor::PoolMsgFro Unset Unreviewed
rlying type. mQ(Time_t)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
686 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMSupervisor::PoolMsgFro Unset Unreviewed
nderlying type. mQ(Time_t)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
2435 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolMsgFro Unset Unreviewed
than explicit constructor calls) shall not be used. mQ(Time_t)
2091 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolMsgFro Unset Unreviewed
er type, either directly or indirectly. mQ(Time_t)
2183 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolMsgFro Unset Unreviewed
er values. mQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
2515 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolMsgFro Unset Unreviewed
than explicit constructor calls) shall not be used. mQ(Time_t)
2257 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::PoolMsgFro Unset Unreviewed
ot an overloaded operator shall always be used. mQ(Time_t)
Value returned by function usleep is not used.
485 6-6-5 A function shall have a single point of exit at the end of the function. MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
FromQ(Time_t)
1504 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgkind is visually similar to other identifiers.
1949 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er values. FromQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
1119 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
The value of variable 'refTime' does not change after initialization. The FromQ(Time_t)
variable can be declared 'const'.
2426 6-2-1 Assignment operators shall not be used in sub-expressions. MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
FromQ(Time_t)
79
ID Rule Message Function Severity Status Comment
373 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
nderlying type. FromQ(Time_t)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
2237 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
rlying type. FromQ(Time_t)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
184 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
1294 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
2485 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
1705 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
295 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er values. FromQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
1933 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
1218 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
1211 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
nderlying type. FromQ(Time_t)
Implicit conversion of the expression of underlying type 'signed int:5' t
o the type 'signed char' that is not a wider integer type of the same signe
dness.
768 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
447 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
881 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er values. FromQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
2490 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
FromQ(Time_t)
80
ID Rule Message Function Severity Status Comment
708 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
ot an overloaded operator shall always be used. FromQ(Time_t)
Value returned by function printf is not used.
1334 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
2034 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
599 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
nderlying type. FromQ(Time_t)
Implicit conversion of the expression of underlying type 'signed int:5' t
o the type 'signed char' that is not a wider integer type of the same signe
dness.
321 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
2138 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
985 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er values. FromQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
2421 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
FromQ(Time_t)
1706 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
ot an overloaded operator shall always be used. FromQ(Time_t)
Value returned by function printf is not used.
2211 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
2182 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
1592 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
nderlying type. FromQ(Time_t)
Implicit conversion of the expression of underlying type 'signed int:5' t
o the type 'signed char' that is not a wider integer type of the same signe
dness.
1520 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
1433 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
81
ID Rule Message Function Severity Status Comment
610 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er values. FromQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
1369 6-4-2 All if ... else if constructs shall be terminated with an else clause. MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
FromQ(Time_t)
1598 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
224 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
2214 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
nderlying type. FromQ(Time_t)
Implicit conversion of the expression of underlying type 'signed int:5' t
o the type 'signed char' that is not a wider integer type of the same signe
dness.
181 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
178 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
430 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
er values. FromQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
2526 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
FromQ(Time_t)
458 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
ot an overloaded operator shall always be used. FromQ(Time_t)
Value returned by function printf is not used.
450 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::PoolFpgaMsg Unset Unreviewed
ot an overloaded operator shall always be used. FromQ(Time_t)
Value returned by function usleep is not used.
1136 6-6-5 A function shall have a single point of exit at the end of the function. MGCMSupervisor::PoolOPRMsg Unset Unreviewed
FromQ(Time_t)
1913 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgkind is visually similar to other identifiers.
1270 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolOPRMsg Unset Unreviewed
er values. FromQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
1887 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::PoolOPRMsg Unset Unreviewed
The value of variable 'refTime' does not change after initialization. The FromQ(Time_t)
variable can be declared 'const'.
82
ID Rule Message Function Severity Status Comment
2281 6-2-1 Assignment operators shall not be used in sub-expressions. MGCMSupervisor::PoolOPRMsg Unset Unreviewed
FromQ(Time_t)
954 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMSupervisor::PoolOPRMsg Unset Unreviewed
nderlying type. FromQ(Time_t)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
1399 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MGCMSupervisor::PoolOPRMsg Unset Unreviewed
rlying type. FromQ(Time_t)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
1751 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolOPRMsg Unset Unreviewed
than explicit constructor calls) shall not be used. FromQ(Time_t)
763 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::PoolOPRMsg Unset Unreviewed
er type, either directly or indirectly. FromQ(Time_t)
67 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolOPRMsg Unset Unreviewed
er values. FromQ(Time_t)
Value of type signed integer is implicitly converted to plain char.
1823 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::PoolOPRMsg Unset Unreviewed
ot an overloaded operator shall always be used. FromQ(Time_t)
Value returned by function usleep is not used.
848 6-6-5 A function shall have a single point of exit at the end of the function. MGCMSupervisor::PoolMsgFro Unset Unreviewed
mQ()
1216 5-0-11 The plain char type shall only be used for the storage and use of charact MGCMSupervisor::PoolMsgFro Unset Unreviewed
er values. mQ()
Value of type signed integer is implicitly converted to plain char.
1507 6-2-1 Assignment operators shall not be used in sub-expressions. MGCMSupervisor::PoolMsgFro Unset Unreviewed
mQ()
596 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MGCMSupervisor::PoolMsgFro Unset Unreviewed
rlying type. mQ()
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
2446 5-0-4 An implicit integral conversion shall not change the signedness of the u MGCMSupervisor::PoolMsgFro Unset Unreviewed
nderlying type. mQ()
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
844 5-0-15 Array indexing shall be the only form of pointer arithmetic. MGCMSupervisor::PoolMsgFro Unset Unreviewed
mQ()
83
ID Rule Message Function Severity Status Comment
1820 5-0-15 Array indexing shall be the only form of pointer arithmetic. MGCMSupervisor::PoolMsgFro Unset Unreviewed
mQ()
1445 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolMsgFro Unset Unreviewed
than explicit constructor calls) shall not be used. mQ()
The flagged cast is a functional cast, which is difficult to understand an
d debug.
1232 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::PoolMsgFro Unset Unreviewed
than explicit constructor calls) shall not be used. mQ()
The flagged cast is a functional cast, which is difficult to understand an
d debug.
483 9-3-3 If a member function can be made static then it shall be made static, oth MGCMSupervisor::CheckPherip Unset Unreviewed
erwise if it can be made const then it shall be made const. erals()
The member function 'CheckPheriperals' shall be made static.
1400 0-1-8 All functions with void return type shall have external side effect(s). MGCMSupervisor::CheckPherip Unset Unreviewed
erals()
779 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
1994 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::Process16Bit Unset Unreviewed
Identifier()
1853 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::Process16Bit Unset Unreviewed
ot an overloaded operator shall always be used. Identifier()
Value returned by function printf is not used.
330 6-4-1 An if ( condition ) construct shall be followed by a compound statement MGCMSupervisor::ProcessLbitI Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o nfo()
r another if statement.
An if (expression) construct shall be followed by a compound statement.
3598 8-5-1 All variables shall have a defined value before they are used. MGCMSupervisor::ProcessLbitI Unset Unreviewed
Local variable errorCount is read before it is initialized. nfo()
Additional Info:
Risk: Reading non-initialized memory can result in unexpected values.
Fix: Initialize the local variable before use.
611 0-1-8 All functions with void return type shall have external side effect(s). MGCMSupervisor::HardwarePo Unset Unreviewed
werOff()
1662 9-3-3 If a member function can be made static then it shall be made static, oth MGCMSupervisor::HardwarePo Unset Unreviewed
erwise if it can be made const then it shall be made const. werOff()
The member function 'HardwarePowerOff' shall be made static.
1891 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::WaitAndPro Unset Unreviewed
The value of variable 'msgKind' does not change after initialization. The cessMessage()
variable can be declared 'const'.
84
ID Rule Message Function Severity Status Comment
1897 2-10-1 Different identifiers shall be typographically unambiguous. MGCMSupervisor::WaitAndPro Unset Unreviewed
Identifier msgKind is visually similar to other identifiers. cessMessage()
1941 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::WaitAndPro Unset Unreviewed
than explicit constructor calls) shall not be used. cessMessage()
756 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::WaitAndPro Unset Unreviewed
er type, either directly or indirectly. cessMessage()
2402 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::WaitAndPro Unset Unreviewed
cessMessage()
1606 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::WaitAndPro Unset Unreviewed
ot an overloaded operator shall always be used. cessMessage()
Value returned by function printf is not used.
1042 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
317 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::WaitAndPro Unset Unreviewed
The value of variable 'msgKind' does not change after initialization. The cessMessage()
variable can be declared 'const'.
584 2-10-1 Different identifiers shall be typographically unambiguous. MGCMSupervisor::WaitAndPro Unset Unreviewed
Identifier msgKind is visually similar to other identifiers. cessMessage()
2133 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::WaitAndPro Unset Unreviewed
than explicit constructor calls) shall not be used. cessMessage()
845 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::WaitAndPro Unset Unreviewed
er type, either directly or indirectly. cessMessage()
481 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
851 6-4-2 All if ... else if constructs shall be terminated with an else clause. MGCMSupervisor::WaitAndPro Unset Unreviewed
cessMessage()
1806 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::CommandRe Unset Unreviewed
ot an overloaded operator shall always be used. setBsnLru()
Value returned by function sleep is not used.
202 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::CommandRe Unset Unreviewed
The value of variable 'retVal' does not change after initialization. The va setBsnLru()
riable can be declared 'const'.
1333 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MGCMSupervisor::CommandRe Unset Unreviewed
b> shall not be used. setBsnLru()
system invokes a command processor. This can result in exploitable vul
nerabilities.
85
ID Rule Message Function Severity Status Comment
3410 0-3-2 If a function generates error information, then that error information s MGCMSupervisor::CommandRe Unset Unreviewed
hall be tested. setBsnLru()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1004 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::CommandRe Unset Unreviewed
ot an overloaded operator shall always be used. setBsnLru()
Value returned by function system is not used.
47 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::CommandRe Unset Unreviewed
ot an overloaded operator shall always be used. setBsnLru()
Value returned by function sleep is not used.
499 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::CommandRe Unset Unreviewed
The value of variable 'retVal' does not change after initialization. The va setBsnLru()
riable can be declared 'const'.
1066 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MGCMSupervisor::CommandRe Unset Unreviewed
b> shall not be used. setBsnLru()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3411 0-3-2 If a function generates error information, then that error information s MGCMSupervisor::CommandRe Unset Unreviewed
hall be tested. setBsnLru()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
503 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::CommandRe Unset Unreviewed
ot an overloaded operator shall always be used. setBsnLru()
Value returned by function system is not used.
1731 9-3-3 If a member function can be made static then it shall be made static, oth MGCMSupervisor::InitializeUdp Unset Unreviewed
erwise if it can be made const then it shall be made const. CommForAbcm()
The member function 'InitializeUdpCommForAbcm' shall be made const
.
61 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::InitializeUdp Unset Unreviewed
than explicit constructor calls) shall not be used. CommForAbcm()
1533 5-2-5 A cast shall not remove any const or volatile qualification from the type MGCMSupervisor::InitializeUdp Unset Unreviewed
of a pointer or reference. CommForAbcm()
Cast from type 'const char *' to type 'char *' removes qualifiers.
2115 9-3-3 If a member function can be made static then it shall be made static, oth MGCMSupervisor::ProcessInfoB Unset Unreviewed
erwise if it can be made const then it shall be made const. snLruStatus()
The member function 'ProcessInfoBsnLruStatus' shall be made const.
86
ID Rule Message Function Severity Status Comment
765 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessCom Unset Unreviewed
than explicit constructor calls) shall not be used. mandSetBsnLruModeForMGCM
()
1228 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessCom Unset Unreviewed
er type, either directly or indirectly. mandSetBsnLruModeForMGCM
()
674 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
1547 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
1634 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessCom Unset Unreviewed
than explicit constructor calls) shall not be used. mandSetBsnLruModeForMGCM
()
2215 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessCom Unset Unreviewed
er type, either directly or indirectly. mandSetBsnLruModeForMGCM
()
1825 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessCom Unset Unreviewed
than explicit constructor calls) shall not be used. mandSetBsnLruModeForMGCM
()
1532 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessCom Unset Unreviewed
er type, either directly or indirectly. mandSetBsnLruModeForMGCM
()
1838 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
1800 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
1546 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
470 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
1506 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
87
ID Rule Message Function Severity Status Comment
641 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
1059 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function sleep is not used. ()
2299 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MGCMSupervisor::ProcessCom Unset Unreviewed
b> shall not be used. mandSetBsnLruModeForMGCM
system invokes a command processor. This can result in exploitable vul ()
nerabilities.
3405 0-3-2 If a function generates error information, then that error information s MGCMSupervisor::ProcessCom Unset Unreviewed
hall be tested. mandSetBsnLruModeForMGCM
Return value of 'system' not checked. ()
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2155 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function system is not used. ()
2088 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::ProcessCom Unset Unreviewed
The value of variable 'retVal' does not change after initialization. The va mandSetBsnLruModeForMGCM
riable can be declared 'const'. ()
2448 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
526 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
2236 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::ProcessCom Unset Unreviewed
The value of variable 'retVal' does not change after initialization. The va mandSetBsnLruModeForMGCM
riable can be declared 'const'. ()
2434 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
249 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
1712 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
88
ID Rule Message Function Severity Status Comment
837 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
243 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
451 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
63 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeForMGCM
()
2114 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeForMGCM
Value returned by function printf is not used. ()
1726 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessCom Unset Unreviewed
than explicit constructor calls) shall not be used. mandSetBsnLruModeSGCM()
589 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessCom Unset Unreviewed
er type, either directly or indirectly. mandSetBsnLruModeSGCM()
2246 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
1600 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
1188 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessCom Unset Unreviewed
than explicit constructor calls) shall not be used. mandSetBsnLruModeSGCM()
1981 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessCom Unset Unreviewed
er type, either directly or indirectly. mandSetBsnLruModeSGCM()
775 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessCom Unset Unreviewed
than explicit constructor calls) shall not be used. mandSetBsnLruModeSGCM()
2024 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessCom Unset Unreviewed
er type, either directly or indirectly. mandSetBsnLruModeSGCM()
852 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
648 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
89
ID Rule Message Function Severity Status Comment
2121 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
1247 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
884 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MGCMSupervisor::ProcessCom Unset Unreviewed
b> shall not be used. mandSetBsnLruModeSGCM()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3401 0-3-2 If a function generates error information, then that error information s MGCMSupervisor::ProcessCom Unset Unreviewed
hall be tested. mandSetBsnLruModeSGCM()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
730 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function system is not used.
298 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::ProcessCom Unset Unreviewed
The value of variable 'retVal' does not change after initialization. The va mandSetBsnLruModeSGCM()
riable can be declared 'const'.
1103 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
1524 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
857 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
2403 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
2062 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
2537 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
684 7-1-1 A variable which is not modified shall be const qualified. MGCMSupervisor::ProcessCom Unset Unreviewed
The value of variable 'retVal' does not change after initialization. The va mandSetBsnLruModeSGCM()
riable can be declared 'const'.
90
ID Rule Message Function Severity Status Comment
361 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
1602 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
454 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
703 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
2209 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
2188 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
2153 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
2377 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
285 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
42 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
871 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessCom Unset Unreviewed
mandSetBsnLruModeSGCM()
2026 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessCom Unset Unreviewed
ot an overloaded operator shall always be used. mandSetBsnLruModeSGCM()
Value returned by function printf is not used.
5 9-3-3 If a member function can be made static then it shall be made static, oth MGCMSupervisor::ACK_STAND Unset Unreviewed
erwise if it can be made const then it shall be made const. ARDFromFPGA()
The member function 'ACK_STANDARDFromFPGA' shall be made const.
1701 6-6-5 A function shall have a single point of exit at the end of the function. MGCMSupervisor::ACK_STAND Unset Unreviewed
ARDFromFPGA()
1338 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ACK_STAND Unset Unreviewed
than explicit constructor calls) shall not be used. ARDFromFPGA()
91
ID Rule Message Function Severity Status Comment
79 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ACK_STAND Unset Unreviewed
er type, either directly or indirectly. ARDFromFPGA()
240 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ACK_STAND Unset Unreviewed
ARDFromFPGA()
380 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ACK_STAND Unset Unreviewed
ot an overloaded operator shall always be used. ARDFromFPGA()
Value returned by function printf is not used.
1342 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ACK_STAND Unset Unreviewed
than explicit constructor calls) shall not be used. ARDFromFPGA()
2488 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ACK_STAND Unset Unreviewed
er type, either directly or indirectly. ARDFromFPGA()
987 6-6-5 A function shall have a single point of exit at the end of the function. MGCMSupervisor::ACK_STAND Unset Unreviewed
ARDFromFPGAForRESET()
1127 9-3-3 If a member function can be made static then it shall be made static, oth MGCMSupervisor::ACK_STAND Unset Unreviewed
erwise if it can be made const then it shall be made const. ARDFromFPGAForRESET()
The member function 'ACK_STANDARDFromFPGAForRESET' shall be ma
de const.
1958 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ACK_STAND Unset Unreviewed
than explicit constructor calls) shall not be used. ARDFromFPGAForRESET()
1527 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ACK_STAND Unset Unreviewed
er type, either directly or indirectly. ARDFromFPGAForRESET()
4 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ACK_STAND Unset Unreviewed
ARDFromFPGAForRESET()
2379 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ACK_STAND Unset Unreviewed
ot an overloaded operator shall always be used. ARDFromFPGAForRESET()
Value returned by function printf is not used.
1271 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ACK_STAND Unset Unreviewed
than explicit constructor calls) shall not be used. ARDFromFPGAForRESET()
1256 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ACK_STAND Unset Unreviewed
er type, either directly or indirectly. ARDFromFPGAForRESET()
709 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
1889 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessReset Unset Unreviewed
er type, either directly or indirectly. BsnLru()
341 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
92
ID Rule Message Function Severity Status Comment
883 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
304 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessReset Unset Unreviewed
er type, either directly or indirectly. BsnLru()
1960 0-1-2 A project shall not contain infeasible paths. MGCMSupervisor::ProcessReset Unset Unreviewed
BsnLru()
2507 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
1021 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und MGCMSupervisor::ProcessReset Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm BsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
2229 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
2316 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und MGCMSupervisor::ProcessReset Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm BsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
762 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
289 6-4-2 All if ... else if constructs shall be terminated with an else clause. MGCMSupervisor::ProcessReset Unset Unreviewed
BsnLru()
111 0-1-2 A project shall not contain infeasible paths. MGCMSupervisor::ProcessReset Unset Unreviewed
BsnLru()
1529 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
1372 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und MGCMSupervisor::ProcessReset Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm BsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
1888 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
469 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und MGCMSupervisor::ProcessReset Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm BsnLru()
ediately cast to the underlying type of the operand.
93
ID Rule Message Function Severity Status Comment
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
595 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
840 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und MGCMSupervisor::ProcessReset Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm BsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
269 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
233 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und MGCMSupervisor::ProcessReset Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm BsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
1593 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
2263 5-2-4 C-style casts (other than void casts) and functional notation casts (other MGCMSupervisor::ProcessReset Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLru()
2222 5-2-7 An object with pointer type shall not be converted to an unrelated point MGCMSupervisor::ProcessReset Unset Unreviewed
er type, either directly or indirectly. BsnLru()
6 27-0-1 The stream input/output library <cstdio> shall not be used. MGCMSupervisor::ProcessReset Unset Unreviewed
BsnLru()
23 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::ProcessReset Unset Unreviewed
ot an overloaded operator shall always be used. BsnLru()
Value returned by function printf is not used.
290 27-0-1 The stream input/output library <cstdio> shall not be used. File Scope Unset Unreviewed
162 0-1-7 The value returned by a function having a non-void return type that is n File Scope Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function printf is not used.
94
ID Rule Message Function Severity Status Comment
2068 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
2374 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1128 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1142 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
2284 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
453 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1788 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
95
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
3415 0-3-2 If a function generates error information, then that error information s MGCMSupervisor::MGCMSuper Unset Unreviewed
hall be tested. visorTask(void*)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
188 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::MGCMSuper Unset Unreviewed
ot an overloaded operator shall always be used. visorTask(void*)
Value returned by function system is not used.
442 5-0-13 The condition of an if-statement and the condition of an iteration-state MGCMSupervisor::MGCMSuper Unset Unreviewed
ment shall have type bool. visorTask(void*)
309 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MGCMSupervisor::MGCMSuper Unset Unreviewed
rlying type. visorTask(void*)
Implicit conversion of expression of 'enum' type as argument of functio
n whose corresponding parameter type is 'unsigned char'.
1097 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MGCMSupervisor::MGCMSuper Unset Unreviewed
rlying type. visorTask(void*)
Implicit conversion of expression of 'enum' type as argument of functio
n whose corresponding parameter type is 'unsigned char'.
1003 0-1-2 A project shall not contain infeasible paths. MGCMSupervisor::MGCMSuper Unset Unreviewed
visorTask(void*)
665 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MGCMSupervisor::MGCMSuper Unset Unreviewed
rlying type. visorTask(void*)
Implicit conversion of expression of 'enum' type as argument of functio
n whose corresponding parameter type is 'unsigned char'.
3418 0-1-9 There shall be no dead code. MGCMSupervisor::MGCMSuper Unset Unreviewed
Variable 'initState' is never read after this point. visorTask(void*)
3420 0-1-6 A project shall not contain instances of non-volatile variables being give MGCMSupervisor::MGCMSuper Unset Unreviewed
n values that are never subsequently used. visorTask(void*)
Variable 'initState' is never read after this point.
308 6-6-3 The continue statement shall only be used within a well-formed for loop MGCMSupervisor::MGCMSuper Unset Unreviewed
. visorTask(void*)
173 6-6-3 The continue statement shall only be used within a well-formed for loop MGCMSupervisor::MGCMSuper Unset Unreviewed
. visorTask(void*)
2311 6-6-4 For any iteration statement there shall be no more than one break or go MGCMSupervisor::MGCMSuper Unset Unreviewed
to statement used for loop termination. visorTask(void*)
96
ID Rule Message Function Severity Status Comment
2126 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::MGCMSuper Unset Unreviewed
ot an overloaded operator shall always be used. visorTask(void*)
Value returned by function usleep is not used.
108 5-0-13 The condition of an if-statement and the condition of an iteration-state MGCMSupervisor::MGCMSuper Unset Unreviewed
ment shall have type bool. visorTask(void*)
934 0-1-7 The value returned by a function having a non-void return type that is n MGCMSupervisor::MGCMSuper Unset Unreviewed
ot an overloaded operator shall always be used. visorTask(void*)
Value returned by function usleep is not used.
1347 0-1-1 A project shall not contain unreachable code. MGCMSupervisor::MGCMSuper Unset Unreviewed
Statement is unreachable visorTask(void*)
97
ID Rule Message Function Severity Status Comment
Macro MGCM_SOFTWARE expands to a construct that is not compliant
with the rule.
26 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro SGCM_SOFTWARE expands to a construct that is not compliant w
ith the rule.
1977 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1075 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MGCM_DEBUG expands to a construct that is not compliant with
the rule.
2277 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1758 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2439 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro SGCM_DEBUG expands to a construct that is not compliant with t
he rule.
590 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2288 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro DEBUG expands to a construct that is not compliant with the rule
.
1259 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro DEBUG_LEVEL_1 expands to a construct that is not compliant wit
h the rule.
1890 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
322 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
98
ID Rule Message Function Severity Status Comment
2364 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro DEBUG_LEVEL_2 expands to a construct that is not compliant wit
h the rule.
36 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2349 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro DEBUG_LEVEL_3 expands to a construct that is not compliant wit
h the rule.
65 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro DEBUG_LEVEL_4 expands to a construct that is not compliant wit
h the rule.
1150 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1479 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro ABCM_MAX_RECV_BYTE expands to a construct that is not compl
iant with the rule.
2050 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1739 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2248 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MGCM_FPGA_MAX_RECV_BYTE expands to a construct that is no
t compliant with the rule.
1769 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1812 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro PARENT_TSFM_MAX_RECV_BYTE expands to a construct that is n
ot compliant with the rule.
99
ID Rule Message Function Severity Status Comment
288 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1217 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro TSFM_MAX_RECV_BYTE expands to a construct that is not compli
ant with the rule.
635 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MGCM_SUPRVISOR_MAX_RECV_BYTE expands to a construct tha
t is not compliant with the rule.
1367 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
312 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro ENABLE_REVERSEBYTE expands to a construct that is not compli
ant with the rule.
727 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1379 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro ENABLE_REVERSEBYTE1 expands to a construct that is not compl
iant with the rule.
2455 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
401 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro TSFM_IP_ADDRESS expands to a construct that is not compliant
with the rule.
2028 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
382 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2173 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
100
ID Rule Message Function Severity Status Comment
Macro TSFM_PORT_NUM expands to a construct that is not compliant w
ith the rule.
1278 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2033 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro ABCM_RECV_PORT expands to a construct that is not compliant
with the rule.
782 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro ABCM_SEND_PORT expands to a construct that is not compliant
with the rule.
1224 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
157 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro ABCM_IP_ADDRESS expands to a construct that is not compliant
with the rule.
2342 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
242 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MQ_CHANNEL_NAME expands to a construct that is not complia
nt with the rule.
2302 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
561 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1497 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MAX_MSG expands to a construct that is not compliant with the r
ule.
814 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
101
ID Rule Message Function Severity Status Comment
2165 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MAX_MSG_SIZE expands to a construct that is not compliant wit
h the rule.
710 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1091 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro HSKP_SERIAL_COMM_PATH expands to a construct that is not co
mpliant with the rule.
1043 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro HSKP_BAUD_RATE expands to a construct that is not compliant w
ith the rule.
2105 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
35 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
787 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MGCM_FPGA_SERIAL_COMM_PATH expands to a construct that i
s not compliant with the rule.
345 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MGCM_FPGA_BAUD_RATE expands to a construct that is not com
pliant with the rule.
1341 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1663 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MSG_WAIT_TIMEOUT expands to a construct that is not complia
nt with the rule.
2432 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
102
ID Rule Message Function Severity Status Comment
597 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2479 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MAX_IP_ADD_BYTE expands to a construct that is not compliant
with the rule.
899 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1245 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MSG_REPEAT_COUNT expands to a construct that is not complian
t with the rule.
145 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
198 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro PERIODIC_INTERVAL expands to a construct that is not complian
t with the rule.
1254 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2157 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro NETWORK_RESTART_ENABLE expands to a construct that is not c
ompliant with the rule.
48 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MAX_TEMPERATURE expands to a construct that is not complian
t with the rule.
2449 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1718 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2413 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
103
ID Rule Message Function Severity Status Comment
Macro MGCM_INFO_VAR expands to a construct that is not compliant wi
th the rule.
1429 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2233 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MGCM_GPI_ARRAY expands to a construct that is not compliant
with the rule.
463 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1852 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIO_DELAY expands to a construct that is not compliant with th
e rule.
1046 5-0-5 There shall be no implicit floating-integral conversions. File Scope Unset Unreviewed
Implicit conversion of the expression from 'double' to 'unsigned int' tha
t is not a wider floating type.
1426 5-0-3 A cvalue expression shall not be implicitly converted to a different unde File Scope Unset Unreviewed
rlying type.
Implicit conversion of expression of 'double' type as argument of functi
on whose corresponding parameter type is 'unsigned int'.
2043 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro FLASH_REQUEST_COUNT expands to a construct that is not comp
liant with the rule.
2242 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
967 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MSG_WAIT_TIMEOUT_ACK_FPGA expands to a construct that is n
ot compliant with the rule.
1963 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1180 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
104
ID Rule Message Function Severity Status Comment
1647 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro ACK_STANDARD_ITERATION expands to a construct that is not co
mpliant with the rule.
1645 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2366 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro NUM_SGCM_CHILDS expands to a construct that is not complian
t with the rule.
12 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIO_BINARY_START_BIT expands to a construct that is not comp
liant with the rule.
801 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
527 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIO_BINARY_END_BIT expands to a construct that is not compli
ant with the rule.
2478 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
83 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIO_PIN_COUNT expands to a construct that is not compliant wi
th the rule.
1561 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
667 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MODECHANGE_WITHOUT_GPIO expands to a construct that is n
ot compliant with the rule.
1423 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
457 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
105
ID Rule Message Function Severity Status Comment
Macro MODECHANGE_WITHOUT_GPIO_SGCM expands to a construct th
at is not compliant with the rule.
1714 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1056 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1596 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro NUM_GCM_CHILDS expands to a construct that is not compliant
with the rule.
334 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
950 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro MSG_WAIT_TIMEOUT_RESET_ACK_FPGA expands to a construct t
hat is not compliant with the rule.
284 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
461 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro TFTP_AUTBOOT_FILE_FTECH expands to a construct that is not c
ompliant with the rule.
106
ID Rule Message Function Severity Status Comment
2013 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgKind is visually similar to other identifiers.
112 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Extract Unset Unreviewed
than explicit constructor calls) shall not be used. Message()
821 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Extract Unset Unreviewed
er type, either directly or indirectly. Message()
2423 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Extract Unset Unreviewed
than explicit constructor calls) shall not be used. Message()
The flagged cast is a functional cast, which is difficult to understand an
d debug.
1292 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Extract Unset Unreviewed
than explicit constructor calls) shall not be used. Message()
The flagged cast is a functional cast, which is difficult to understand an
d debug.
2092 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::Extract Unset Unreviewed
Message()
305 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::Extract Unset Unreviewed
ot an overloaded operator shall always be used. Message()
Value returned by function printf is not used.
614 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Extract Unset Unreviewed
than explicit constructor calls) shall not be used. Message()
The flagged cast is a functional cast, which is difficult to understand an
d debug.
2008 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::Extract Unset Unreviewed
Message()
291 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::Extract Unset Unreviewed
ot an overloaded operator shall always be used. Message()
Value returned by function printf is not used.
1005 6-4-2 All if ... else if constructs shall be terminated with an else clause. MgcmFpgaMsgHandler::Extract Unset Unreviewed
Message()
1670 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Extract Unset Unreviewed
than explicit constructor calls) shall not be used. Message()
The flagged cast is a functional cast, which is difficult to understand an
d debug.
1817 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::Extract Unset Unreviewed
Message()
266 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::Extract Unset Unreviewed
ot an overloaded operator shall always be used. Message()
Value returned by function printf is not used.
107
ID Rule Message Function Severity Status Comment
2319 0-2-1 An object shall not be assigned to an overlapping object. MgcmFpgaMsgHandler::Process Unset Unreviewed
Overlap between source and destination of 'memcpy' causes undefined PbitAnswer()
behavior.
1090 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. PbitAnswer()
608 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. PbitAnswer()
802 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. PbitAnswer()
404 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. PbitAnswer()
1780 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::Process Unset Unreviewed
erwise if it can be made const then it shall be made const. IbitInfoAnswer()
The member function 'ProcessIbitInfoAnswer' shall be made const.
1222 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. IbitInfoAnswer()
1251 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. IbitInfoAnswer()
2483 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. IbitInfoAnswer()
220 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. IbitInfoAnswer()
2272 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. IbitInfoAnswer()
1778 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. IbitInfoAnswer()
1065 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. IbitInfoAnswer()
254 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. IbitInfoAnswer()
394 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Identifi Unset Unreviewed
than explicit constructor calls) shall not be used. erInfoToFpga()
446 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Identifi Unset Unreviewed
er type, either directly or indirectly. erInfoToFpga()
1499 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Identifi Unset Unreviewed
than explicit constructor calls) shall not be used. erInfoToFpga()
108
ID Rule Message Function Severity Status Comment
1410 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Identifi Unset Unreviewed
er type, either directly or indirectly. erInfoToFpga()
257 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Config Unset Unreviewed
than explicit constructor calls) shall not be used. urationInfoToFpga()
150 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Config Unset Unreviewed
er type, either directly or indirectly. urationInfoToFpga()
1484 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Config Unset Unreviewed
than explicit constructor calls) shall not be used. urationInfoToFpga()
105 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Config Unset Unreviewed
er type, either directly or indirectly. urationInfoToFpga()
962 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::BsnInit Unset Unreviewed
erwise if it can be made const then it shall be made const. ializationSuccessToFpga()
The member function 'BsnInitializationSuccessToFpga' shall be made co
nst.
1461 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgKind is visually similar to other identifiers.
1159 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::BsnInit Unset Unreviewed
than explicit constructor calls) shall not be used. ializationSuccessToFpga()
1552 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::BsnInit Unset Unreviewed
than explicit constructor calls) shall not be used. ializationSuccessToFpga()
98 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::ReqLbi Unset Unreviewed
erwise if it can be made const then it shall be made const. tToFpga()
The member function 'ReqLbitToFpga' shall be made const.
1424 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgKind is visually similar to other identifiers.
1257 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::ReqLbi Unset Unreviewed
than explicit constructor calls) shall not be used. tToFpga()
218 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::ReqLbi Unset Unreviewed
than explicit constructor calls) shall not be used. tToFpga()
1818 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::ReqIBit Unset Unreviewed
erwise if it can be made const then it shall be made const. ToFpga()
The member function 'ReqIBitToFpga' shall be made const.
573 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgKind is visually similar to other identifiers.
1277 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::ReqIBit Unset Unreviewed
than explicit constructor calls) shall not be used. ToFpga()
1380 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::ReqIBit Unset Unreviewed
than explicit constructor calls) shall not be used. ToFpga()
109
ID Rule Message Function Severity Status Comment
359 6-6-5 A function shall have a single point of exit at the end of the function. MgcmFpgaMsgHandler::Process Unset Unreviewed
LbitInfo()
408 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. LbitInfo()
1626 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. LbitInfo()
1321 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. LbitInfo()
1896 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. LbitInfo()
2187 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. LbitInfo()
390 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. LbitInfo()
717 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
erwise if it can be made const then it shall be made const. BsnLruToOwnFpga(cmd_set_bs
The member function 'CmdSetBsnLruToOwnFpga' shall be made const. n_lru_mode)
1545 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLruToOwnFpga(cmd_set_bs
n_lru_mode)
1826 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
er type, either directly or indirectly. BsnLruToOwnFpga(cmd_set_bs
n_lru_mode)
1752 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
BsnLruToOwnFpga(cmd_set_bs
n_lru_mode)
713 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruToOwnFpga(cmd_set_bs
Value returned by function printf is not used. n_lru_mode)
1814 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLruToOwnFpga(cmd_set_bs
n_lru_mode)
2337 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
er type, either directly or indirectly. BsnLruToOwnFpga(cmd_set_bs
n_lru_mode)
2235 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
BsnLruToOwnFpga(cmd_set_bs
n_lru_mode)
110
ID Rule Message Function Severity Status Comment
1920 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
ot an overloaded operator shall always be used. BsnLruToOwnFpga(cmd_set_bs
Value returned by function printf is not used. n_lru_mode)
115 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
than explicit constructor calls) shall not be used. BsnLruToOwnFpga(cmd_set_bs
n_lru_mode)
491 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::CmdSet Unset Unreviewed
er type, either directly or indirectly. BsnLruToOwnFpga(cmd_set_bs
n_lru_mode)
2162 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::Failure Unset Unreviewed
erwise if it can be made const then it shall be made const. StatusToFpga(unsigned char)
The member function 'FailureStatusToFpga' shall be made const.
805 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgKind is visually similar to other identifiers.
953 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Failure Unset Unreviewed
than explicit constructor calls) shall not be used. StatusToFpga(unsigned char)
223 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Failure Unset Unreviewed
than explicit constructor calls) shall not be used. StatusToFpga(unsigned char)
990 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::UartC Unset Unreviewed
er values. mdResetBsnLruToFpgaThrough
Value of type signed integer is implicitly converted to plain char. Gpio()
1215 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::UartC Unset Unreviewed
ot an overloaded operator shall always be used. mdResetBsnLruToFpgaThrough
Value returned by function sleep is not used. Gpio()
609 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::UartC Unset Unreviewed
er values. mdResetBsnLruToFpgaThrough
Value of type signed integer is implicitly converted to plain char. Gpio()
1296 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
erwise if it can be made const then it shall be made const. port_86()
The member function 'GpioExport_86' shall be made static.
1935 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
b> shall not be used. port_86()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3457 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
hall be tested. port_86()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
111
ID Rule Message Function Severity Status Comment
1076 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. port_86()
Value returned by function system is not used.
2256 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
erwise if it can be made const then it shall be made const. tDirection_86()
The member function 'GpioOutDirection_86' shall be made static.
92 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
b> shall not be used. tDirection_86()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3442 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
hall be tested. tDirection_86()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
502 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirection_86()
Value returned by function system is not used.
593 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
erwise if it can be made const then it shall be made const. Value_86(char)
The member function 'SetGpioValue_86' shall be made static.
311 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_86(char)
r another if statement.
An if (expression) construct shall be followed by a compound statement.
1673 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_86(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3453 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_86(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1772 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_86(char)
Value returned by function system is not used.
357 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_86(char)
112
ID Rule Message Function Severity Status Comment
r another if statement.
The else keyword shall be followed by either a compound statement, or
another if statement.
2191 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_86(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3452 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_86(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
505 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_86(char)
Value returned by function system is not used.
2163 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
erwise if it can be made const then it shall be made const. export_86()
The member function 'GpioUnexport_86' shall be made static.
993 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
b> shall not be used. export_86()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3441 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
hall be tested. export_86()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
152 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
ot an overloaded operator shall always be used. export_86()
Value returned by function system is not used.
1332 2-7-2 Sections of code shall not be "commented out" using C-style comments. MgcmFpgaMsgHandler::UdpCm Unset Unreviewed
dResetBsnLruToFpgaThroughG
pio()
391 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::UdpCm Unset Unreviewed
er values. dResetBsnLruToFpgaThroughG
Value of type signed integer is implicitly converted to plain char. pio()
1722 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::UdpCm Unset Unreviewed
ot an overloaded operator shall always be used. dResetBsnLruToFpgaThroughG
Value returned by function sleep is not used. pio()
113
ID Rule Message Function Severity Status Comment
315 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::UdpCm Unset Unreviewed
er values. dResetBsnLruToFpgaThroughG
Value of type signed integer is implicitly converted to plain char. pio()
1635 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
erwise if it can be made const then it shall be made const. port_87()
The member function 'GpioExport_87' shall be made static.
135 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
b> shall not be used. port_87()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3451 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
hall be tested. port_87()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
406 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. port_87()
Value returned by function system is not used.
2309 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
erwise if it can be made const then it shall be made const. tDirection_87()
The member function 'GpioOutDirection_87' shall be made static.
1015 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
b> shall not be used. tDirection_87()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3445 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
hall be tested. tDirection_87()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
199 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirection_87()
Value returned by function system is not used.
794 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
erwise if it can be made const then it shall be made const. Value_87(char)
The member function 'SetGpioValue_87' shall be made static.
644 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_87(char)
114
ID Rule Message Function Severity Status Comment
r another if statement.
An if (expression) construct shall be followed by a compound statement.
1501 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_87(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3422 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_87(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1819 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_87(char)
Value returned by function system is not used.
1665 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_87(char)
r another if statement.
The else keyword shall be followed by either a compound statement, or
another if statement.
236 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_87(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3421 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_87(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1085 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_87(char)
Value returned by function system is not used.
898 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
erwise if it can be made const then it shall be made const. export_87()
The member function 'GpioUnexport_87' shall be made static.
1689 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
b> shall not be used. export_87()
system invokes a command processor. This can result in exploitable vul
nerabilities.
115
ID Rule Message Function Severity Status Comment
3456 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
hall be tested. export_87()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1493 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
ot an overloaded operator shall always be used. export_87()
Value returned by function system is not used.
1335 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::Process Unset Unreviewed
erwise if it can be made const then it shall be made const. LbitInfoFromFPGA()
The member function 'ProcessLbitInfoFromFPGA' shall be made const.
663 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. LbitInfoFromFPGA()
146 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. LbitInfoFromFPGA()
217 0-1-2 A project shall not contain infeasible paths. MgcmFpgaMsgHandler::Process Unset Unreviewed
LbitInfoFromFPGA()
1835 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. LbitInfoFromFPGA()
1730 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. LbitInfoFromFPGA()
912 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. LbitInfoFromFPGA()
1980 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. LbitInfoFromFPGA()
1867 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::Process Unset Unreviewed
LbitInfoFromFPGA()
2059 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::Process Unset Unreviewed
ot an overloaded operator shall always be used. LbitInfoFromFPGA()
Value returned by function printf is not used.
910 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::Process Unset Unreviewed
LbitInfoFromFPGA()
1072 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::Process Unset Unreviewed
ot an overloaded operator shall always be used. LbitInfoFromFPGA()
Value returned by function printf is not used.
2029 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::Process Unset Unreviewed
LbitInfoFromFPGA()
116
ID Rule Message Function Severity Status Comment
1632 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::Process Unset Unreviewed
ot an overloaded operator shall always be used. LbitInfoFromFPGA()
Value returned by function printf is not used.
93 0-1-2 A project shall not contain infeasible paths. File Scope Unset Unreviewed
51 5-2-4 C-style casts (other than void casts) and functional notation casts (other File Scope Unset Unreviewed
than explicit constructor calls) shall not be used.
2234 5-2-7 An object with pointer type shall not be converted to an unrelated point File Scope Unset Unreviewed
er type, either directly or indirectly.
292 5-2-4 C-style casts (other than void casts) and functional notation casts (other File Scope Unset Unreviewed
than explicit constructor calls) shall not be used.
1402 5-2-7 An object with pointer type shall not be converted to an unrelated point File Scope Unset Unreviewed
er type, either directly or indirectly.
743 27-0-1 The stream input/output library <cstdio> shall not be used. File Scope Unset Unreviewed
1337 0-1-7 The value returned by a function having a non-void return type that is n File Scope Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function printf is not used.
724 27-0-1 The stream input/output library <cstdio> shall not be used. File Scope Unset Unreviewed
2354 0-1-7 The value returned by a function having a non-void return type that is n File Scope Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function printf is not used.
1107 27-0-1 The stream input/output library <cstdio> shall not be used. File Scope Unset Unreviewed
897 0-1-7 The value returned by a function having a non-void return type that is n File Scope Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function printf is not used.
2107 27-0-1 The stream input/output library <cstdio> shall not be used. File Scope Unset Unreviewed
1425 0-1-7 The value returned by a function having a non-void return type that is n File Scope Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function printf is not used.
2001 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::Process Unset Unreviewed
erwise if it can be made const then it shall be made const. InfBsnlruStatusformFPGA()
The member function 'ProcessInfBsnlruStatusformFPGA' shall be made
const.
2217 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
251 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
117
ID Rule Message Function Severity Status Comment
2442 0-1-2 A project shall not contain infeasible paths. MgcmFpgaMsgHandler::Process Unset Unreviewed
InfBsnlruStatusformFPGA()
422 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
287 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
1010 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
540 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
3467 0-1-9 There shall be no dead code. MgcmFpgaMsgHandler::Process Unset Unreviewed
Variable 'InfBsnLruUpdateStatusMsg' is never read after this point. InfBsnlruStatusformFPGA()
3469 0-1-6 A project shall not contain instances of non-volatile variables being give MgcmFpgaMsgHandler::Process Unset Unreviewed
n values that are never subsequently used. InfBsnlruStatusformFPGA()
Variable 'InfBsnLruUpdateStatusMsg' is never read after this point.
1420 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
766 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
2135 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
788 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
2431 0-1-2 A project shall not contain infeasible paths. MgcmFpgaMsgHandler::Process Unset Unreviewed
InfBsnlruStatusformFPGA()
1841 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
270 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
2011 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
1193 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
2438 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
1434 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
118
ID Rule Message Function Severity Status Comment
1276 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. InfBsnlruStatusformFPGA()
1918 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. InfBsnlruStatusformFPGA()
1858 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::GPIOPi Unset Unreviewed
er values. nLow()
Value of type signed integer is implicitly converted to plain char.
2049 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::GPIOPi Unset Unreviewed
er values. nLow()
Value of type signed integer is implicitly converted to plain char.
1362 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::GPIOPi Unset Unreviewed
er values. nLow()
Value of type signed integer is implicitly converted to plain char.
819 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::GPIOPi Unset Unreviewed
er values. nLow()
Value of type signed integer is implicitly converted to plain char.
2350 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::GPIOPi Unset Unreviewed
er values. nLow()
Value of type signed integer is implicitly converted to plain char.
1674 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::GPIOPi Unset Unreviewed
er values. nLow()
Value of type signed integer is implicitly converted to plain char.
2180 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
erwise if it can be made const then it shall be made const. portPin()
The member function 'GpioExportPin' shall be made static.
1848 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
b> shall not be used. portPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3458 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
hall be tested. portPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2505 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. portPin()
Value returned by function system is not used.
2389 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
b> shall not be used. portPin()
119
ID Rule Message Function Severity Status Comment
system invokes a command processor. This can result in exploitable vul
nerabilities.
3459 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
hall be tested. portPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1822 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. portPin()
Value returned by function system is not used.
569 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
b> shall not be used. portPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3460 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
hall be tested. portPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
974 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. portPin()
Value returned by function system is not used.
250 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
b> shall not be used. portPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3461 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
hall be tested. portPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2420 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. portPin()
Value returned by function system is not used.
416 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
b> shall not be used. portPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
120
ID Rule Message Function Severity Status Comment
3462 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
hall be tested. portPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2285 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. portPin()
Value returned by function system is not used.
1418 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
b> shall not be used. portPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3463 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
hall be tested. portPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2168 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. portPin()
Value returned by function system is not used.
351 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
portPin()
672 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioEx Unset Unreviewed
ot an overloaded operator shall always be used. portPin()
Value returned by function printf is not used.
1676 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
erwise if it can be made const then it shall be made const. tDirectionPin()
The member function 'GpioOutDirectionPin' shall be made static.
960 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
b> shall not be used. tDirectionPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3424 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
hall be tested. tDirectionPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
121
ID Rule Message Function Severity Status Comment
1062 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirectionPin()
Value returned by function system is not used.
493 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
b> shall not be used. tDirectionPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3425 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
hall be tested. tDirectionPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2176 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirectionPin()
Value returned by function system is not used.
714 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
b> shall not be used. tDirectionPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3426 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
hall be tested. tDirectionPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
624 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirectionPin()
Value returned by function system is not used.
1113 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
b> shall not be used. tDirectionPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3427 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
hall be tested. tDirectionPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2009 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirectionPin()
Value returned by function system is not used.
122
ID Rule Message Function Severity Status Comment
180 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
b> shall not be used. tDirectionPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3428 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
hall be tested. tDirectionPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1101 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirectionPin()
Value returned by function system is not used.
413 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
b> shall not be used. tDirectionPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3429 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
hall be tested. tDirectionPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1118 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirectionPin()
Value returned by function system is not used.
2000 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
tDirectionPin()
1035 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioOu Unset Unreviewed
ot an overloaded operator shall always be used. tDirectionPin()
Value returned by function printf is not used.
1454 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
erwise if it can be made const then it shall be made const. exportPin()
The member function 'GpioUnexportPin' shall be made static.
2174 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
b> shall not be used. exportPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3430 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
hall be tested. exportPin()
Return value of 'system' not checked.
123
ID Rule Message Function Severity Status Comment
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1796 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
ot an overloaded operator shall always be used. exportPin()
Value returned by function system is not used.
2445 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
b> shall not be used. exportPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3431 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
hall be tested. exportPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
900 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
ot an overloaded operator shall always be used. exportPin()
Value returned by function system is not used.
545 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
b> shall not be used. exportPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3432 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
hall be tested. exportPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
300 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
ot an overloaded operator shall always be used. exportPin()
Value returned by function system is not used.
628 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
b> shall not be used. exportPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3433 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
hall be tested. exportPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
124
ID Rule Message Function Severity Status Comment
354 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
ot an overloaded operator shall always be used. exportPin()
Value returned by function system is not used.
1447 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
b> shall not be used. exportPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3434 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
hall be tested. exportPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
579 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
ot an overloaded operator shall always be used. exportPin()
Value returned by function system is not used.
1901 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
b> shall not be used. exportPin()
system invokes a command processor. This can result in exploitable vul
nerabilities.
3435 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
hall be tested. exportPin()
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2185 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::GpioUn Unset Unreviewed
ot an overloaded operator shall always be used. exportPin()
Value returned by function system is not used.
830 3-4-1 An identifier declared to be an object or type shall be defined in a block MgcmFpgaMsgHandler::SendSG Unset Unreviewed
that minimizes its visibility. CMNumtoFPGAthroughGPIO(in
t)
1446 7-1-1 A variable which is not modified shall be const qualified. MgcmFpgaMsgHandler::SendSG Unset Unreviewed
The value of variable 'j' does not change after initialization. The variabl CMNumtoFPGAthroughGPIO(in
e can be declared 'const'. t)
1432 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MgcmFpgaMsgHandler::SendSG Unset Unreviewed
rlying type. CMNumtoFPGAthroughGPIO(in
Implicit conversion of complex expression of underlying type 'signed in t)
t' to 'signed char'.
125
ID Rule Message Function Severity Status Comment
1779 5-0-6 An implicit integral or floating-point conversion shall not reduce the siz MgcmFpgaMsgHandler::SendSG Unset Unreviewed
e of the underlying type. CMNumtoFPGAthroughGPIO(in
Implicit conversion of the expression of underlying type 'signed int' to t t)
he type 'signed char' that is not a wider integer type of the same signedn
ess.
2274 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly MgcmFpgaMsgHandler::SendSG Unset Unreviewed
ing type. CMNumtoFPGAthroughGPIO(in
Bitwise >> on the left hand operand of signed underlying type 'signed in t)
t'.
91 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::SendSG Unset Unreviewed
er values. CMNumtoFPGAthroughGPIO(in
Value of type signed integer is implicitly converted to plain char. t)
2119 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly MgcmFpgaMsgHandler::SendSG Unset Unreviewed
ing type. CMNumtoFPGAthroughGPIO(in
Bitwise & on two operands of signed underlying types 'signed int' and 'si t)
gned char'.
2509 8-4-2 The identifiers used for the parameters in a re-declaration of a function File Scope Unset Unreviewed
shall be identical to those in the declaration.
966 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1857 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIOO expands to a construct that is not compliant with the rule.
2280 16-0-2 Macros shall only be #define 'd or #undef 'd in the global namespace. File Scope Unset Unreviewed
Macros shall not be #define'd within a block.
1117 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIO1 expands to a construct that is not compliant with the rule.
1375 16-0-2 Macros shall only be #define 'd or #undef 'd in the global namespace. File Scope Unset Unreviewed
Macros shall not be #define'd within a block.
1515 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
959 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIO2 expands to a construct that is not compliant with the rule.
1166 16-0-2 Macros shall only be #define 'd or #undef 'd in the global namespace. File Scope Unset Unreviewed
Macros shall not be #define'd within a block.
126
ID Rule Message Function Severity Status Comment
2481 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
45 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIO3 expands to a construct that is not compliant with the rule.
1148 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1350 16-0-2 Macros shall only be #define 'd or #undef 'd in the global namespace. File Scope Unset Unreviewed
Macros shall not be #define'd within a block.
1000 16-0-2 Macros shall only be #define 'd or #undef 'd in the global namespace. File Scope Unset Unreviewed
Macros shall not be #define'd within a block.
2484 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
2496 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro GPIO4 expands to a construct that is not compliant with the rule.
412 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::setgpio Unset Unreviewed
er values. pin(int)
Value of type signed integer is implicitly converted to plain char.
2186 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::setgpio Unset Unreviewed
er values. pin(int)
Value of type signed integer is implicitly converted to plain char.
920 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::setgpio Unset Unreviewed
er values. pin(int)
Value of type signed integer is implicitly converted to plain char.
230 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::setgpio Unset Unreviewed
er values. pin(int)
Value of type signed integer is implicitly converted to plain char.
1803 6-4-2 All if ... else if constructs shall be terminated with an else clause. MgcmFpgaMsgHandler::setgpio Unset Unreviewed
pin(int)
2016 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::setgpio Unset Unreviewed
er values. pin(int)
Value of type signed integer is implicitly converted to plain char.
2514 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::SetCont Unset Unreviewed
er values. rolGPIOPinHigh()
Value of type signed integer is implicitly converted to plain char.
127
ID Rule Message Function Severity Status Comment
81 5-0-11 The plain char type shall only be used for the storage and use of charact MgcmFpgaMsgHandler::SetCont Unset Unreviewed
er values. rolGPIOPinLow()
Value of type signed integer is implicitly converted to plain char.
125 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
erwise if it can be made const then it shall be made const. Value_8(char)
The member function 'SetGpioValue_8' shall be made static.
97 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_8(char)
r another if statement.
An if (expression) construct shall be followed by a compound statement.
706 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_8(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3444 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_8(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2199 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_8(char)
Value returned by function system is not used.
1396 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_8(char)
r another if statement.
The else keyword shall be followed by either a compound statement, or
another if statement.
52 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_8(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3443 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_8(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
549 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_8(char)
Value returned by function system is not used.
128
ID Rule Message Function Severity Status Comment
1923 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
erwise if it can be made const then it shall be made const. Value_9(char)
The member function 'SetGpioValue_9' shall be made static.
182 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_9(char)
r another if statement.
An if (expression) construct shall be followed by a compound statement.
433 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_9(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3455 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_9(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
594 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_9(char)
Value returned by function system is not used.
1458 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_9(char)
r another if statement.
The else keyword shall be followed by either a compound statement, or
another if statement.
1866 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_9(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3454 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_9(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2396 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_9(char)
Value returned by function system is not used.
929 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
erwise if it can be made const then it shall be made const. Value_70(char)
The member function 'SetGpioValue_70' shall be made static.
129
ID Rule Message Function Severity Status Comment
810 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_70(char)
r another if statement.
An if (expression) construct shall be followed by a compound statement.
2202 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_70(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3450 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_70(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
2409 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_70(char)
Value returned by function system is not used.
296 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_70(char)
r another if statement.
The else keyword shall be followed by either a compound statement, or
another if statement.
1440 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_70(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3449 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_70(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1112 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_70(char)
Value returned by function system is not used.
2406 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
erwise if it can be made const then it shall be made const. Value_71(char)
The member function 'SetGpioValue_71' shall be made static.
1564 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_71(char)
r another if statement.
An if (expression) construct shall be followed by a compound statement.
130
ID Rule Message Function Severity Status Comment
2523 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_71(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3465 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_71(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1518 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_71(char)
Value returned by function system is not used.
239 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_71(char)
r another if statement.
The else keyword shall be followed by either a compound statement, or
another if statement.
1095 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_71(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3464 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_71(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
565 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_71(char)
Value returned by function system is not used.
2418 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
erwise if it can be made const then it shall be made const. Value_78(char)
The member function 'SetGpioValue_78' shall be made static.
2320 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_78(char)
r another if statement.
An if (expression) construct shall be followed by a compound statement.
1178 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_78(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
131
ID Rule Message Function Severity Status Comment
3437 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_78(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
955 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_78(char)
Value returned by function system is not used.
1983 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_78(char)
r another if statement.
The else keyword shall be followed by either a compound statement, or
another if statement.
377 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_78(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3436 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_78(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
1992 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_78(char)
Value returned by function system is not used.
1370 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
erwise if it can be made const then it shall be made const. Value_88(char)
The member function 'SetGpioValue_88' shall be made static.
1093 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_88(char)
r another if statement.
An if (expression) construct shall be followed by a compound statement.
2422 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_88(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3448 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_88(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
132
ID Rule Message Function Severity Status Comment
re.
To ignore this defect, cast 'system' to void.
1802 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_88(char)
Value returned by function system is not used.
1972 6-4-1 An if ( condition ) construct shall be followed by a compound statement MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o Value_88(char)
r another if statement.
The else keyword shall be followed by either a compound statement, or
another if statement.
2317 18-0-3 The library functions abort, exit, getenv and system from library <cstdli MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
b> shall not be used. Value_88(char)
system invokes a command processor. This can result in exploitable vul
nerabilities.
3447 0-3-2 If a function generates error information, then that error information s MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
hall be tested. Value_88(char)
Return value of 'system' not checked.
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
318 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::SetGpio Unset Unreviewed
ot an overloaded operator shall always be used. Value_88(char)
Value returned by function system is not used.
2161 9-3-3 If a member function can be made static then it shall be made static, oth MgcmFpgaMsgHandler::Process Unset Unreviewed
erwise if it can be made const then it shall be made const. modechangefromFPGA()
The member function 'ProcessmodechangefromFPGA' shall be made co
nst.
555 27-0-1 The stream input/output library <cstdio> shall not be used. MgcmFpgaMsgHandler::Process Unset Unreviewed
modechangefromFPGA()
1599 0-1-7 The value returned by a function having a non-void return type that is n MgcmFpgaMsgHandler::Process Unset Unreviewed
ot an overloaded operator shall always be used. modechangefromFPGA()
Value returned by function printf is not used.
1987 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. modechangefromFPGA()
87 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. modechangefromFPGA()
583 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmFpgaMsgHandler::Process Unset Unreviewed
than explicit constructor calls) shall not be used. modechangefromFPGA()
2130 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmFpgaMsgHandler::Process Unset Unreviewed
er type, either directly or indirectly. modechangefromFPGA()
133
Table 1.24. C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmFpgaMsgHandler.h
ID Rule Message Function Severity Status Comment
1175 7-3-6 using-directives and using-declarations (excluding class scope or functio File Scope Unset Unreviewed
n scope using-declarations) shall not be used in header files.
1206 7-3-4 using-directives shall not be used. File Scope Unset Unreviewed
1574 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
429 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1929 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
72 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
2218 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1351 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1116 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
134
ID Rule Message Function Severity Status Comment
Macro OUTPUT_POWER_ARRAY expands to a construct that is not compl
iant with the rule.
2473 18-0-1 The C library shall not be used. File Scope Unset Unreviewed
Use the C++ version of this include file.
1026 7-3-4 using-directives shall not be used. File Scope Unset Unreviewed
2387 7-3-6 using-directives and using-declarations (excluding class scope or functio File Scope Unset Unreviewed
n scope using-declarations) shall not be used in header files.
1250 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1661 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
903 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1078 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2695 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'acknowledgement_required' is never used or used only in unreac
hable code.
2639 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'rf_reset_fieldw10' is never used or used only in unreachable code.
1108 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2669 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_kind' is never used or used only in unreachable code.
2915 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_counter' is never used or used only in unreachable code.
2818 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_length' is never used or used only in unreachable code.
1637 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2208 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3074 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cmd_status' is never used or used only in unreachable code.
2920 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'error_identifier' is never used or used only in unreachable code.
2662 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'crc' is never used or used only in unreachable code.
1840 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
135
ID Rule Message Function Severity Status Comment
699 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
306 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
426 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1394 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2849 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_msb' is never used or used only in unreachable code.
1385 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2890 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'active_lru' is never used or used only in unreachable code.
3117 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_lsb' is never used or used only in unreachable code.
2797 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'Part_no_lm' is never used or used only in unreachable code.
1354 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
681 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1172 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
3175 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_msb' is never used or used only in unreachable code.
516 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2561 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'bl' is never used or used only in unreachable code.
3166 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's02' is never used or used only in unreachable code.
2769 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's01' is never used or used only in unreachable code.
2746 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_lsb' is never used or used only in unreachable code.
3028 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's10' is never used or used only in unreachable code.
3040 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's09' is never used or used only in unreachable code.
136
ID Rule Message Function Severity Status Comment
2987 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's08' is never used or used only in unreachable code.
3116 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's07' is never used or used only in unreachable code.
3201 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's06' is never used or used only in unreachable code.
2699 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's05' is never used or used only in unreachable code.
3162 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's04' is never used or used only in unreachable code.
3219 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's03' is never used or used only in unreachable code.
2551 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's18' is never used or used only in unreachable code.
2641 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's17' is never used or used only in unreachable code.
3099 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's16' is never used or used only in unreachable code.
2893 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's15' is never used or used only in unreachable code.
3049 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's14' is never used or used only in unreachable code.
2900 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's13' is never used or used only in unreachable code.
2894 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's12' is never used or used only in unreachable code.
2753 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's11' is never used or used only in unreachable code.
194 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2670 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_msb' is never used or used only in unreachable code.
1590 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2581 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'bl' is never used or used only in unreachable code.
3170 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g04' is never used or used only in unreachable code.
137
ID Rule Message Function Severity Status Comment
2799 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g03' is never used or used only in unreachable code.
3080 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g02' is never used or used only in unreachable code.
2547 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g01' is never used or used only in unreachable code.
2793 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_lsb' is never used or used only in unreachable code.
2879 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g12' is never used or used only in unreachable code.
3046 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g11' is never used or used only in unreachable code.
3211 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g10' is never used or used only in unreachable code.
3182 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g09' is never used or used only in unreachable code.
2720 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g08' is never used or used only in unreachable code.
2586 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g07' is never used or used only in unreachable code.
2858 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g06' is never used or used only in unreachable code.
3165 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g05' is never used or used only in unreachable code.
3120 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g20' is never used or used only in unreachable code.
2749 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g19' is never used or used only in unreachable code.
3240 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g18' is never used or used only in unreachable code.
2780 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g17' is never used or used only in unreachable code.
2817 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g16' is never used or used only in unreachable code.
2700 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g15' is never used or used only in unreachable code.
138
ID Rule Message Function Severity Status Comment
2633 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g14' is never used or used only in unreachable code.
3055 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g13' is never used or used only in unreachable code.
2502 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2141 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
509 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
625 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
263 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2265 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
69 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
815 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2030 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
986 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1331 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1230 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1001 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
757 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2493 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1729 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1408 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
961 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1288 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1535 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
642 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2393 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2384 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
571 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1575 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
8 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1261 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
139
ID Rule Message Function Severity Status Comment
563 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1051 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1287 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1956 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
89 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
692 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2494 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2097 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
33 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2203 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
605 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
473 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
191 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1522 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1821 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
923 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1096 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1040 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
164 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
976 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2326 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1762 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
314 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
388 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1397 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2134 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1711 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
142 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
580 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2230 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
140
ID Rule Message Function Severity Status Comment
1755 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
581 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
598 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
128 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2027 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2433 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
869 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1069 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2156 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
411 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
661 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
723 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
615 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
938 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2513 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
963 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2098 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
332 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
106 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2651 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_lsb2' is never used or used only in unreachable code.
1492 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2454 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
902 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
544 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
417 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1685 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2328 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
800 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
186 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1165 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
141
ID Rule Message Function Severity Status Comment
1886 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1541 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2492 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1619 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2148 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2075 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1301 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2603 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'lsb' is never used or used only in unreachable code.
1908 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2621 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'pi' is never used or used only in unreachable code.
1777 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1944 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgCounter is visually similar to other identifiers.
2922 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msgCounter' is never used or used only in unreachable code.
2820 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_length_msb' is never used or used only in unreachable code.
3010 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused1' is never used or used only in unreachable code.
2747 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'lt' is never used or used only in unreachable code.
2979 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 't' is never used or used only in unreachable code.
2798 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'vc' is never used or used only in unreachable code.
3067 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frp' is never used or used only in unreachable code.
3060 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_length_lsb' is never used or used only in unreachable code.
486 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
618 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
142
ID Rule Message Function Severity Status Comment
1795 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2250 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier req_bsn_lru_identifier is visually similar to other identifiers.
737 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier req_bsn_lru_identifier is visually similar to other identifiers.
2497 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2045 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ans_bsn_lru_identifier is visually similar to other identifiers.
2786 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header' is never used or used only in unreachable code.
163 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ans_bsn_lru_identifier is visually similar to other identifiers.
2080 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2336 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2853 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'ID_req_failure_msg_kind_uP_to_FPGA' is never used or used only i
n unreachable code.
2306 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2984 0-1-5 A project shall not contain unused type declarations. File Scope Unset Unreviewed
Type 'ID_req_FAILURE_msg' is not used.
1279 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2802 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'LBIT_req_msg_kind_uP_to_FPGA' is never used or used only in un
reachable code.
747 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
3216 0-1-5 A project shall not contain unused type declarations. File Scope Unset Unreviewed
Type 'LBIT_req_msg' is not used.
2453 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2701 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'INIT_success_msg_kind_uP_to_FPGA' is never used or used only i
n unreachable code.
143
ID Rule Message Function Severity Status Comment
2369 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2770 0-1-5 A project shall not contain unused type declarations. File Scope Unset Unreviewed
Type 'INIT_success_msg' is not used.
1557 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier req_bsn_lru_configuration is visually similar to other identifie
rs.
474 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier req_bsn_lru_configuration is visually similar to other identifie
rs.
2104 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
753 9-5-1 Unions shall not be used. File Scope Unset Unreviewed
3103 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'mgcm_bsn_lru_configuration' is never used or used only in unrea
chable code.
2545 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'sgcm_bsn_lru_configuration' is never used or used only in unreac
hable code.
1831 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2472 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ans_bsn_lru_configuration is visually similar to other identifie
rs.
2610 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'bsn_lru_configuration' is never used or used only in unreachable
code.
190 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ans_bsn_lru_configuration is visually similar to other identifie
rs.
1734 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1837 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier req_xware_version is visually similar to other identifiers.
1699 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2171 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
144
ID Rule Message Function Severity Status Comment
2411 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier req_xware_version is visually similar to other identifiers.
662 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ans_xware_version is visually similar to other identifiers.
2015 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2538 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ans_xware_version is visually similar to other identifiers.
878 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier inf_bsn_lru_xware_update_status is visually similar to other i
dentifiers.
2655 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_msb' is never used or used only in unreachable code.
3125 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_lsb' is never used or used only in unreachable code.
1774 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1521 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
238 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier inf_bsn_lru_xware_update_status is visually similar to other i
dentifiers.
1627 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
3101 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'bsn_identifier' is never used or used only in unreachable code.
3018 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'Part_no_lm' is never used or used only in unreachable code.
1045 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
558 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier req_bsn_lru_information is visually similar to other identifier
s.
1102 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2506 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier req_bsn_lru_information is visually similar to other identifier
s.
145
ID Rule Message Function Severity Status Comment
431 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ans_bsn_lru_information is visually similar to other identifier
s.
1234 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1457 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier ans_bsn_lru_information is visually similar to other identifier
s.
279 9-5-1 Unions shall not be used. File Scope Unset Unreviewed
700 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2480 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier inf_lbit_information is visually similar to other identifiers.
283 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
480 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier inf_lbit_information is visually similar to other identifiers.
415 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier cmd_set_bsn_lru_mode is visually similar to other identifiers.
2845 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_msb' is never used or used only in unreachable code.
1308 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3050 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_lsb' is never used or used only in unreachable code.
894 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1715 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier cmd_set_bsn_lru_mode is visually similar to other identifiers.
694 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier cmd_reset_bsn_lru is visually similar to other identifiers.
1450 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1675 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier cmd_reset_bsn_lru is visually similar to other identifiers.
1973 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier operational is visually similar to other identifiers.
146
ID Rule Message Function Severity Status Comment
2961 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
58 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2908 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_ref_mode' is never used or used only in unreachable code.
1648 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2837 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_dad_mode' is never used or used only in unreachable code.
2668 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
678 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3127 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cos' is never used or used only in unreachable code.
1650 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2642 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'rs' is never used or used only in unreachable code.
3134 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency' is never used or used only in unreachable code.
749 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2634 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'tbt' is never used or used only in unreachable code.
2491 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3030 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'rbt' is never used or used only in unreachable code.
2951 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
3029 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_main' is never used or used only in unreachabl
e code.
3226 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_main' is never used or used only in unreachabl
e code.
3187 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_guard_horizontal' is never used or used only in
unreachable code.
147
ID Rule Message Function Severity Status Comment
2824 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_guard_horizontal' is never used or used only in
unreachable code.
2682 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_guard_vertical' is never used or used only in un
reachable code.
3168 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_guard_vertical' is never used or used only in un
reachable code.
2566 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused4' is never used or used only in unreachable code.
3173 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused5' is never used or used only in unreachable code.
1031 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier operational is visually similar to other identifiers.
1482 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2622 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
302 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3012 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_ref_mode' is never used or used only in unreachable code.
2460 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3022 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_dad_mode' is never used or used only in unreachable code.
2683 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
2614 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'dja' is never used or used only in unreachable code.
3001 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'oja' is never used or used only in unreachable code.
2204 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2939 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cos' is never used or used only in unreachable code.
790 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2627 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'rs' is never used or used only in unreachable code.
148
ID Rule Message Function Severity Status Comment
3231 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency_oja' is never used or used only in unreachable code.
2635 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
913 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2855 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'rbt_oja' is never used or used only in unreachable code.
3229 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency_dja' is never used or used only in unreachable code.
3082 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused4' is never used or used only in unreachable code.
1162 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3176 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'rbt_dja' is never used or used only in unreachable code.
3228 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_main' is never used or used only in unreachabl
e code.
2838 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_main' is never used or used only in unreachabl
e code.
2867 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_guard_horizontal' is never used or used only in
unreachable code.
3102 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_guard_horizontal' is never used or used only in
unreachable code.
3095 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_guard_vertical' is never used or used only in un
reachable code.
2687 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_guard_vertical' is never used or used only in un
reachable code.
2791 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused5' is never used or used only in unreachable code.
3215 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused6' is never used or used only in unreachable code.
2295 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
149
ID Rule Message Function Severity Status Comment
3177 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'bsn_identifier' is never used or used only in unreachable code.
3021 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_msb' is never used or used only in unreachable code.
2904 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'arp' is never used or used only in unreachable code.
2839 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'atp' is never used or used only in unreachable code.
3027 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 't' is never used or used only in unreachable code.
2953 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'vc' is never used or used only in unreachable code.
2877 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frp' is never used or used only in unreachable code.
206 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2650 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'state' is never used or used only in unreachable code.
1286 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3234 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'mode' is never used or used only in unreachable code.
2722 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_lsb' is never used or used only in unreachable code.
2677 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused1' is never used or used only in unreachable code.
2558 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
2885 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'ibit_info' is never used or used only in unreachable code.
1833 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2896 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'bsn_identifier' is never used or used only in unreachable code.
2734 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_msb' is never used or used only in unreachable code.
2679 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'arp' is never used or used only in unreachable code.
150
ID Rule Message Function Severity Status Comment
2593 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'atp' is never used or used only in unreachable code.
2576 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 't' is never used or used only in unreachable code.
3180 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'vc' is never used or used only in unreachable code.
2761 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frp' is never used or used only in unreachable code.
2585 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused_lsb' is never used or used only in unreachable code.
1559 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
3133 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'bsn_identifier' is never used or used only in unreachable code.
1488 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2795 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'serial_no' is never used or used only in unreachable code.
3143 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'strobe' is never used or used only in unreachable code.
2574 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'dja' is never used or used only in unreachable code.
2921 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'oja' is never used or used only in unreachable code.
3122 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'combination_dja_obj' is never used or used only in unreachable c
ode.
2968 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'reset' is never used or used only in unreachable code.
2723 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused' is never used or used only in unreachable code.
868 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2736 0-1-5 A project shall not contain unused type declarations. File Scope Unset Unreviewed
Type 'Tsfm_fpga_internal_idd_type' is not used.
2933 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase' is never used or used only in unreachable code.
151
ID Rule Message Function Severity Status Comment
2973 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'attenuation' is never used or used only in unreachable code.
1363 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
3190 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'channel1_atte' is never used or used only in unreachable code.
2675 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'channel2_atte' is never used or used only in unreachable code.
100 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2755 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_eot' is never used or used only in unreachable code.
732 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2678 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 't_gcm_id' is never used or used only in unreachable code.
3032 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_trm' is never used or used only in unreachable code.
2996 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'a_gcm_id_1' is never used or used only in unreachable code.
2869 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'abfn_ch_attn_para_1' is never used or used only in unreachable co
de.
3085 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'a_gcm_id_2' is never used or used only in unreachable code.
2932 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'abfn_ch_attn_para_2' is never used or used only in unreachable co
de.
2930 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'a_gcm_id_3' is never used or used only in unreachable code.
2554 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'abfn_ch_attn_para_3' is never used or used only in unreachable co
de.
2657 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'a_gcm_id_4' is never used or used only in unreachable code.
2941 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'abfn_ch_attn_para_4' is never used or used only in unreachable co
de.
152
ID Rule Message Function Severity Status Comment
1 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1177 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2776 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
386 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2960 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_ref_mode' is never used or used only in unreachable code.
1157 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3199 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_dad_mode' is never used or used only in unreachable code.
2569 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
2553 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency' is never used or used only in unreachable code.
3031 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
1798 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3197 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'tbt' is never used or used only in unreachable code.
2778 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's8' is never used or used only in unreachable code.
3053 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's7' is never used or used only in unreachable code.
2789 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's6' is never used or used only in unreachable code.
2584 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's5' is never used or used only in unreachable code.
2942 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's4' is never used or used only in unreachable code.
2629 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's3' is never used or used only in unreachable code.
3054 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's2' is never used or used only in unreachable code.
153
ID Rule Message Function Severity Status Comment
3062 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's1' is never used or used only in unreachable code.
2808 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's16' is never used or used only in unreachable code.
2665 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's15' is never used or used only in unreachable code.
2841 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's14' is never used or used only in unreachable code.
2993 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's13' is never used or used only in unreachable code.
2680 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's12' is never used or used only in unreachable code.
3097 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's11' is never used or used only in unreachable code.
2871 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's10' is never used or used only in unreachable code.
2812 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's9' is never used or used only in unreachable code.
2909 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's24' is never used or used only in unreachable code.
2903 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's23' is never used or used only in unreachable code.
3068 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's22' is never used or used only in unreachable code.
2600 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's21' is never used or used only in unreachable code.
2956 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's20' is never used or used only in unreachable code.
2760 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's19' is never used or used only in unreachable code.
2945 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's18' is never used or used only in unreachable code.
2595 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's17' is never used or used only in unreachable code.
3047 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's32' is never used or used only in unreachable code.
154
ID Rule Message Function Severity Status Comment
3155 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's31' is never used or used only in unreachable code.
2617 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's30' is never used or used only in unreachable code.
2552 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's29' is never used or used only in unreachable code.
2728 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's28' is never used or used only in unreachable code.
2794 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's27' is never used or used only in unreachable code.
2884 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's26' is never used or used only in unreachable code.
3000 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's25' is never used or used only in unreachable code.
3181 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's40' is never used or used only in unreachable code.
2663 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's39' is never used or used only in unreachable code.
2857 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's38' is never used or used only in unreachable code.
3061 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's37' is never used or used only in unreachable code.
3144 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's36' is never used or used only in unreachable code.
3009 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's35' is never used or used only in unreachable code.
3218 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's34' is never used or used only in unreachable code.
2730 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's33' is never used or used only in unreachable code.
2619 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's48' is never used or used only in unreachable code.
3016 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's47' is never used or used only in unreachable code.
3205 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's46' is never used or used only in unreachable code.
155
ID Rule Message Function Severity Status Comment
3183 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's45' is never used or used only in unreachable code.
2667 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's44' is never used or used only in unreachable code.
2931 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's43' is never used or used only in unreachable code.
2864 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's42' is never used or used only in unreachable code.
3137 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's41' is never used or used only in unreachable code.
3076 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's56' is never used or used only in unreachable code.
3044 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's55' is never used or used only in unreachable code.
3025 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's54' is never used or used only in unreachable code.
3188 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's53' is never used or used only in unreachable code.
2541 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's52' is never used or used only in unreachable code.
3059 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's51' is never used or used only in unreachable code.
2555 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's50' is never used or used only in unreachable code.
2637 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's49' is never used or used only in unreachable code.
2805 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused4' is never used or used only in unreachable code.
2592 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's60' is never used or used only in unreachable code.
2735 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's59' is never used or used only in unreachable code.
2938 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's58' is never used or used only in unreachable code.
2796 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's57' is never used or used only in unreachable code.
156
ID Rule Message Function Severity Status Comment
2618 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 't_gcm_id' is never used or used only in unreachable code.
2721 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_trm' is never used or used only in unreachable code.
3013 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused5' is never used or used only in unreachable code.
2654 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused6' is never used or used only in unreachable code.
1428 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2370 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier Receive_calibration is visually similar to other identifiers.
2965 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
1970 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3186 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_ref_mode' is never used or used only in unreachable code.
1269 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3193 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_dad_mode' is never used or used only in unreachable code.
3003 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
2991 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency' is never used or used only in unreachable code.
3232 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
3223 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'nb_gcm' is never used or used only in unreachable code.
2120 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2969 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'rbt' is never used or used only in unreachable code.
3243 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's8' is never used or used only in unreachable code.
2919 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's7' is never used or used only in unreachable code.
157
ID Rule Message Function Severity Status Comment
3069 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's6' is never used or used only in unreachable code.
2565 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's5' is never used or used only in unreachable code.
2591 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's4' is never used or used only in unreachable code.
2750 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's3' is never used or used only in unreachable code.
2546 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's2' is never used or used only in unreachable code.
2950 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's1' is never used or used only in unreachable code.
3145 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's16' is never used or used only in unreachable code.
2788 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's15' is never used or used only in unreachable code.
2854 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's14' is never used or used only in unreachable code.
2872 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's13' is never used or used only in unreachable code.
2763 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's12' is never used or used only in unreachable code.
2608 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's11' is never used or used only in unreachable code.
3241 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's10' is never used or used only in unreachable code.
3036 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's9' is never used or used only in unreachable code.
3208 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's24' is never used or used only in unreachable code.
2725 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's23' is never used or used only in unreachable code.
2810 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's22' is never used or used only in unreachable code.
3152 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's21' is never used or used only in unreachable code.
158
ID Rule Message Function Severity Status Comment
3048 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's20' is never used or used only in unreachable code.
3206 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's19' is never used or used only in unreachable code.
2878 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's18' is never used or used only in unreachable code.
2628 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's17' is never used or used only in unreachable code.
2544 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's32' is never used or used only in unreachable code.
2912 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's31' is never used or used only in unreachable code.
2978 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's30' is never used or used only in unreachable code.
3114 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's29' is never used or used only in unreachable code.
3236 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's28' is never used or used only in unreachable code.
2980 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's27' is never used or used only in unreachable code.
2781 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's26' is never used or used only in unreachable code.
2744 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's25' is never used or used only in unreachable code.
2957 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's40' is never used or used only in unreachable code.
3100 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's39' is never used or used only in unreachable code.
2631 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's38' is never used or used only in unreachable code.
2859 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's37' is never used or used only in unreachable code.
2891 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's36' is never used or used only in unreachable code.
3024 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's35' is never used or used only in unreachable code.
159
ID Rule Message Function Severity Status Comment
2611 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's34' is never used or used only in unreachable code.
2870 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's33' is never used or used only in unreachable code.
3081 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's48' is never used or used only in unreachable code.
2825 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's47' is never used or used only in unreachable code.
2861 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's46' is never used or used only in unreachable code.
2559 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's45' is never used or used only in unreachable code.
2672 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's44' is never used or used only in unreachable code.
2630 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's43' is never used or used only in unreachable code.
2649 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's42' is never used or used only in unreachable code.
2829 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's41' is never used or used only in unreachable code.
3147 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's56' is never used or used only in unreachable code.
2748 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's55' is never used or used only in unreachable code.
2774 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's54' is never used or used only in unreachable code.
2994 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's53' is never used or used only in unreachable code.
2809 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's52' is never used or used only in unreachable code.
2923 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's51' is never used or used only in unreachable code.
2886 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's50' is never used or used only in unreachable code.
2883 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's49' is never used or used only in unreachable code.
160
ID Rule Message Function Severity Status Comment
3184 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused4' is never used or used only in unreachable code.
2653 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's60' is never used or used only in unreachable code.
2779 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's59' is never used or used only in unreachable code.
2691 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's58' is never used or used only in unreachable code.
2954 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's57' is never used or used only in unreachable code.
2892 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_gcm' is never used or used only in unreachable code.
2813 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused5' is never used or used only in unreachable code.
2632 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused6' is never used or used only in unreachable code.
456 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
664 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier Calibration_apply is visually similar to other identifiers.
3131 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
3227 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f08' is never used or used only in unreachable code.
2918 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f07' is never used or used only in unreachable code.
2599 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f06' is never used or used only in unreachable code.
3008 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f05' is never used or used only in unreachable code.
2681 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f04' is never used or used only in unreachable code.
2714 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f03' is never used or used only in unreachable code.
2975 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f02' is never used or used only in unreachable code.
161
ID Rule Message Function Severity Status Comment
3086 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f01' is never used or used only in unreachable code.
2875 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f10' is never used or used only in unreachable code.
2704 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f0f' is never used or used only in unreachable code.
2807 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f0e' is never used or used only in unreachable code.
3078 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f0d' is never used or used only in unreachable code.
3035 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f0c' is never used or used only in unreachable code.
3090 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f0b' is never used or used only in unreachable code.
3217 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f0a' is never used or used only in unreachable code.
2842 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f09' is never used or used only in unreachable code.
3202 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f18' is never used or used only in unreachable code.
3136 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f17' is never used or used only in unreachable code.
3207 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f16' is never used or used only in unreachable code.
2686 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f15' is never used or used only in unreachable code.
2902 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f14' is never used or used only in unreachable code.
3142 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f13' is never used or used only in unreachable code.
2539 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f12' is never used or used only in unreachable code.
2623 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f11' is never used or used only in unreachable code.
2873 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f20' is never used or used only in unreachable code.
162
ID Rule Message Function Severity Status Comment
3172 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f1f' is never used or used only in unreachable code.
2800 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f1e' is never used or used only in unreachable code.
2958 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f1d' is never used or used only in unreachable code.
2927 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f1c' is never used or used only in unreachable code.
2889 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f1b' is never used or used only in unreachable code.
2609 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f1a' is never used or used only in unreachable code.
2772 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f19' is never used or used only in unreachable code.
2929 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f28' is never used or used only in unreachable code.
3124 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f27' is never used or used only in unreachable code.
2940 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f26' is never used or used only in unreachable code.
3093 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f25' is never used or used only in unreachable code.
2997 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f24' is never used or used only in unreachable code.
2828 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f23' is never used or used only in unreachable code.
2673 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f22' is never used or used only in unreachable code.
2743 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f21' is never used or used only in unreachable code.
2944 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f30' is never used or used only in unreachable code.
2666 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f2f' is never used or used only in unreachable code.
2926 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f2e' is never used or used only in unreachable code.
163
ID Rule Message Function Severity Status Comment
3126 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f2d' is never used or used only in unreachable code.
2549 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f2c' is never used or used only in unreachable code.
2785 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f2b' is never used or used only in unreachable code.
3163 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f2a' is never used or used only in unreachable code.
3200 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f29' is never used or used only in unreachable code.
2612 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f38' is never used or used only in unreachable code.
3178 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f37' is never used or used only in unreachable code.
3150 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f36' is never used or used only in unreachable code.
3034 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f35' is never used or used only in unreachable code.
2844 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f34' is never used or used only in unreachable code.
3135 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f33' is never used or used only in unreachable code.
2640 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f32' is never used or used only in unreachable code.
2934 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f31' is never used or used only in unreachable code.
3191 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f40' is never used or used only in unreachable code.
2596 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f3f' is never used or used only in unreachable code.
2848 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f3e' is never used or used only in unreachable code.
2605 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f3d' is never used or used only in unreachable code.
2804 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f3c' is never used or used only in unreachable code.
164
ID Rule Message Function Severity Status Comment
2707 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f3b' is never used or used only in unreachable code.
2998 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f3a' is never used or used only in unreachable code.
2888 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f39' is never used or used only in unreachable code.
2580 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f48' is never used or used only in unreachable code.
2718 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f47' is never used or used only in unreachable code.
2814 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f46' is never used or used only in unreachable code.
2688 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f45' is never used or used only in unreachable code.
2974 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f44' is never used or used only in unreachable code.
3209 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f43' is never used or used only in unreachable code.
2745 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f42' is never used or used only in unreachable code.
3019 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f41' is never used or used only in unreachable code.
2971 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f50' is never used or used only in unreachable code.
3156 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f4f' is never used or used only in unreachable code.
2659 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f4e' is never used or used only in unreachable code.
3111 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f4d' is never used or used only in unreachable code.
2674 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f4c' is never used or used only in unreachable code.
2765 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f4b' is never used or used only in unreachable code.
2652 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f4a' is never used or used only in unreachable code.
165
ID Rule Message Function Severity Status Comment
2833 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f49' is never used or used only in unreachable code.
3238 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f58' is never used or used only in unreachable code.
3005 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f57' is never used or used only in unreachable code.
2924 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f56' is never used or used only in unreachable code.
3098 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f55' is never used or used only in unreachable code.
3091 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f54' is never used or used only in unreachable code.
3179 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f53' is never used or used only in unreachable code.
2830 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f52' is never used or used only in unreachable code.
3224 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f51' is never used or used only in unreachable code.
2658 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f60' is never used or used only in unreachable code.
2866 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f5f' is never used or used only in unreachable code.
3002 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f5e' is never used or used only in unreachable code.
2570 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f5d' is never used or used only in unreachable code.
2636 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f5c' is never used or used only in unreachable code.
2692 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f5b' is never used or used only in unreachable code.
2656 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f5a' is never used or used only in unreachable code.
2847 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f59' is never used or used only in unreachable code.
3014 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f68' is never used or used only in unreachable code.
166
ID Rule Message Function Severity Status Comment
3159 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f67' is never used or used only in unreachable code.
2572 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f66' is never used or used only in unreachable code.
3065 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f65' is never used or used only in unreachable code.
2773 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f64' is never used or used only in unreachable code.
2556 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f63' is never used or used only in unreachable code.
2990 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f62' is never used or used only in unreachable code.
2712 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f61' is never used or used only in unreachable code.
2898 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f70' is never used or used only in unreachable code.
2607 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f6f' is never used or used only in unreachable code.
2821 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f6e' is never used or used only in unreachable code.
3041 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f6d' is never used or used only in unreachable code.
2823 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f6c' is never used or used only in unreachable code.
3130 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f6b' is never used or used only in unreachable code.
2550 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f6a' is never used or used only in unreachable code.
2846 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f69' is never used or used only in unreachable code.
3107 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f78' is never used or used only in unreachable code.
2952 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f77' is never used or used only in unreachable code.
2850 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f76' is never used or used only in unreachable code.
167
ID Rule Message Function Severity Status Comment
2897 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f75' is never used or used only in unreachable code.
2982 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f74' is never used or used only in unreachable code.
2895 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f73' is never used or used only in unreachable code.
2976 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f72' is never used or used only in unreachable code.
2972 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f71' is never used or used only in unreachable code.
2767 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f80' is never used or used only in unreachable code.
3037 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f7f' is never used or used only in unreachable code.
2587 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f7e' is never used or used only in unreachable code.
3212 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f7d' is never used or used only in unreachable code.
2645 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f7c' is never used or used only in unreachable code.
3225 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f7b' is never used or used only in unreachable code.
3096 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f7a' is never used or used only in unreachable code.
2985 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f79' is never used or used only in unreachable code.
3157 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f88' is never used or used only in unreachable code.
2790 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f87' is never used or used only in unreachable code.
2816 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f86' is never used or used only in unreachable code.
2542 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f85' is never used or used only in unreachable code.
3158 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f84' is never used or used only in unreachable code.
168
ID Rule Message Function Severity Status Comment
3070 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f83' is never used or used only in unreachable code.
2638 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f82' is never used or used only in unreachable code.
2989 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f81' is never used or used only in unreachable code.
2715 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f90' is never used or used only in unreachable code.
3204 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f8f' is never used or used only in unreachable code.
2664 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f8e' is never used or used only in unreachable code.
3066 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f8d' is never used or used only in unreachable code.
2759 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f8c' is never used or used only in unreachable code.
2689 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f8b' is never used or used only in unreachable code.
2916 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f8a' is never used or used only in unreachable code.
2579 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f89' is never used or used only in unreachable code.
2860 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f98' is never used or used only in unreachable code.
2881 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f97' is never used or used only in unreachable code.
2852 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f96' is never used or used only in unreachable code.
3154 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f95' is never used or used only in unreachable code.
2708 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f94' is never used or used only in unreachable code.
3149 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f93' is never used or used only in unreachable code.
2751 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f92' is never used or used only in unreachable code.
169
ID Rule Message Function Severity Status Comment
3058 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f91' is never used or used only in unreachable code.
2719 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'fa0' is never used or used only in unreachable code.
2988 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f9f' is never used or used only in unreachable code.
3033 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f9e' is never used or used only in unreachable code.
3071 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f9d' is never used or used only in unreachable code.
2967 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f9c' is never used or used only in unreachable code.
2803 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f9b' is never used or used only in unreachable code.
3084 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f9a' is never used or used only in unreachable code.
3148 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'f99' is never used or used only in unreachable code.
3220 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
2995 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'fa1' is never used or used only in unreachable code.
2578 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
2834 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused4' is never used or used only in unreachable code.
1303 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2501 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier Calibration_transfer is visually similar to other identifiers.
3042 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
3119 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency' is never used or used only in unreachable code.
3109 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused1' is never used or used only in unreachable code.
170
ID Rule Message Function Severity Status Comment
3140 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'nb_gcm' is never used or used only in unreachable code.
2698 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'gcm_id_1' is never used or used only in unreachable code.
2575 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_tbt_id_1' is never used or used only in unreachable code.
3110 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_rbt_id_1' is never used or used only in unreachable code.
3185 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_rbt_eor_id_1' is never used or used only in unreachable cod
e.
3141 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'gcm_id_2' is never used or used only in unreachable code.
2756 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_tbt_id_2' is never used or used only in unreachable code.
3196 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_rbt_id_2' is never used or used only in unreachable code.
2685 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_rbt_eor_id_2' is never used or used only in unreachable cod
e.
2815 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
2684 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
2415 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1023 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier inf_bsn_lru_status is visually similar to other identifiers.
1519 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2936 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'state' is never used or used only in unreachable code.
1290 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1583 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
1444 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1587 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier inf_bsn_lru_status is visually similar to other identifiers.
171
ID Rule Message Function Severity Status Comment
71 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier Discrete_measurement is visually similar to other identifiers.
1233 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
3026 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
1544 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2943 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_ref_mode' is never used or used only in unreachable code.
1854 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2819 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_dad_mode' is never used or used only in unreachable code.
879 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2732 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'pim' is never used or used only in unreachable code.
1328 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3214 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_type' is never used or used only in unreachable code.
2727 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
2905 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency' is never used or used only in unreachable code.
3239 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
1985 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2946 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's08' is never used or used only in unreachable code.
1297 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3006 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's07' is never used or used only in unreachable code.
74 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3169 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's06' is never used or used only in unreachable code.
2022 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
172
ID Rule Message Function Severity Status Comment
2906 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's05' is never used or used only in unreachable code.
1746 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2910 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's04' is never used or used only in unreachable code.
1326 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2706 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's03' is never used or used only in unreachable code.
818 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3198 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's02' is never used or used only in unreachable code.
204 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2560 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's01' is never used or used only in unreachable code.
646 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3063 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's16' is never used or used only in unreachable code.
1476 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2703 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's15' is never used or used only in unreachable code.
444 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3056 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's14' is never used or used only in unreachable code.
1486 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2648 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's13' is never used or used only in unreachable code.
1176 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3160 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's12' is never used or used only in unreachable code.
2338 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2983 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's11' is never used or used only in unreachable code.
924 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3146 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's10' is never used or used only in unreachable code.
173
ID Rule Message Function Severity Status Comment
1368 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2694 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's09' is never used or used only in unreachable code.
1068 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2697 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's24' is never used or used only in unreachable code.
518 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2874 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's23' is never used or used only in unreachable code.
349 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3051 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's22' is never used or used only in unreachable code.
936 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2594 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's21' is never used or used only in unreachable code.
1698 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2880 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's20' is never used or used only in unreachable code.
669 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2740 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's19' is never used or used only in unreachable code.
1551 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2955 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's18' is never used or used only in unreachable code.
1174 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2792 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's17' is never used or used only in unreachable code.
1048 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3203 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's32' is never used or used only in unreachable code.
1669 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2843 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's31' is never used or used only in unreachable code.
949 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
174
ID Rule Message Function Severity Status Comment
3043 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's30' is never used or used only in unreachable code.
102 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3011 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's29' is never used or used only in unreachable code.
1190 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2782 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's28' is never used or used only in unreachable code.
620 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2597 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's27' is never used or used only in unreachable code.
1044 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2822 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's26' is never used or used only in unreachable code.
619 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2731 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's25' is never used or used only in unreachable code.
2268 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2620 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's40' is never used or used only in unreachable code.
1191 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2548 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's39' is never used or used only in unreachable code.
2172 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2588 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's38' is never used or used only in unreachable code.
1744 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2868 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's37' is never used or used only in unreachable code.
1748 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2754 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's36' is never used or used only in unreachable code.
720 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2733 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's35' is never used or used only in unreachable code.
175
ID Rule Message Function Severity Status Comment
1029 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2907 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's34' is never used or used only in unreachable code.
134 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2562 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's33' is never used or used only in unreachable code.
997 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3113 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's48' is never used or used only in unreachable code.
2335 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2737 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's47' is never used or used only in unreachable code.
1267 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2764 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's46' is never used or used only in unreachable code.
110 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2766 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's45' is never used or used only in unreachable code.
546 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2771 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's44' is never used or used only in unreachable code.
2412 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2806 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's43' is never used or used only in unreachable code.
2461 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3072 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's42' is never used or used only in unreachable code.
235 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2741 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's41' is never used or used only in unreachable code.
853 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3115 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's56' is never used or used only in unreachable code.
759 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
176
ID Rule Message Function Severity Status Comment
3210 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's55' is never used or used only in unreachable code.
1580 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2582 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's54' is never used or used only in unreachable code.
798 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2729 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's53' is never used or used only in unreachable code.
529 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2624 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's52' is never used or used only in unreachable code.
424 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2835 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's51' is never used or used only in unreachable code.
1360 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2567 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's50' is never used or used only in unreachable code.
748 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3020 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's49' is never used or used only in unreachable code.
2917 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused4' is never used or used only in unreachable code.
1039 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3112 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's60' is never used or used only in unreachable code.
1490 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2590 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's59' is never used or used only in unreachable code.
530 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2709 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's58' is never used or used only in unreachable code.
209 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2948 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's57' is never used or used only in unreachable code.
177
ID Rule Message Function Severity Status Comment
3092 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'trm_gcm_identifier' is never used or used only in unreachable cod
e.
2716 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'acn' is never used or used only in unreachable code.
3083 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'trm_number' is never used or used only in unreachable code.
2901 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused5' is never used or used only in unreachable code.
3106 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'trm_phase' is never used or used only in unreachable code.
2966 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'trm_attenuation' is never used or used only in unreachable code.
2676 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'abfn_gcm_identifier' is never used or used only in unreachable co
de.
3023 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'abfn_channel_phase' is never used or used only in unreachable co
de.
2726 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'abfn_channel_attenuation' is never used or used only in unreacha
ble code.
2315 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
3222 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
2228 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3242 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_ref_mode' is never used or used only in unreachable code.
1374 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3128 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_dad_mode' is never used or used only in unreachable code.
2543 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
781 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2705 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_type' is never used or used only in unreachable code.
178
ID Rule Message Function Severity Status Comment
2762 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
1034 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2851 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cos' is never used or used only in unreachable code.
2992 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused4' is never used or used only in unreachable code.
2947 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency' is never used or used only in unreachable code.
2811 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused5' is never used or used only in unreachable code.
3077 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'beam_type' is never used or used only in unreachable code.
2752 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused6' is never used or used only in unreachable code.
2882 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_main' is never used or used only in unreachabl
e code.
3139 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_main' is never used or used only in unreachabl
e code.
2899 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_guard_horizontal' is never used or used only in
unreachable code.
2959 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_guard_horizontal' is never used or used only in
unreachable code.
3151 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_a_guard_vertical' is never used or used only in un
reachable code.
2646 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'phase_gradient_b_guard_vertical' is never used or used only in un
reachable code.
2643 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused7' is never used or used only in unreachable code.
2571 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused8' is never used or used only in unreachable code.
179
ID Rule Message Function Severity Status Comment
2711 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'msg_header_opr' is never used or used only in unreachable code.
1204 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2660 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_ref_mode' is never used or used only in unreachable code.
1874 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3174 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_dad_mode' is never used or used only in unreachable code.
2540 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused2' is never used or used only in unreachable code.
3123 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'frequency' is never used or used only in unreachable code.
2827 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused3' is never used or used only in unreachable code.
2329 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2739 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'cal_type' is never used or used only in unreachable code.
2937 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'beam_type' is never used or used only in unreachable code.
2232 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2977 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's08' is never used or used only in unreachable code.
1025 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2604 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's07' is never used or used only in unreachable code.
1851 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3233 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's06' is never used or used only in unreachable code.
520 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2981 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's05' is never used or used only in unreachable code.
73 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3079 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's04' is never used or used only in unreachable code.
246 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
180
ID Rule Message Function Severity Status Comment
3007 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's03' is never used or used only in unreachable code.
1146 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3038 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's02' is never used or used only in unreachable code.
1605 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3089 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's01' is never used or used only in unreachable code.
1624 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3189 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's16' is never used or used only in unreachable code.
1646 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3153 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's15' is never used or used only in unreachable code.
1241 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3121 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's14' is never used or used only in unreachable code.
1229 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2671 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's13' is never used or used only in unreachable code.
2474 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3161 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's12' is never used or used only in unreachable code.
543 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2602 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's11' is never used or used only in unreachable code.
1053 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2742 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's10' is never used or used only in unreachable code.
303 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3195 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's09' is never used or used only in unreachable code.
1961 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2928 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's24' is never used or used only in unreachable code.
181
ID Rule Message Function Severity Status Comment
1790 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2863 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's23' is never used or used only in unreachable code.
893 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2787 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's22' is never used or used only in unreachable code.
1371 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3213 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's21' is never used or used only in unreachable code.
933 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2775 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's20' is never used or used only in unreachable code.
335 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2573 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's19' is never used or used only in unreachable code.
1047 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2625 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's18' is never used or used only in unreachable code.
1415 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2758 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's17' is never used or used only in unreachable code.
1824 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2862 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's32' is never used or used only in unreachable code.
64 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2738 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's31' is never used or used only in unreachable code.
1131 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3064 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's30' is never used or used only in unreachable code.
1364 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2616 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's29' is never used or used only in unreachable code.
872 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
182
ID Rule Message Function Severity Status Comment
2826 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's28' is never used or used only in unreachable code.
918 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2564 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's27' is never used or used only in unreachable code.
2383 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2757 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's26' is never used or used only in unreachable code.
1248 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3237 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's25' is never used or used only in unreachable code.
647 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2693 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's40' is never used or used only in unreachable code.
126 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3192 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's39' is never used or used only in unreachable code.
2489 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3235 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's38' is never used or used only in unreachable code.
185 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3075 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's37' is never used or used only in unreachable code.
2056 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2717 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's36' is never used or used only in unreachable code.
2341 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3073 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's35' is never used or used only in unreachable code.
1725 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2925 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's34' is never used or used only in unreachable code.
258 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2935 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's33' is never used or used only in unreachable code.
183
ID Rule Message Function Severity Status Comment
660 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2696 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's48' is never used or used only in unreachable code.
1348 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2626 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's47' is never used or used only in unreachable code.
141 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3017 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's46' is never used or used only in unreachable code.
668 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3045 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's45' is never used or used only in unreachable code.
1942 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2577 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's44' is never used or used only in unreachable code.
1717 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2911 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's43' is never used or used only in unreachable code.
1638 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3171 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's42' is never used or used only in unreachable code.
1163 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2970 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's41' is never used or used only in unreachable code.
2071 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3088 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's56' is never used or used only in unreachable code.
1453 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2583 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's55' is never used or used only in unreachable code.
926 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2836 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's54' is never used or used only in unreachable code.
2082 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
184
ID Rule Message Function Severity Status Comment
3057 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's53' is never used or used only in unreachable code.
31 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3129 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's52' is never used or used only in unreachable code.
2039 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2647 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's51' is never used or used only in unreachable code.
1431 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3194 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's50' is never used or used only in unreachable code.
1603 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2876 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's49' is never used or used only in unreachable code.
3094 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused4' is never used or used only in unreachable code.
2333 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3164 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's60' is never used or used only in unreachable code.
2258 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2563 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's59' is never used or used only in unreachable code.
2190 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2768 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's58' is never used or used only in unreachable code.
2357 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
3118 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 's57' is never used or used only in unreachable code.
1475 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2644 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g2a' is never used or used only in unreachable code.
2325 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2601 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g1a' is never used or used only in unreachable code.
185
ID Rule Message Function Severity Status Comment
2713 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'nb_gcm' is never used or used only in unreachable code.
2986 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused5' is never used or used only in unreachable code.
366 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2690 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g6a' is never used or used only in unreachable code.
2160 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2568 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g5a' is never used or used only in unreachable code.
855 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2615 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g4a' is never used or used only in unreachable code.
1783 9-6-3 Bit-fields shall not have enum type. File Scope Unset Unreviewed
2964 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'g3a' is never used or used only in unreachable code.
2724 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'array_gcm' is never used or used only in unreachable code.
2606 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'unused6' is never used or used only in unreachable code.
365 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
186
ID Rule Message Function Severity Status Comment
968 7-1-1 A variable which is not modified shall be const qualified. MgcmSender::SendMsgToABCM Unset Unreviewed
The pointer parameter 'pData' points to the same address during its lifet (char*, int)
ime. The pointer can be declared as 'T* const'.
1528 0-1-7 The value returned by a function having a non-void return type that is n MgcmSender::SendMsgToABCM Unset Unreviewed
ot an overloaded operator shall always be used. (char*, int)
Value returned by function UdpDataSend is not used.
533 9-3-3 If a member function can be made static then it shall be made static, oth MgcmSender::SendMsgToTSFM( Unset Unreviewed
erwise if it can be made const then it shall be made const. char*, int)
The member function 'SendMsgToTSFM' shall be made const.
2065 7-1-1 A variable which is not modified shall be const qualified. MgcmSender::SendMsgToTSFM( Unset Unreviewed
The pointer parameter 'pData' points to the same address during its lifet char*, int)
ime. The pointer can be declared as 'T* const'.
168 0-1-7 The value returned by a function having a non-void return type that is n MgcmSender::SendMsgToTSFM( Unset Unreviewed
ot an overloaded operator shall always be used. char*, int)
Value returned by function UDPBroadCastSendData is not used.
2264 9-3-3 If a member function can be made static then it shall be made static, oth MgcmSender::SendMsgToParen Unset Unreviewed
erwise if it can be made const then it shall be made const. tFpga(char*, int)
The member function 'SendMsgToParentFpga' shall be made const.
537 7-1-1 A variable which is not modified shall be const qualified. MgcmSender::SendMsgToParen Unset Unreviewed
The pointer parameter 'pData' points to the same address during its lifet tFpga(char*, int)
ime. The pointer can be declared as 'T* const'.
260 0-1-7 The value returned by a function having a non-void return type that is n MgcmSender::SendMsgToParen Unset Unreviewed
ot an overloaded operator shall always be used. tFpga(char*, int)
Value returned by function SerialDataSend is not used.
459 9-3-3 If a member function can be made static then it shall be made static, oth MgcmSender::SendMsgToMgcm Unset Unreviewed
erwise if it can be made const then it shall be made const. Fpga(char*, int)
The member function 'SendMsgToMgcmFpga' shall be made const.
2060 7-1-1 A variable which is not modified shall be const qualified. MgcmSender::SendMsgToMgcm Unset Unreviewed
The pointer parameter 'pData' points to the same address during its lifet Fpga(char*, int)
ime. The pointer can be declared as 'T* const'.
534 0-1-7 The value returned by a function having a non-void return type that is n MgcmSender::SendMsgToMgcm Unset Unreviewed
ot an overloaded operator shall always be used. Fpga(char*, int)
Value returned by function SerialDataSend is not used.
1914 9-3-3 If a member function can be made static then it shall be made static, oth MgcmSender::SendMsgToMgcm Unset Unreviewed
erwise if it can be made const then it shall be made const. FpgaOverGpmc(char*, int)
The member function 'SendMsgToMgcmFpgaOverGpmc' shall be made
const.
874 7-1-1 A variable which is not modified shall be const qualified. MgcmSender::SendMsgToMgcm Unset Unreviewed
The pointer parameter 'pData' points to the same address during its lifet FpgaOverGpmc(char*, int)
ime. The pointer can be declared as 'T* const'.
187
ID Rule Message Function Severity Status Comment
1249 0-1-7 The value returned by a function having a non-void return type that is n MgcmSender::SendMsgToMgcm Unset Unreviewed
ot an overloaded operator shall always be used. FpgaOverGpmc(char*, int)
Value returned by function GpmcSend is not used.
784 5-0-1 The value of an expression shall be the same under any order of evaluat MgcmSender::SendAckStd(CsciE Unset Unreviewed
ion that the standard permits. num, ack_status_enum_type)
Variable ackstd is written and reused within this expression.
201 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmSender::SendAckStd(CsciE Unset Unreviewed
than explicit constructor calls) shall not be used. num, ack_status_enum_type)
1608 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmSender::SendAckStd(CsciE Unset Unreviewed
er type, either directly or indirectly. num, ack_status_enum_type)
1489 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmSender::SendAckStd(CsciE Unset Unreviewed
than explicit constructor calls) shall not be used. num, ack_status_enum_type)
2269 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmSender::SendAckStd(CsciE Unset Unreviewed
er type, either directly or indirectly. num, ack_status_enum_type)
2289 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmSender::SendAckStd(CsciE Unset Unreviewed
than explicit constructor calls) shall not be used. num, ack_status_enum_type)
1307 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmSender::SendAckStd(CsciE Unset Unreviewed
er type, either directly or indirectly. num, ack_status_enum_type)
576 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmSender::SendAckStd(CsciE Unset Unreviewed
than explicit constructor calls) shall not be used. num, ack_status_enum_type)
197 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmSender::SendAckStd(CsciE Unset Unreviewed
er type, either directly or indirectly. num, ack_status_enum_type)
621 6-4-2 All if ... else if constructs shall be terminated with an else clause. MgcmSender::SendAckStd(CsciE Unset Unreviewed
num, ack_status_enum_type)
1565 5-2-4 C-style casts (other than void casts) and functional notation casts (other MgcmSender::SendAckStd(CsciE Unset Unreviewed
than explicit constructor calls) shall not be used. num, ack_status_enum_type)
653 5-2-7 An object with pointer type shall not be converted to an unrelated point MgcmSender::SendAckStd(CsciE Unset Unreviewed
er type, either directly or indirectly. num, ack_status_enum_type)
188
Table 1.28. C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link]
ID Rule Message Function Severity Status Comment
1568 9-3-3 If a member function can be made static then it shall be made static, oth MsgQueue::MsgQueueServerIni Unset Unreviewed
erwise if it can be made const then it shall be made const. t(mqd_t&, const char*, int, int)
The member function 'MsgQueueServerInit' shall be made static.
1832 6-6-5 A function shall have a single point of exit at the end of the function. MsgQueue::MsgQueueServerIni Unset Unreviewed
t(mqd_t&, const char*, int, int)
1710 7-1-1 A variable which is not modified shall be const qualified. MsgQueue::MsgQueueServerIni Unset Unreviewed
The pointer parameter 'pQueueName' points to the same address durin t(mqd_t&, const char*, int, int)
g its lifetime. The pointer can be declared as 'T* const'.
40 6-2-1 Assignment operators shall not be used in sub-expressions. MsgQueue::MsgQueueServerIni Unset Unreviewed
t(mqd_t&, const char*, int, int)
2261 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly MsgQueue::MsgQueueServerIni Unset Unreviewed
ing type. t(mqd_t&, const char*, int, int)
Bitwise | on two operands of signed underlying types 'signed char' and '
signed char'.
148 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly MsgQueue::MsgQueueServerIni Unset Unreviewed
ing type. t(mqd_t&, const char*, int, int)
Bitwise | on two operands of signed underlying types 'signed char' and '
signed short'.
825 2-13-2 Octal constants (other than zero) and octal escape sequences (other tha MsgQueue::MsgQueueServerIni Unset Unreviewed
n "\0") shall not be used. t(mqd_t&, const char*, int, int)
2327 0-1-1 A project shall not contain unreachable code. MsgQueue::MsgQueueServerIni Unset Unreviewed
Statement is unreachable t(mqd_t&, const char*, int, int)
1197 9-3-3 If a member function can be made static then it shall be made static, oth MsgQueue::MsgQueueClientInit Unset Unreviewed
erwise if it can be made const then it shall be made const. (const char*, mqd_t&)
The member function 'MsgQueueClientInit' shall be made static.
1487 6-6-5 A function shall have a single point of exit at the end of the function. MsgQueue::MsgQueueClientInit Unset Unreviewed
(const char*, mqd_t&)
946 7-1-1 A variable which is not modified shall be const qualified. MsgQueue::MsgQueueClientInit Unset Unreviewed
The pointer parameter 'pQueueName' points to the same address durin (const char*, mqd_t&)
g its lifetime. The pointer can be declared as 'T* const'.
1531 6-2-1 Assignment operators shall not be used in sub-expressions. MsgQueue::MsgQueueClientInit Unset Unreviewed
(const char*, mqd_t&)
2447 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly MsgQueue::MsgQueueClientInit Unset Unreviewed
ing type. (const char*, mqd_t&)
Bitwise | on two operands of signed underlying types 'signed char' and '
signed char'.
189
ID Rule Message Function Severity Status Comment
715 2-13-2 Octal constants (other than zero) and octal escape sequences (other tha MsgQueue::MsgQueueClientInit Unset Unreviewed
n "\0") shall not be used. (const char*, mqd_t&)
66 19-3-1 The error indicator errno shall not be used. MsgQueue::MsgQueueClientInit Unset Unreviewed
(const char*, mqd_t&)
1582 27-0-1 The stream input/output library <cstdio> shall not be used. MsgQueue::MsgQueueClientInit Unset Unreviewed
(const char*, mqd_t&)
2048 0-1-1 A project shall not contain unreachable code. MsgQueue::MsgQueueClientInit Unset Unreviewed
Statement is unreachable (const char*, mqd_t&)
1002 9-3-3 If a member function can be made static then it shall be made static, oth MsgQueue::MsgQReceive(mqd_t Unset Unreviewed
erwise if it can be made const then it shall be made const. , char*, unsigned int)
The member function 'MsgQReceive' shall be made static.
707 7-1-1 A variable which is not modified shall be const qualified. MsgQueue::MsgQReceive(mqd_t Unset Unreviewed
The pointer parameter 'pDataBuffer' points to the same address during i , char*, unsigned int)
ts lifetime. The pointer can be declared as 'T* const'.
786 0-1-4 A project shall not contain non-volatile POD variables having only one u MsgQueue::MsgQReceive(mqd_t Unset Unreviewed
se. , char*, unsigned int)
New variable 'prio' is introduced for only one use.
738 2-7-2 Sections of code shall not be "commented out" using C-style comments. MsgQueue::MsgQReceive(mqd_t Unset Unreviewed
, char*, unsigned int)
570 9-3-3 If a member function can be made static then it shall be made static, oth MsgQueue::MsgQSend(mqd_t, c Unset Unreviewed
erwise if it can be made const then it shall be made const. har*, int, unsigned int)
The member function 'MsgQSend' shall be made static.
2245 7-1-2 A pointer or reference parameter in a function shall be declared as poin MsgQueue::MsgQSend(mqd_t, c Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi har*, int, unsigned int)
fied.
2382 7-1-1 A variable which is not modified shall be const qualified. MsgQueue::MsgQSend(mqd_t, c Unset Unreviewed
The pointer parameter 'pData' points to the same address during its lifet har*, int, unsigned int)
ime. The pointer can be declared as 'T* const'.
1797 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MsgQueue::MsgQSend(mqd_t, c Unset Unreviewed
rlying type. har*, int, unsigned int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
2184 5-0-4 An implicit integral conversion shall not change the signedness of the u MsgQueue::MsgQSend(mqd_t, c Unset Unreviewed
nderlying type. har*, int, unsigned int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
190
Table 1.29. C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MsgQueue.h
ID Rule Message Function Severity Status Comment
722 18-0-1 The C library shall not be used. File Scope Unset Unreviewed
Use the C++ version of this include file.
1530 18-0-1 The C library shall not be used. File Scope Unset Unreviewed
Use the C++ version of this include file.
1246 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro NO_WAIT expands to a construct that is not compliant with the r
ule.
1324 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1576 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
1855 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro WAIT expands to a construct that is not compliant with the rule.
244 7-3-6 using-directives and using-declarations (excluding class scope or functio File Scope Unset Unreviewed
n scope using-declarations) shall not be used in header files.
604 7-3-4 using-directives shall not be used. File Scope Unset Unreviewed
539 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
191
ID Rule Message Function Severity Status Comment
921 7-1-1 A variable which is not modified shall be const qualified. MulticastUtility::MulticastInit(c Unset Unreviewed
The value of variable 'optval' does not change after initialization. The va har*, int)
riable can be declared 'const'.
705 7-1-1 A variable which is not modified shall be const qualified. MulticastUtility::MulticastInit(c Unset Unreviewed
The value of variable 'mc_ttl' does not change after initialization. The va har*, int)
riable can be declared 'const'.
2290 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastInit(c Unset Unreviewed
har*, int)
994 5-2-4 C-style casts (other than void casts) and functional notation casts (other MulticastUtility::MulticastInit(c Unset Unreviewed
than explicit constructor calls) shall not be used. har*, int)
2103 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastInit(c Unset Unreviewed
har*, int)
2262 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MulticastUtility::MulticastInit(c Unset Unreviewed
rlying type. har*, int)
Implicit conversion of expression of 'signed char' type in function retur
n whose expected type is 'bool'.
3473 0-3-2 If a function generates error information, then that error information s MulticastUtility::MulticastInit(c Unset Unreviewed
hall be tested. har*, int)
Return value of 'ioctl' not checked.
'ioctl' returns 0 on success or -1 on failure.
To ignore this defect, cast 'ioctl' to void.
795 0-1-7 The value returned by a function having a non-void return type that is n MulticastUtility::MulticastInit(c Unset Unreviewed
ot an overloaded operator shall always be used. har*, int)
Value returned by function ioctl is not used.
1395 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastInit(c Unset Unreviewed
har*, int)
25 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MulticastUtility::MulticastInit(c Unset Unreviewed
rlying type. har*, int)
Implicit conversion of expression of 'signed char' type in function retur
n whose expected type is 'bool'.
2504 5-2-4 C-style casts (other than void casts) and functional notation casts (other MulticastUtility::MulticastInit(c Unset Unreviewed
than explicit constructor calls) shall not be used. har*, int)
525 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastInit(c Unset Unreviewed
har*, int)
352 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MulticastUtility::MulticastInit(c Unset Unreviewed
rlying type. har*, int)
Implicit conversion of expression of 'signed char' type in function retur
n whose expected type is 'bool'.
192
ID Rule Message Function Severity Status Comment
179 5-2-4 C-style casts (other than void casts) and functional notation casts (other MulticastUtility::MulticastInit(c Unset Unreviewed
than explicit constructor calls) shall not be used. har*, int)
591 5-2-7 An object with pointer type shall not be converted to an unrelated point MulticastUtility::MulticastInit(c Unset Unreviewed
er type, either directly or indirectly. har*, int)
958 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MulticastUtility::MulticastInit(c Unset Unreviewed
rlying type. har*, int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned short'.
2521 5-0-4 An implicit integral conversion shall not change the signedness of the u MulticastUtility::MulticastInit(c Unset Unreviewed
nderlying type. har*, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned short' that is not a wider integer type of the same sign
edness.
1006 5-2-4 C-style casts (other than void casts) and functional notation casts (other MulticastUtility::MulticastInit(c Unset Unreviewed
than explicit constructor calls) shall not be used. har*, int)
1313 5-2-7 An object with pointer type shall not be converted to an unrelated point MulticastUtility::MulticastInit(c Unset Unreviewed
er type, either directly or indirectly. har*, int)
550 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastInit(c Unset Unreviewed
har*, int)
1847 5-2-4 C-style casts (other than void casts) and functional notation casts (other MulticastUtility::MulticastInit(c Unset Unreviewed
than explicit constructor calls) shall not be used. har*, int)
1910 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastInit(c Unset Unreviewed
har*, int)
2164 0-1-7 The value returned by a function having a non-void return type that is n MulticastUtility::MulticastInit(c Unset Unreviewed
ot an overloaded operator shall always be used. har*, int)
Value returned by function printf is not used.
952 5-2-4 C-style casts (other than void casts) and functional notation casts (other MulticastUtility::MulticastInit(c Unset Unreviewed
than explicit constructor calls) shall not be used. har*, int)
213 5-0-4 An implicit integral conversion shall not change the signedness of the u MulticastUtility::MulticastInit(c Unset Unreviewed
nderlying type. har*, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned short' that is not a wider integer type of the same sign
edness.
1007 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MulticastUtility::MulticastInit(c Unset Unreviewed
rlying type. har*, int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned short'.
1666 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastInit(c Unset Unreviewed
har*, int)
193
ID Rule Message Function Severity Status Comment
350 6-6-5 A function shall have a single point of exit at the end of the function. MulticastUtility::MulticastSend( Unset Unreviewed
char*, int)
1510 9-3-3 If a member function can be made static then it shall be made static, oth MulticastUtility::MulticastSend( Unset Unreviewed
erwise if it can be made const then it shall be made const. char*, int)
The member function 'MulticastSend' shall be made const.
1140 7-1-1 A variable which is not modified shall be const qualified. MulticastUtility::MulticastSend( Unset Unreviewed
The pointer parameter 'data' points to the same address during its lifeti char*, int)
me. The pointer can be declared as 'T* const'.
1144 7-1-2 A pointer or reference parameter in a function shall be declared as poin MulticastUtility::MulticastSend( Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi char*, int)
fied.
360 5-0-4 An implicit integral conversion shall not change the signedness of the u MulticastUtility::MulticastSend( Unset Unreviewed
nderlying type. char*, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
515 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MulticastUtility::MulticastSend( Unset Unreviewed
rlying type. char*, int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
1617 5-2-4 C-style casts (other than void casts) and functional notation casts (other MulticastUtility::MulticastSend( Unset Unreviewed
than explicit constructor calls) shall not be used. char*, int)
1013 5-2-7 An object with pointer type shall not be converted to an unrelated point MulticastUtility::MulticastSend( Unset Unreviewed
er type, either directly or indirectly. char*, int)
1104 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastSend( Unset Unreviewed
char*, int)
602 6-6-5 A function shall have a single point of exit at the end of the function. MulticastUtility::MulticastRecv( Unset Unreviewed
char*, int)
1305 9-3-3 If a member function can be made static then it shall be made static, oth MulticastUtility::MulticastRecv( Unset Unreviewed
erwise if it can be made const then it shall be made const. char*, int)
The member function 'MulticastRecv' shall be made const.
2189 7-1-1 A variable which is not modified shall be const qualified. MulticastUtility::MulticastRecv( Unset Unreviewed
The pointer parameter 'data' points to the same address during its lifeti char*, int)
me. The pointer can be declared as 'T* const'.
172 5-0-4 An implicit integral conversion shall not change the signedness of the u MulticastUtility::MulticastRecv( Unset Unreviewed
nderlying type. char*, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
194
ID Rule Message Function Severity Status Comment
2122 5-0-3 A cvalue expression shall not be implicitly converted to a different unde MulticastUtility::MulticastRecv( Unset Unreviewed
rlying type. char*, int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
2417 27-0-1 The stream input/output library <cstdio> shall not be used. MulticastUtility::MulticastRecv( Unset Unreviewed
char*, int)
195
ID Rule Message Function Severity Status Comment
2416 9-3-3 If a member function can be made static then it shall be made static, oth ParentTSFMInterface::Initialize Unset Unreviewed
erwise if it can be made const then it shall be made const. UartComm()
The member function 'InitializeUartComm' shall be made const.
1134 5-0-3 A cvalue expression shall not be implicitly converted to a different unde ParentTSFMInterface::Initialize Unset Unreviewed
rlying type. UartComm()
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned long'.
2465 5-0-4 An implicit integral conversion shall not change the signedness of the u ParentTSFMInterface::Initialize Unset Unreviewed
nderlying type. UartComm()
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned long' that is not a wider integer type of the same signe
dness.
410 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMInterface::RecvMsg Unset Unreviewed
The value of variable 'csci' does not change after initialization. The vari FromParentTSFM()
able can be declared 'const'.
104 5-0-11 The plain char type shall only be used for the storage and use of charact ParentTSFMInterface::RecvMsg Unset Unreviewed
er values. FromParentTSFM()
Value of type signed integer is implicitly converted to plain char.
1640 6-2-1 Assignment operators shall not be used in sub-expressions. ParentTSFMInterface::RecvMsg Unset Unreviewed
FromParentTSFM()
1809 5-0-15 Array indexing shall be the only form of pointer arithmetic. ParentTSFMInterface::RecvMsg Unset Unreviewed
FromParentTSFM()
930 5-0-4 An implicit integral conversion shall not change the signedness of the u ParentTSFMInterface::RecvMsg Unset Unreviewed
nderlying type. FromParentTSFM()
Implicit conversion of one of the binary + operands whose underlying t
ypes are 'signed int' and 'unsigned int'.
1684 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMInterface::RecvMsg Unset Unreviewed
ot an overloaded operator shall always be used. FromParentTSFM()
Value returned by function MsgQSend is not used.
1084 5-0-13 The condition of an if-statement and the condition of an iteration-state ParentTSFMInterface::ParentTS Unset Unreviewed
ment shall have type bool. FMInterfaceTask(void*)
984 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMInterface::ParentTS Unset Unreviewed
ot an overloaded operator shall always be used. FMInterfaceTask(void*)
Value returned by function usleep is not used.
856 0-1-1 A project shall not contain unreachable code. ParentTSFMInterface::ParentTS Unset Unreviewed
Statement is unreachable FMInterfaceTask(void*)
196
Table 1.33. C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\ParentTSFMInterface.h
ID Rule Message Function Severity Status Comment
2407 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
922 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
197
ID Rule Message Function Severity Status Comment
1993 9-3-3 If a member function can be made static then it shall be made static, oth ParentTSFMMsgHandler::Reque Unset Unreviewed
erwise if it can be made const then it shall be made const. st16BitIdentifier()
The member function 'Request16BitIdentifier' shall be made const.
1378 5-0-1 The value of an expression shall be the same under any order of evaluat ParentTSFMMsgHandler::Reque Unset Unreviewed
ion that the standard permits. st16BitIdentifier()
Variable reqIdentifier is written and reused within this expression.
113 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Reque Unset Unreviewed
than explicit constructor calls) shall not be used. st16BitIdentifier()
1862 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Reque Unset Unreviewed
er type, either directly or indirectly. st16BitIdentifier()
119 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Reque Unset Unreviewed
than explicit constructor calls) shall not be used. st16BitIdentifier()
169 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Reque Unset Unreviewed
er type, either directly or indirectly. st16BitIdentifier()
626 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
568 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Reque Unset Unreviewed
than explicit constructor calls) shall not be used. st16BitIdentifier()
2534 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Reque Unset Unreviewed
er type, either directly or indirectly. st16BitIdentifier()
744 6-6-5 A function shall have a single point of exit at the end of the function. ParentTSFMMsgHandler::Proce Unset Unreviewed
ssAns16BitIdentifier(int)
807 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::Proce Unset Unreviewed
se. ssAns16BitIdentifier(int)
New variable 'matchedIdIndex' is introduced for only one use.
538 27-0-1 The stream input/output library <cstdio> shall not be used. ParentTSFMMsgHandler::Proce Unset Unreviewed
ssAns16BitIdentifier(int)
650 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMMsgHandler::Proce Unset Unreviewed
ot an overloaded operator shall always be used. ssAns16BitIdentifier(int)
Value returned by function printf is not used.
2482 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo File Scope Unset Unreviewed
rating Technical Corrigendum 1".
Text following preprocessing directive violates ANSI standard.
2005 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssAns16BitIdentifier(int)
1584 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Proce Unset Unreviewed
er type, either directly or indirectly. ssAns16BitIdentifier(int)
198
ID Rule Message Function Severity Status Comment
436 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssAns16BitIdentifier(int)
1724 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Proce Unset Unreviewed
er type, either directly or indirectly. ssAns16BitIdentifier(int)
2529 6-6-5 A function shall have a single point of exit at the end of the function. ParentTSFMMsgHandler::Comp Unset Unreviewed
areIdentifier(int, bsn_identifier
_struct_type, int&)
1052 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier identifier is visually similar to other identifiers.
17 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::Comp Unset Unreviewed
The value of variable 'id' does not change after initialization. The variab areIdentifier(int, bsn_identifier
le can be declared 'const'. _struct_type, int&)
547 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Comp Unset Unreviewed
than explicit constructor calls) shall not be used. areIdentifier(int, bsn_identifier
_struct_type, int&)
1171 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Comp Unset Unreviewed
er type, either directly or indirectly. areIdentifier(int, bsn_identifier
_struct_type, int&)
1894 2-10-2 Identifiers declared in an inner scope shall not hide an identifier declar ParentTSFMMsgHandler::Comp Unset Unreviewed
ed in an outer scope. areIdentifier(int, bsn_identifier
_struct_type, int&)
3480 0-1-9 There shall be no dead code. ParentTSFMMsgHandler::Comp Unset Unreviewed
Variable 'matchedFlag' is rewritten later without an intermediate read. areIdentifier(int, bsn_identifier
_struct_type, int&)
3482 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::Comp Unset Unreviewed
n values that are never subsequently used. areIdentifier(int, bsn_identifier
Variable 'matchedFlag' is rewritten later without an intermediate read. _struct_type, int&)
2318 0-1-1 A project shall not contain unreachable code. ParentTSFMMsgHandler::Comp Unset Unreviewed
Statement is unreachable areIdentifier(int, bsn_identifier
_struct_type, int&)
117 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The parameter 'identifier' is not modified during its lifetime and can be Address(bsn_identifier_struct_t
declared 'const'. ype)
1931 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier identifier is visually similar to other identifiers.
130 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_0' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
199
ID Rule Message Function Severity Status Comment
729 5-0-4 An implicit integral conversion shall not change the signedness of the u ParentTSFMMsgHandler::SetIp Unset Unreviewed
nderlying type. Address(bsn_identifier_struct_t
Implicit conversion of the expression of underlying type 'signed int' to t ype)
he type 'unsigned short' that is not a wider integer type of the same sign
edness.
895 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_1' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
1494 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_2' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
673 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_3' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
1459 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_4' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
114 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_5' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
2152 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_6' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
1149 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_7' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
2392 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_8' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
1473 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_9' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
1427 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_10' does not change after initialization Address(bsn_identifier_struct_t
. The variable can be declared 'const'. ype)
1723 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_11' does not change after initialization Address(bsn_identifier_struct_t
. The variable can be declared 'const'. ype)
200
ID Rule Message Function Severity Status Comment
15 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_12' does not change after initialization Address(bsn_identifier_struct_t
. The variable can be declared 'const'. ype)
1513 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_13' does not change after initialization Address(bsn_identifier_struct_t
. The variable can be declared 'const'. ype)
2428 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_14' does not change after initialization Address(bsn_identifier_struct_t
. The variable can be declared 'const'. ype)
567 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_msb_15' does not change after initialization Address(bsn_identifier_struct_t
. The variable can be declared 'const'. ype)
383 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_0' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
1121 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_1' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
496 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_2' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
2111 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_3' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
942 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_4' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
1470 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_5' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
877 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_6' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
908 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_7' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
808 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_8' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
201
ID Rule Message Function Severity Status Comment
1355 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_9' does not change after initialization. T Address(bsn_identifier_struct_t
he variable can be declared 'const'. ype)
1311 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_10' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
2381 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_11' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
118 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_12' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
2128 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_13' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
1382 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_14' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
449 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'mask_lsb_15' does not change after initialization. Address(bsn_identifier_struct_t
The variable can be declared 'const'. ype)
1098 5-0-4 An implicit integral conversion shall not change the signedness of the u ParentTSFMMsgHandler::SetIp Unset Unreviewed
nderlying type. Address(bsn_identifier_struct_t
Implicit conversion of the expression of underlying type 'signed int' to t ype)
he type 'unsigned short' that is not a wider integer type of the same sign
edness.
1471 0-1-2 A project shall not contain infeasible paths. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
1880 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::SetIp Unset Unreviewed
than explicit constructor calls) shall not be used. Address(bsn_identifier_struct_t
ype)
1011 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::SetIp Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm Address(bsn_identifier_struct_t
ediately cast to the underlying type of the operand. ype)
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
331 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::SetIp Unset Unreviewed
than explicit constructor calls) shall not be used. Address(bsn_identifier_struct_t
ype)
202
ID Rule Message Function Severity Status Comment
835 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::SetIp Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm Address(bsn_identifier_struct_t
ediately cast to the underlying type of the operand. ype)
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
896 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::SetIp Unset Unreviewed
than explicit constructor calls) shall not be used. Address(bsn_identifier_struct_t
ype)
75 6-4-2 All if ... else if constructs shall be terminated with an else clause. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
399 0-1-2 A project shall not contain infeasible paths. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
687 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::SetIp Unset Unreviewed
than explicit constructor calls) shall not be used. Address(bsn_identifier_struct_t
ype)
1503 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::SetIp Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm Address(bsn_identifier_struct_t
ediately cast to the underlying type of the operand. ype)
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
1512 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::SetIp Unset Unreviewed
than explicit constructor calls) shall not be used. Address(bsn_identifier_struct_t
ype)
2151 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::SetIp Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm Address(bsn_identifier_struct_t
ediately cast to the underlying type of the operand. ype)
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
2220 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::SetIp Unset Unreviewed
than explicit constructor calls) shall not be used. Address(bsn_identifier_struct_t
ype)
1946 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::SetIp Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm Address(bsn_identifier_struct_t
ediately cast to the underlying type of the operand. ype)
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
1239 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::SetIp Unset Unreviewed
than explicit constructor calls) shall not be used. Address(bsn_identifier_struct_t
ype)
203
ID Rule Message Function Severity Status Comment
2240 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::SetIp Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm Address(bsn_identifier_struct_t
ediately cast to the underlying type of the operand. ype)
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
123 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::SetIp Unset Unreviewed
than explicit constructor calls) shall not be used. Address(bsn_identifier_struct_t
ype)
440 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_0' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1082 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_1' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
170 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_2' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1656 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_3' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1801 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_4' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1856 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_5' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
2437 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_6' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
2471 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_7' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1620 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_8' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1253 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_9' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
204
ID Rule Message Function Severity Status Comment
11 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'msb_10' is used only once, that is, during initialization. ype)
56 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_10' does not change after initialization. The v Address(bsn_identifier_struct_t
ariable can be declared 'const'. ype)
521 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'msb_10' is initialized and never used. ype)
3052 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'msb_10' is never used or used only in unreachable code.
272 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_11' does not change after initialization. The v Address(bsn_identifier_struct_t
ariable can be declared 'const'. ype)
378 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'msb_11' is initialized and never used. ype)
495 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'msb_11' is used only once, that is, during initialization. ype)
2801 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'msb_11' is never used or used only in unreachable code.
606 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'msb_12' is used only once, that is, during initialization. ype)
1110 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_12' does not change after initialization. The v Address(bsn_identifier_struct_t
ariable can be declared 'const'. ype)
2444 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'msb_12' is initialized and never used. ype)
2557 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'msb_12' is never used or used only in unreachable code.
554 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'msb_13' is used only once, that is, during initialization. ype)
2260 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'msb_13' is initialized and never used. ype)
205
ID Rule Message Function Severity Status Comment
2450 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_13' does not change after initialization. The v Address(bsn_identifier_struct_t
ariable can be declared 'const'. ype)
2831 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'msb_13' is never used or used only in unreachable code.
1451 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'msb_14' is initialized and never used. ype)
1829 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'msb_14' is used only once, that is, during initialization. ype)
2443 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_14' does not change after initialization. The v Address(bsn_identifier_struct_t
ariable can be declared 'const'. ype)
2613 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'msb_14' is never used or used only in unreachable code.
1384 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'msb_15' is initialized and never used. ype)
1716 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'msb_15' is used only once, that is, during initialization. ype)
2018 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'msb_15' does not change after initialization. The v Address(bsn_identifier_struct_t
ariable can be declared 'const'. ype)
2840 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'msb_15' is never used or used only in unreachable code.
400 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_0' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
1391 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_1' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
1063 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_2' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
981 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_3' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
206
ID Rule Message Function Severity Status Comment
1366 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_4' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
1200 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_5' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
2084 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_5' is used only once, that is, during initialization. ype)
2094 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_5' is initialized and never used. ype)
2887 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_5' is never used or used only in unreachable code.
144 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_6' is used only once, that is, during initialization. ype)
435 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_6' is initialized and never used. ype)
2404 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_6' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
2598 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_6' is never used or used only in unreachable code.
441 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_7' is used only once, that is, during initialization. ype)
1210 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_7' is initialized and never used. ype)
2440 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_7' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
3230 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_7' is never used or used only in unreachable code.
1469 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_8' is used only once, that is, during initialization. ype)
207
ID Rule Message Function Severity Status Comment
1988 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_8' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
2459 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_8' is initialized and never used. ype)
2784 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_8' is never used or used only in unreachable code.
62 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_9' does not change after initialization. The var Address(bsn_identifier_struct_t
iable can be declared 'const'. ype)
566 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_9' is initialized and never used. ype)
2391 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_9' is used only once, that is, during initialization. ype)
2832 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_9' is never used or used only in unreachable code.
1130 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_10' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1756 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_10' is used only once, that is, during initialization. ype)
2475 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_10' is initialized and never used. ype)
3138 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_10' is never used or used only in unreachable code.
57 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_11' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1613 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_11' is initialized and never used. ype)
1621 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_11' is used only once, that is, during initialization. ype)
208
ID Rule Message Function Severity Status Comment
2949 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_11' is never used or used only in unreachable code.
336 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_12' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1167 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_12' is initialized and never used. ype)
2323 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_12' is used only once, that is, during initialization. ype)
2589 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_12' is never used or used only in unreachable code.
371 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_13' is initialized and never used. ype)
2195 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_13' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
2198 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_13' is used only once, that is, during initialization. ype)
3087 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_13' is never used or used only in unreachable code.
1707 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_14' is used only once, that is, during initialization. ype)
2003 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_14' is initialized and never used. ype)
2373 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_14' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
3039 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_14' is never used or used only in unreachable code.
834 0-1-4 A project shall not contain non-volatile POD variables having only one u ParentTSFMMsgHandler::SetIp Unset Unreviewed
se. Address(bsn_identifier_struct_t
Variable 'lsb_15' is used only once, that is, during initialization. ype)
209
ID Rule Message Function Severity Status Comment
1567 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable 'lsb_15' does not change after initialization. The va Address(bsn_identifier_struct_t
riable can be declared 'const'. ype)
1750 0-1-6 A project shall not contain instances of non-volatile variables being give ParentTSFMMsgHandler::SetIp Unset Unreviewed
n values that are never subsequently used. Address(bsn_identifier_struct_t
Variable 'lsb_15' is initialized and never used. ype)
2783 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'lsb_15' is never used or used only in unreachable code.
901 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable '_3rd_octet' does not change after initialization. Th Address(bsn_identifier_struct_t
e variable can be declared 'const'. ype)
1392 7-1-1 A variable which is not modified shall be const qualified. ParentTSFMMsgHandler::SetIp Unset Unreviewed
The value of variable '_4th_octet' does not change after initialization. Th Address(bsn_identifier_struct_t
e variable can be declared 'const'. ype)
1226 27-0-1 The stream input/output library <cstdio> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
231 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMMsgHandler::SetIp Unset Unreviewed
ot an overloaded operator shall always be used. Address(bsn_identifier_struct_t
Value returned by function sprintf is not used. ype)
2132 18-0-5 The unbounded functions of library <cstring> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
2150 27-0-1 The stream input/output library <cstdio> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
1581 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMMsgHandler::SetIp Unset Unreviewed
ot an overloaded operator shall always be used. Address(bsn_identifier_struct_t
Value returned by function sprintf is not used. ype)
494 18-0-5 The unbounded functions of library <cstring> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
636 18-0-5 The unbounded functions of library <cstring> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
890 18-0-5 The unbounded functions of library <cstring> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
210
ID Rule Message Function Severity Status Comment
1168 18-0-5 The unbounded functions of library <cstring> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
340 27-0-1 The stream input/output library <cstdio> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
2076 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMMsgHandler::SetIp Unset Unreviewed
ot an overloaded operator shall always be used. Address(bsn_identifier_struct_t
Value returned by function printf is not used. ype)
2192 18-0-5 The unbounded functions of library <cstring> shall not be used. ParentTSFMMsgHandler::SetIp Unset Unreviewed
Address(bsn_identifier_struct_t
ype)
1607 18-0-3 The library functions abort, exit, getenv and system from library <cstdli ParentTSFMMsgHandler::SetIp Unset Unreviewed
b> shall not be used. Address(bsn_identifier_struct_t
system invokes a command processor. This can result in exploitable vul ype)
nerabilities.
3476 0-3-2 If a function generates error information, then that error information s ParentTSFMMsgHandler::SetIp Unset Unreviewed
hall be tested. Address(bsn_identifier_struct_t
Return value of 'system' not checked. ype)
'system' returns the exit status of the command on success or -1 on failu
re.
To ignore this defect, cast 'system' to void.
103 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMMsgHandler::SetIp Unset Unreviewed
ot an overloaded operator shall always be used. Address(bsn_identifier_struct_t
Value returned by function system is not used. ype)
1202 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMMsgHandler::SetIp Unset Unreviewed
ot an overloaded operator shall always be used. Address(bsn_identifier_struct_t
Value returned by function sleep is not used. ype)
2405 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
1764 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Proce Unset Unreviewed
er type, either directly or indirectly. ssUartCmdResetBsnLru()
1745 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
477 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Proce Unset Unreviewed
er type, either directly or indirectly. ssUartCmdResetBsnLru()
1872 27-0-1 The stream input/output library <cstdio> shall not be used. ParentTSFMMsgHandler::Proce Unset Unreviewed
ssUartCmdResetBsnLru()
211
ID Rule Message Function Severity Status Comment
854 0-1-7 The value returned by a function having a non-void return type that is n ParentTSFMMsgHandler::Proce Unset Unreviewed
ot an overloaded operator shall always be used. ssUartCmdResetBsnLru()
Value returned by function printf is not used.
428 0-1-2 A project shall not contain infeasible paths. ParentTSFMMsgHandler::Proce Unset Unreviewed
ssUartCmdResetBsnLru()
2345 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
2193 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::Proce Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm ssUartCmdResetBsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
1538 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
2044 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::Proce Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm ssUartCmdResetBsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
271 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
1441 6-4-2 All if ... else if constructs shall be terminated with an else clause. ParentTSFMMsgHandler::Proce Unset Unreviewed
ssUartCmdResetBsnLru()
273 0-1-2 A project shall not contain infeasible paths. ParentTSFMMsgHandler::Proce Unset Unreviewed
ssUartCmdResetBsnLru()
77 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
1969 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::Proce Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm ssUartCmdResetBsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
1242 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
1865 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::Proce Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm ssUartCmdResetBsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
212
ID Rule Message Function Severity Status Comment
132 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
2123 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::Proce Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm ssUartCmdResetBsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
1876 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
2397 5-0-10 If the bitwise operators ~ and << are applied to an operand with an und ParentTSFMMsgHandler::Proce Unset Unreviewed
erlying type of unsigned char or unsigned short, the result shall be imm ssUartCmdResetBsnLru()
ediately cast to the underlying type of the operand.
Bitwise << is applied to the operand of underlying type 'unsigned short',
the result shall be immediately cast to the underlying type.
398 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
2216 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::Proce Unset Unreviewed
than explicit constructor calls) shall not be used. ssUartCmdResetBsnLru()
2452 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::Proce Unset Unreviewed
er type, either directly or indirectly. ssUartCmdResetBsnLru()
2304 9-3-3 If a member function can be made static then it shall be made static, oth ParentTSFMMsgHandler::InfoB Unset Unreviewed
erwise if it can be made const then it shall be made const. snLruStatusToParentTSFM()
The member function 'InfoBsnLruStatusToParentTSFM' shall be made c
onst.
2410 5-0-1 The value of an expression shall be the same under any order of evaluat ParentTSFMMsgHandler::InfoB Unset Unreviewed
ion that the standard permits. snLruStatusToParentTSFM()
Variable InfBsnLruStatusMsg is written and reused within this expressi
on.
2429 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::InfoB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruStatusToParentTSFM()
1481 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::InfoB Unset Unreviewed
er type, either directly or indirectly. snLruStatusToParentTSFM()
1881 5-2-4 C-style casts (other than void casts) and functional notation casts (other ParentTSFMMsgHandler::InfoB Unset Unreviewed
than explicit constructor calls) shall not be used. snLruStatusToParentTSFM()
1100 5-2-7 An object with pointer type shall not be converted to an unrelated point ParentTSFMMsgHandler::InfoB Unset Unreviewed
er type, either directly or indirectly. snLruStatusToParentTSFM()
213
Table 1.35. C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\ParentTSFMMsgHandler.h
ID Rule Message Function Severity Status Comment
392 7-3-6 using-directives and using-declarations (excluding class scope or functio File Scope Unset Unreviewed
n scope using-declarations) shall not be used in header files.
479 7-3-4 using-directives shall not be used. File Scope Unset Unreviewed
1235 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier identifier is visually similar to other identifiers.
1132 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1793 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier Identifier is visually similar to other identifiers.
1653 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1898 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1585 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1903 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
651 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
324 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
2356 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1099 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
3004 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Field 'ipAddress' is never used or used only in unreachable code.
2053 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
214
ID Rule Message Function Severity Status Comment
1842 5-0-13 The condition of an if-statement and the condition of an iteration-state TSFMInterface::InitializeBroadc Unset Unreviewed
ment shall have type bool. astComm()
1109 7-1-1 A variable which is not modified shall be const qualified. TSFMInterface::RecvMsgFromT Unset Unreviewed
The value of variable 'csci' does not change after initialization. The vari SFM()
able can be declared 'const'.
643 5-0-11 The plain char type shall only be used for the storage and use of charact TSFMInterface::RecvMsgFromT Unset Unreviewed
er values. SFM()
Value of type signed integer is implicitly converted to plain char.
2205 6-2-1 Assignment operators shall not be used in sub-expressions. TSFMInterface::RecvMsgFromT Unset Unreviewed
SFM()
1844 2-7-2 Sections of code shall not be "commented out" using C-style comments. TSFMInterface::RecvMsgFromT Unset Unreviewed
SFM()
799 5-0-15 Array indexing shall be the only form of pointer arithmetic. TSFMInterface::RecvMsgFromT Unset Unreviewed
SFM()
1373 5-0-4 An implicit integral conversion shall not change the signedness of the u TSFMInterface::RecvMsgFromT Unset Unreviewed
nderlying type. SFM()
Implicit conversion of one of the binary + operands whose underlying t
ypes are 'signed int' and 'unsigned int'.
41 0-1-7 The value returned by a function having a non-void return type that is n TSFMInterface::RecvMsgFromT Unset Unreviewed
ot an overloaded operator shall always be used. SFM()
Value returned by function MsgQSend is not used.
355 5-0-13 The condition of an if-statement and the condition of an iteration-state TSFMInterface::TSFMInterfaceT Unset Unreviewed
ment shall have type bool. ask(void*)
393 5-0-13 The condition of an if-statement and the condition of an iteration-state TSFMInterface::TSFMInterfaceT Unset Unreviewed
ment shall have type bool. ask(void*)
1594 0-1-7 The value returned by a function having a non-void return type that is n TSFMInterface::TSFMInterfaceT Unset Unreviewed
ot an overloaded operator shall always be used. ask(void*)
Value returned by function usleep is not used.
293 0-1-7 The value returned by a function having a non-void return type that is n TSFMInterface::TSFMInterfaceT Unset Unreviewed
ot an overloaded operator shall always be used. ask(void*)
Value returned by function usleep is not used.
1657 0-1-1 A project shall not contain unreachable code. TSFMInterface::TSFMInterfaceT Unset Unreviewed
Statement is unreachable ask(void*)
215
ID Rule Message Function Severity Status Comment
276 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
216
ID Rule Message Function Severity Status Comment
849 7-1-1 A variable which is not modified shall be const qualified. TsfmMsgHandler::TsfmMsgHan Unset Unreviewed
The pointer parameter 'pMgcmSend' points to the same address during i dler(char*, MgcmSender*, Mgc
ts lifetime. The pointer can be declared as 'T* const'. mFpgaMsgHandler*)
1625 7-1-1 A variable which is not modified shall be const qualified. TsfmMsgHandler::TsfmMsgHan Unset Unreviewed
The pointer parameter 'pMgcmFpgaMsg' points to the same address dur dler(char*, MgcmSender*, Mgc
ing its lifetime. The pointer can be declared as 'T* const'. mFpgaMsgHandler*)
363 0-1-4 A project shall not contain non-volatile POD variables having only one u TsfmMsgHandler::ExtractMessa Unset Unreviewed
se. ge()
Variable 'recvmsg' is used only once, that is, during initialization.
1436 7-1-1 A variable which is not modified shall be const qualified. TsfmMsgHandler::ExtractMessa Unset Unreviewed
The pointer 'recvmsg' does not point to a different location after initializ ge()
ation. The pointer can be declared as 'T* const'.
1466 0-1-6 A project shall not contain instances of non-volatile variables being give TsfmMsgHandler::ExtractMessa Unset Unreviewed
n values that are never subsequently used. ge()
Variable 'recvmsg' is initialized and never used.
2109 2-10-2 Identifiers declared in an inner scope shall not hide an identifier declar TsfmMsgHandler::ExtractMessa Unset Unreviewed
ed in an outer scope. ge()
2865 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'recvmsg' is never used or used only in unreachable code.
2524 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ExtractMessa Unset Unreviewed
than explicit constructor calls) shall not be used. ge()
1124 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ExtractMessa Unset Unreviewed
er type, either directly or indirectly. ge()
385 2-10-1 Different identifiers shall be typographically unambiguous. File Scope Unset Unreviewed
Identifier msgKind is visually similar to other identifiers.
1346 7-1-1 A variable which is not modified shall be const qualified. TsfmMsgHandler::ExtractMessa Unset Unreviewed
The value of variable 'msgKind' does not change after initialization. The ge()
variable can be declared 'const'.
1810 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ExtractMessa Unset Unreviewed
than explicit constructor calls) shall not be used. ge()
2522 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ExtractMessa Unset Unreviewed
er type, either directly or indirectly. ge()
275 6-4-2 All if ... else if constructs shall be terminated with an else clause. TsfmMsgHandler::ExtractMessa Unset Unreviewed
ge()
1999 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessOpera Unset Unreviewed
erwise if it can be made const then it shall be made const. tionalMsg()
The member function 'ProcessOperationalMsg' shall be made const.
217
ID Rule Message Function Severity Status Comment
1398 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessOpera Unset Unreviewed
than explicit constructor calls) shall not be used. tionalMsg()
957 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessOpera Unset Unreviewed
er type, either directly or indirectly. tionalMsg()
1449 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessOpera Unset Unreviewed
than explicit constructor calls) shall not be used. tionalMsg()
339 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessOpera Unset Unreviewed
er type, either directly or indirectly. tionalMsg()
2430 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessOpera Unset Unreviewed
than explicit constructor calls) shall not be used. tionalMsg()
761 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessOpera Unset Unreviewed
er type, either directly or indirectly. tionalMsg()
1700 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ProcessOpera Unset Unreviewed
tionalMsg()
1502 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessOpera Unset Unreviewed
than explicit constructor calls) shall not be used. tionalMsg()
2125 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessOpera Unset Unreviewed
er type, either directly or indirectly. tionalMsg()
1996 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessOpera Unset Unreviewed
than explicit constructor calls) shall not be used. tionalMsg()
232 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
erwise if it can be made const then it shall be made const. g()
The member function 'ProcessLjfMsg' shall be made const.
1543 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
than explicit constructor calls) shall not be used. g()
1940 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
er type, either directly or indirectly. g()
1323 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
than explicit constructor calls) shall not be used. g()
769 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
er type, either directly or indirectly. g()
951 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
than explicit constructor calls) shall not be used. g()
1345 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
g()
2095 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
er type, either directly or indirectly. g()
218
ID Rule Message Function Severity Status Comment
1468 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
than explicit constructor calls) shall not be used. g()
1828 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
er type, either directly or indirectly. g()
153 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
than explicit constructor calls) shall not be used. g()
1339 27-0-1 The stream input/output library <cstdio> shall not be used. TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
g()
297 0-1-7 The value returned by a function having a non-void return type that is n TsfmMsgHandler::ProcessLjfMs Unset Unreviewed
ot an overloaded operator shall always be used. g()
Value returned by function printf is not used.
551 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessTrans Unset Unreviewed
erwise if it can be made const then it shall be made const. mitCalibrationMsg()
The member function 'ProcessTransmitCalibrationMsg' shall be made c
onst.
264 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessTrans Unset Unreviewed
than explicit constructor calls) shall not be used. mitCalibrationMsg()
2054 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessTrans Unset Unreviewed
er type, either directly or indirectly. mitCalibrationMsg()
1883 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessTrans Unset Unreviewed
than explicit constructor calls) shall not be used. mitCalibrationMsg()
1505 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessTrans Unset Unreviewed
er type, either directly or indirectly. mitCalibrationMsg()
2069 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessTrans Unset Unreviewed
than explicit constructor calls) shall not be used. mitCalibrationMsg()
735 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessTrans Unset Unreviewed
er type, either directly or indirectly. mitCalibrationMsg()
1184 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ProcessTrans Unset Unreviewed
mitCalibrationMsg()
586 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessTrans Unset Unreviewed
than explicit constructor calls) shall not be used. mitCalibrationMsg()
1893 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessTrans Unset Unreviewed
er type, either directly or indirectly. mitCalibrationMsg()
965 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessTrans Unset Unreviewed
than explicit constructor calls) shall not be used. mitCalibrationMsg()
116 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessTrans Unset Unreviewed
than explicit constructor calls) shall not be used. mitCalibrationMsg()
219
ID Rule Message Function Severity Status Comment
2344 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessTrans Unset Unreviewed
er type, either directly or indirectly. mitCalibrationMsg()
1978 27-0-1 The stream input/output library <cstdio> shall not be used. TsfmMsgHandler::ProcessTrans Unset Unreviewed
mitCalibrationMsg()
1139 0-1-7 The value returned by a function having a non-void return type that is n TsfmMsgHandler::ProcessTrans Unset Unreviewed
ot an overloaded operator shall always be used. mitCalibrationMsg()
Value returned by function printf is not used.
639 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessRecei Unset Unreviewed
erwise if it can be made const then it shall be made const. veCalibrationMsg()
The member function 'ProcessReceiveCalibrationMsg' shall be made con
st.
434 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessRecei Unset Unreviewed
than explicit constructor calls) shall not be used. veCalibrationMsg()
2081 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessRecei Unset Unreviewed
er type, either directly or indirectly. veCalibrationMsg()
1161 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessRecei Unset Unreviewed
than explicit constructor calls) shall not be used. veCalibrationMsg()
983 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessRecei Unset Unreviewed
er type, either directly or indirectly. veCalibrationMsg()
760 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessRecei Unset Unreviewed
than explicit constructor calls) shall not be used. veCalibrationMsg()
211 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessRecei Unset Unreviewed
er type, either directly or indirectly. veCalibrationMsg()
259 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ProcessRecei Unset Unreviewed
veCalibrationMsg()
1836 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessRecei Unset Unreviewed
than explicit constructor calls) shall not be used. veCalibrationMsg()
843 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessRecei Unset Unreviewed
er type, either directly or indirectly. veCalibrationMsg()
346 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessRecei Unset Unreviewed
than explicit constructor calls) shall not be used. veCalibrationMsg()
267 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessRecei Unset Unreviewed
er type, either directly or indirectly. veCalibrationMsg()
1456 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessRecei Unset Unreviewed
than explicit constructor calls) shall not be used. veCalibrationMsg()
1087 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessRecei Unset Unreviewed
er type, either directly or indirectly. veCalibrationMsg()
220
ID Rule Message Function Severity Status Comment
1548 27-0-1 The stream input/output library <cstdio> shall not be used. TsfmMsgHandler::ProcessRecei Unset Unreviewed
veCalibrationMsg()
553 0-1-7 The value returned by a function having a non-void return type that is n TsfmMsgHandler::ProcessRecei Unset Unreviewed
ot an overloaded operator shall always be used. veCalibrationMsg()
Value returned by function printf is not used.
523 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessCalibr Unset Unreviewed
erwise if it can be made const then it shall be made const. ationTransferMsg()
The member function 'ProcessCalibrationTransferMsg' shall be made co
nst.
695 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationTransferMsg()
395 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationTransferMsg()
476 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationTransferMsg()
1694 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationTransferMsg()
2500 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationTransferMsg()
1417 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationTransferMsg()
1868 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ProcessCalibr Unset Unreviewed
ationTransferMsg()
1407 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationTransferMsg()
2436 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationTransferMsg()
522 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationTransferMsg()
1383 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationTransferMsg()
701 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationTransferMsg()
1753 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationTransferMsg()
2137 27-0-1 The stream input/output library <cstdio> shall not be used. TsfmMsgHandler::ProcessCalibr Unset Unreviewed
ationTransferMsg()
221
ID Rule Message Function Severity Status Comment
1681 0-1-7 The value returned by a function having a non-void return type that is n TsfmMsgHandler::ProcessCalibr Unset Unreviewed
ot an overloaded operator shall always be used. ationTransferMsg()
Value returned by function printf is not used.
804 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessCalibr Unset Unreviewed
erwise if it can be made const then it shall be made const. ationApplyMsg()
The member function 'ProcessCalibrationApplyMsg' shall be made const
.
140 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationApplyMsg()
1293 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationApplyMsg()
2292 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationApplyMsg()
562 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationApplyMsg()
1435 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationApplyMsg()
1152 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ProcessCalibr Unset Unreviewed
ationApplyMsg()
2226 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationApplyMsg()
1357 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationApplyMsg()
1340 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationApplyMsg()
945 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationApplyMsg()
657 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationApplyMsg()
2531 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessCalibr Unset Unreviewed
than explicit constructor calls) shall not be used. ationApplyMsg()
2486 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessCalibr Unset Unreviewed
er type, either directly or indirectly. ationApplyMsg()
1905 27-0-1 The stream input/output library <cstdio> shall not be used. TsfmMsgHandler::ProcessCalibr Unset Unreviewed
ationApplyMsg()
3 0-1-7 The value returned by a function having a non-void return type that is n TsfmMsgHandler::ProcessCalibr Unset Unreviewed
ot an overloaded operator shall always be used. ationApplyMsg()
Value returned by function printf is not used.
222
ID Rule Message Function Severity Status Comment
482 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessReject Unset Unreviewed
erwise if it can be made const then it shall be made const. ionMsg()
The member function 'ProcessRejectionMsg' shall be made const.
1740 0-1-2 A project shall not contain infeasible paths. TsfmMsgHandler::ProcessReject Unset Unreviewed
ionMsg()
1915 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessReject Unset Unreviewed
than explicit constructor calls) shall not be used. ionMsg()
2401 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessReject Unset Unreviewed
er type, either directly or indirectly. ionMsg()
1186 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessReject Unset Unreviewed
than explicit constructor calls) shall not be used. ionMsg()
384 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessReject Unset Unreviewed
er type, either directly or indirectly. ionMsg()
506 6-4-2 All if ... else if constructs shall be terminated with an else clause. TsfmMsgHandler::ProcessReject Unset Unreviewed
ionMsg()
1556 0-1-2 A project shall not contain infeasible paths. TsfmMsgHandler::ProcessReject Unset Unreviewed
ionMsg()
564 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessReject Unset Unreviewed
than explicit constructor calls) shall not be used. ionMsg()
1660 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessReject Unset Unreviewed
er type, either directly or indirectly. ionMsg()
2359 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessReject Unset Unreviewed
than explicit constructor calls) shall not be used. ionMsg()
268 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessReject Unset Unreviewed
er type, either directly or indirectly. ionMsg()
836 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessDiscr Unset Unreviewed
erwise if it can be made const then it shall be made const. eteMeasurement()
The member function 'ProcessDiscreteMeasurement' shall be made con
st.
1610 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessDiscr Unset Unreviewed
than explicit constructor calls) shall not be used. eteMeasurement()
1181 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessDiscr Unset Unreviewed
er type, either directly or indirectly. eteMeasurement()
1966 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessDiscr Unset Unreviewed
than explicit constructor calls) shall not be used. eteMeasurement()
409 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessDiscr Unset Unreviewed
er type, either directly or indirectly. eteMeasurement()
223
ID Rule Message Function Severity Status Comment
2458 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessDiscr Unset Unreviewed
than explicit constructor calls) shall not be used. eteMeasurement()
944 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ProcessDiscr Unset Unreviewed
eteMeasurement()
2286 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessDiscr Unset Unreviewed
er type, either directly or indirectly. eteMeasurement()
1741 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessDiscr Unset Unreviewed
than explicit constructor calls) shall not be used. eteMeasurement()
970 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessDiscr Unset Unreviewed
er type, either directly or indirectly. eteMeasurement()
356 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessDiscr Unset Unreviewed
than explicit constructor calls) shall not be used. eteMeasurement()
629 27-0-1 The stream input/output library <cstdio> shall not be used. TsfmMsgHandler::ProcessDiscr Unset Unreviewed
eteMeasurement()
2348 0-1-7 The value returned by a function having a non-void return type that is n TsfmMsgHandler::ProcessDiscr Unset Unreviewed
ot an overloaded operator shall always be used. eteMeasurement()
Value returned by function printf is not used.
1682 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ProcessPatter Unset Unreviewed
erwise if it can be made const then it shall be made const. nMeasurement()
The member function 'ProcessPatternMeasurement' shall be made cons
t.
1962 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessPatter Unset Unreviewed
than explicit constructor calls) shall not be used. nMeasurement()
685 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessPatter Unset Unreviewed
er type, either directly or indirectly. nMeasurement()
2322 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessPatter Unset Unreviewed
than explicit constructor calls) shall not be used. nMeasurement()
1672 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessPatter Unset Unreviewed
er type, either directly or indirectly. nMeasurement()
347 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessPatter Unset Unreviewed
than explicit constructor calls) shall not be used. nMeasurement()
1106 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessPatter Unset Unreviewed
er type, either directly or indirectly. nMeasurement()
1555 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ProcessPatter Unset Unreviewed
nMeasurement()
2142 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessPatter Unset Unreviewed
than explicit constructor calls) shall not be used. nMeasurement()
224
ID Rule Message Function Severity Status Comment
969 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessPatter Unset Unreviewed
er type, either directly or indirectly. nMeasurement()
139 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ProcessPatter Unset Unreviewed
than explicit constructor calls) shall not be used. nMeasurement()
816 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ProcessPatter Unset Unreviewed
er type, either directly or indirectly. nMeasurement()
2031 27-0-1 The stream input/output library <cstdio> shall not be used. TsfmMsgHandler::ProcessPatter Unset Unreviewed
nMeasurement()
1671 0-1-7 The value returned by a function having a non-void return type that is n TsfmMsgHandler::ProcessPatter Unset Unreviewed
ot an overloaded operator shall always be used. nMeasurement()
Value returned by function printf is not used.
2367 9-3-3 If a member function can be made static then it shall be made static, oth TsfmMsgHandler::ArrayCalibra Unset Unreviewed
erwise if it can be made const then it shall be made const. tionMsg()
The member function 'ArrayCalibrationMsg' shall be made const.
1679 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ArrayCalibra Unset Unreviewed
than explicit constructor calls) shall not be used. tionMsg()
2224 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ArrayCalibra Unset Unreviewed
er type, either directly or indirectly. tionMsg()
1448 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ArrayCalibra Unset Unreviewed
than explicit constructor calls) shall not be used. tionMsg()
2047 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ArrayCalibra Unset Unreviewed
er type, either directly or indirectly. tionMsg()
1601 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ArrayCalibra Unset Unreviewed
than explicit constructor calls) shall not be used. tionMsg()
205 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ArrayCalibra Unset Unreviewed
er type, either directly or indirectly. tionMsg()
1089 5-0-15 Array indexing shall be the only form of pointer arithmetic. TsfmMsgHandler::ArrayCalibra Unset Unreviewed
tionMsg()
1390 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ArrayCalibra Unset Unreviewed
than explicit constructor calls) shall not be used. tionMsg()
2468 5-2-7 An object with pointer type shall not be converted to an unrelated point TsfmMsgHandler::ArrayCalibra Unset Unreviewed
er type, either directly or indirectly. tionMsg()
1864 5-2-4 C-style casts (other than void casts) and functional notation casts (other TsfmMsgHandler::ArrayCalibra Unset Unreviewed
than explicit constructor calls) shall not be used. tionMsg()
1405 27-0-1 The stream input/output library <cstdio> shall not be used. TsfmMsgHandler::ArrayCalibra Unset Unreviewed
tionMsg()
225
ID Rule Message Function Severity Status Comment
577 0-1-7 The value returned by a function having a non-void return type that is n TsfmMsgHandler::ArrayCalibra Unset Unreviewed
ot an overloaded operator shall always be used. tionMsg()
Value returned by function printf is not used.
226
ID Rule Message Function Severity Status Comment
1735 7-1-1 A variable which is not modified shall be const qualified. UartSerialCommUtility::getSeria Unset Unreviewed
The value of variable 'root' does not change after initialization. The vari lPort()
able can be declared 'const'.
2061 0-1-6 A project shall not contain instances of non-volatile variables being give UartSerialCommUtility::getSeria Unset Unreviewed
n values that are never subsequently used. lPort()
Variable 'root' is initialized and never used.
3221 0-1-3 A project shall not contain unused variables. File Scope Unset Unreviewed
Variable 'root' is never used or used only in unreachable code.
1785 18-0-3 The library functions abort, exit, getenv and system from library <cstdli UartSerialCommUtility::getSeria Unset Unreviewed
b> shall not be used. lPort()
system invokes a command processor. This can result in exploitable vul
nerabilities.
2010 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
2297 4-10-2 Literal zero (0) shall not be used as the null-pointer-constant. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
1560 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
1388 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::getSeria Unset Unreviewed
ot an overloaded operator shall always be used. lPort()
Value returned by function printf is not used.
3488 0-3-2 If a function generates error information, then that error information s UartSerialCommUtility::getSeria Unset Unreviewed
hall be tested. lPort()
Return value of a sensitive function saved to 'root', but not checked in th
e scope.
Before return, check 'root' for errors or other state information.
414 4-10-2 Literal zero (0) shall not be used as the null-pointer-constant. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
294 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
928 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::getSeria Unset Unreviewed
ot an overloaded operator shall always be used. lPort()
Value returned by function printf is not used.
773 6-2-1 Assignment operators shall not be used in sub-expressions. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
1979 5-0-6 An implicit integral or floating-point conversion shall not reduce the siz UartSerialCommUtility::getSeria Unset Unreviewed
e of the underlying type. lPort()
Implicit conversion of the expression of underlying type 'signed int' to t
227
ID Rule Message Function Severity Status Comment
he type 'signed char' that is not a wider integer type of the same signedn
ess.
1974 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
1411 5-0-11 The plain char type shall only be used for the storage and use of charact UartSerialCommUtility::getSeria Unset Unreviewed
er values. lPort()
Value of type signed integer is implicitly converted to plain char.
248 5-18-1 The comma operator shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
131 6-4-1 An if ( condition ) construct shall be followed by a compound statement UartSerialCommUtility::getSeria Unset Unreviewed
. The else keyword shall be followed by either a compound statement, o lPort()
r another if statement.
An if (expression) construct shall be followed by a compound statement.
261 5-2-4 C-style casts (other than void casts) and functional notation casts (other UartSerialCommUtility::getSeria Unset Unreviewed
than explicit constructor calls) shall not be used. lPort()
362 5-2-8 An object with integer type or pointer to void type shall not be converte UartSerialCommUtility::getSeria Unset Unreviewed
d to an object with pointer type. lPort()
2533 18-4-1 Dynamic heap memory allocation shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
535 5-0-15 Array indexing shall be the only form of pointer arithmetic. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
1498 5-2-4 C-style casts (other than void casts) and functional notation casts (other UartSerialCommUtility::getSeria Unset Unreviewed
than explicit constructor calls) shall not be used. lPort()
2118 5-2-8 An object with integer type or pointer to void type shall not be converte UartSerialCommUtility::getSeria Unset Unreviewed
d to an object with pointer type. lPort()
492 18-4-1 Dynamic heap memory allocation shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
445 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
2078 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
2058 5-0-15 Array indexing shall be the only form of pointer arithmetic. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
3490 8-5-1 All variables shall have a defined value before they are used. UartSerialCommUtility::getSeria Unset Unreviewed
Dereferenced value may be read before being initialized. lPort()
452 4-10-2 Literal zero (0) shall not be used as the null-pointer-constant. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
228
ID Rule Message Function Severity Status Comment
1430 6-3-1 The statement forming the body of a switch, while, do ... while or for sta UartSerialCommUtility::getSeria Unset Unreviewed
tement shall be a compound statement. lPort()
The statement forming the body of a while statement shall be a compou
nd statement.
1336 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
3491 0-3-2 If a function generates error information, then that error information s UartSerialCommUtility::getSeria Unset Unreviewed
hall be tested. lPort()
Return value of a sensitive function saved to 'root', but not checked in th
e scope.
Before return, check 'root' for errors or other state information.
1537 0-1-1 A project shall not contain unreachable code. UartSerialCommUtility::getSeria Unset Unreviewed
Statement is unreachable lPort()
2085 18-4-1 Dynamic heap memory allocation shall not be used. UartSerialCommUtility::getSeria Unset Unreviewed
lPort()
645 6-6-5 A function shall have a single point of exit at the end of the function. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
880 7-1-1 A variable which is not modified shall be const qualified. UartSerialCommUtility::SerialC Unset Unreviewed
The pointer parameter 'pPath' points to the same address during its lifet omnInit(const char*, unsigned l
ime. The pointer can be declared as 'T* const'. ong)
2197 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
1667 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::SerialC Unset Unreviewed
ot an overloaded operator shall always be used. omnInit(const char*, unsigned l
Value returned by function printf is not used. ong)
820 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
2340 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
13 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
1008 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::SerialC Unset Unreviewed
ot an overloaded operator shall always be used. omnInit(const char*, unsigned l
Value returned by function printf is not used. ong)
229
ID Rule Message Function Severity Status Comment
719 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
1631 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::SerialC Unset Unreviewed
ot an overloaded operator shall always be used. omnInit(const char*, unsigned l
Value returned by function printf is not used. ong)
1041 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
1264 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
316 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::SerialC Unset Unreviewed
ot an overloaded operator shall always be used. omnInit(const char*, unsigned l
Value returned by function cfsetspeed is not used. ong)
367 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialC Unset Unreviewed
nderlying type. omnInit(const char*, unsigned l
Implicit conversion of the expression of underlying type 'signed short' t ong)
o the type 'unsigned int' that is not a wider integer type of the same sign
edness.
1636 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise &= on the right operand of signed underlying type 'signed short'. ong)
977 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise ~ on operand of signed underlying type 'signed short'. ong)
402 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialC Unset Unreviewed
nderlying type. omnInit(const char*, unsigned l
Implicit conversion of the expression of underlying type 'signed char' t ong)
o the type 'unsigned int' that is not a wider integer type of the same sign
edness.
791 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise &= on the right operand of signed underlying type 'signed char'. ong)
1283 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise ~ on operand of signed underlying type 'signed char'. ong)
1213 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise &= on the right operand of signed underlying type 'signed char'. ong)
230
ID Rule Message Function Severity Status Comment
2099 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialC Unset Unreviewed
nderlying type. omnInit(const char*, unsigned l
Implicit conversion of the expression of underlying type 'signed char' t ong)
o the type 'unsigned int' that is not a wider integer type of the same sign
edness.
228 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise ~ on operand of signed underlying type 'signed char'. ong)
1071 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialC Unset Unreviewed
nderlying type. omnInit(const char*, unsigned l
Implicit conversion of the expression of underlying type 'signed char' t ong)
o the type 'unsigned int' that is not a wider integer type of the same sign
edness.
2361 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise |= on the right operand of signed underlying type 'signed char'. ong)
978 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialC Unset Unreviewed
nderlying type. omnInit(const char*, unsigned l
Implicit conversion of the expression of underlying type 'signed short' t ong)
o the type 'unsigned int' that is not a wider integer type of the same sign
edness.
1164 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise |= on the right operand of signed underlying type 'signed short'. ong)
1641 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise | on two operands of signed underlying types 'signed short' and ong)
'signed short'.
1792 5-0-5 There shall be no implicit floating-integral conversions. UartSerialCommUtility::SerialC Unset Unreviewed
Implicit conversion of the expression from 'double' to 'unsigned char' th omnInit(const char*, unsigned l
at is not a wider floating type. ong)
1154 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise &= on the right operand of signed underlying type 'signed short'. ong)
1591 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialC Unset Unreviewed
nderlying type. omnInit(const char*, unsigned l
Implicit conversion of the expression of underlying type 'signed short' t ong)
o the type 'unsigned int' that is not a wider integer type of the same sign
edness.
231
ID Rule Message Function Severity Status Comment
439 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise ~ on operand of signed underlying type 'signed short'. ong)
771 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise | on two operands of signed underlying types 'signed char' and ' ong)
signed short'.
2106 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise | on two operands of signed underlying types 'signed short' and ong)
'signed short'.
892 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialC Unset Unreviewed
nderlying type. omnInit(const char*, unsigned l
Implicit conversion of the expression of underlying type 'signed short' t ong)
o the type 'unsigned int' that is not a wider integer type of the same sign
edness.
1094 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise &= on the right operand of signed underlying type 'signed short'. ong)
1389 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise ~ on operand of signed underlying type 'signed short'. ong)
1381 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise | on two operands of signed underlying types 'signed short' and ong)
'signed short'.
2032 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise | on two operands of signed underlying types 'signed short' and ong)
'signed short'.
1320 5-0-21 Bitwise operators shall only be applied to operands of unsigned underly UartSerialCommUtility::SerialC Unset Unreviewed
ing type. omnInit(const char*, unsigned l
Bitwise ~ on operand of signed underlying type 'signed char'. ong)
991 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::SerialC Unset Unreviewed
ot an overloaded operator shall always be used. omnInit(const char*, unsigned l
Value returned by function tcflush is not used. ong)
670 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
232
ID Rule Message Function Severity Status Comment
1319 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::SerialC Unset Unreviewed
ot an overloaded operator shall always be used. omnInit(const char*, unsigned l
Value returned by function printf is not used. ong)
214 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
1655 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::SerialC Unset Unreviewed
omnInit(const char*, unsigned l
ong)
1014 6-6-5 A function shall have a single point of exit at the end of the function. UartSerialCommUtility::SerialD Unset Unreviewed
ataSend(char*, int)
2041 9-3-3 If a member function can be made static then it shall be made static, oth UartSerialCommUtility::SerialD Unset Unreviewed
erwise if it can be made const then it shall be made const. ataSend(char*, int)
The member function 'SerialDataSend' shall be made const.
683 7-1-2 A pointer or reference parameter in a function shall be declared as poin UartSerialCommUtility::SerialD Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi ataSend(char*, int)
fied.
2083 7-1-1 A variable which is not modified shall be const qualified. UartSerialCommUtility::SerialD Unset Unreviewed
The pointer parameter 'pSendBuf' points to the same address during its ataSend(char*, int)
lifetime. The pointer can be declared as 'T* const'.
1185 5-0-3 A cvalue expression shall not be implicitly converted to a different unde UartSerialCommUtility::SerialD Unset Unreviewed
rlying type. ataSend(char*, int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
1784 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialD Unset Unreviewed
nderlying type. ataSend(char*, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
370 2-7-2 Sections of code shall not be "commented out" using C-style comments. UartSerialCommUtility::SerialD Unset Unreviewed
ataSend(char*, int)
1409 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::SerialD Unset Unreviewed
ataSend(char*, int)
1243 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::SerialD Unset Unreviewed
ot an overloaded operator shall always be used. ataSend(char*, int)
Value returned by function printf is not used.
95 9-3-3 If a member function can be made static then it shall be made static, oth UartSerialCommUtility::SerialD Unset Unreviewed
erwise if it can be made const then it shall be made const. ataReceive(char*, int)
The member function 'SerialDataReceive' shall be made const.
233
ID Rule Message Function Severity Status Comment
972 6-6-5 A function shall have a single point of exit at the end of the function. UartSerialCommUtility::SerialD Unset Unreviewed
ataReceive(char*, int)
1030 7-1-1 A variable which is not modified shall be const qualified. UartSerialCommUtility::SerialD Unset Unreviewed
The pointer parameter 'pDataReadBuf' points to the same address durin ataReceive(char*, int)
g its lifetime. The pointer can be declared as 'T* const'.
1058 7-1-1 A variable which is not modified shall be const qualified. UartSerialCommUtility::SerialD Unset Unreviewed
The value of variable 'recvBytes' does not change after initialization. Th ataReceive(char*, int)
e variable can be declared 'const'.
1416 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::SerialD Unset Unreviewed
nderlying type. ataReceive(char*, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned int' that is not a wider integer type of the same signed
ness.
1438 5-0-3 A cvalue expression shall not be implicitly converted to a different unde UartSerialCommUtility::SerialD Unset Unreviewed
rlying type. ataReceive(char*, int)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned int'.
822 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::SerialD Unset Unreviewed
ot an overloaded operator shall always be used. ataReceive(char*, int)
Value returned by function tcflush is not used.
177 6-6-5 A function shall have a single point of exit at the end of the function. UartSerialCommUtility::uart_ti Unset Unreviewed
meout(int, int, int)
1569 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::uart_ti Unset Unreviewed
nderlying type. meout(int, int, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned char' that is not a wider integer type of the same signe
dness.
919 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::uart_ti Unset Unreviewed
nderlying type. meout(int, int, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned char' that is not a wider integer type of the same signe
dness.
1009 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::uart_ti Unset Unreviewed
meout(int, int, int)
1540 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::uart_ti Unset Unreviewed
ot an overloaded operator shall always be used. meout(int, int, int)
Value returned by function printf is not used.
1738 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::uart_ti Unset Unreviewed
meout(int, int, int)
234
ID Rule Message Function Severity Status Comment
716 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::uart_ti Unset Unreviewed
meout(int, int, int)
755 6-4-2 All if ... else if constructs shall be terminated with an else clause. UartSerialCommUtility::uart_ti Unset Unreviewed
meout(int, int, int)
1768 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::uart_ti Unset Unreviewed
nderlying type. meout(int, int, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned char' that is not a wider integer type of the same signe
dness.
1443 5-0-4 An implicit integral conversion shall not change the signedness of the u UartSerialCommUtility::uart_ti Unset Unreviewed
nderlying type. meout(int, int, int)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned char' that is not a wider integer type of the same signe
dness.
2283 27-0-1 The stream input/output library <cstdio> shall not be used. UartSerialCommUtility::uart_ti Unset Unreviewed
meout(int, int, int)
1284 0-1-7 The value returned by a function having a non-void return type that is n UartSerialCommUtility::uart_ti Unset Unreviewed
ot an overloaded operator shall always be used. meout(int, int, int)
Value returned by function printf is not used.
638 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::uart_ti Unset Unreviewed
meout(int, int, int)
1664 19-3-1 The error indicator errno shall not be used. UartSerialCommUtility::uart_ti Unset Unreviewed
meout(int, int, int)
235
ID Rule Message Function Severity Status Comment
682 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
774 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro SEL_UART_460800 expands to a construct that is not compliant w
ith the rule.
811 16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or sto File Scope Unset Unreviewed
rage class specifiers.
Macro SEL_UART_3Mbps expands to a construct that is not compliant wi
th the rule.
1105 16-2-1 The pre-processor shall only be used for file inclusion and include guar File Scope Unset Unreviewed
ds.
#define should only be used for include guards.
999 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
1280 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
1032 2-10-2 Identifiers declared in an inner scope shall not hide an identifier declar File Scope Unset Unreviewed
ed in an outer scope.
2051 2-10-4 A class, union or enum name (including qualification, if any) shall be a File Scope Unset Unreviewed
unique identifier.
Tag name 'termios' should not be reused.
Already used as tag name (termios.h line 28 column 7).
1925 11-0-1 Member data in non-POD class types shall be private. File Scope Unset Unreviewed
236
ID Rule Message Function Severity Status Comment
829 5-0-3 A cvalue expression shall not be implicitly converted to a different unde UdpUnicastUtility::UdpUnicastI Unset Unreviewed
rlying type. nit(int, int, char*)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned short'.
1195 5-0-4 An implicit integral conversion shall not change the signedness of the u UdpUnicastUtility::UdpUnicastI Unset Unreviewed
nderlying type. nit(int, int, char*)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned short' that is not a wider integer type of the same sign
edness.
432 5-0-13 The condition of an if-statement and the condition of an iteration-state UdpUnicastUtility::UdpUnicastI Unset Unreviewed
ment shall have type bool. nit(int, int, char*)
1917 5-0-3 A cvalue expression shall not be implicitly converted to a different unde UdpUnicastUtility::UdpUnicastI Unset Unreviewed
rlying type. nit(int, int, char*)
Implicit conversion of complex expression of underlying type 'unknown
' to 'bool'.
1704 1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpo UdpUnicastUtility::UdpUnicastI Unset Unreviewed
rating Technical Corrigendum 1". nit(int, int, char*)
No operator "==" matches these operands
1070 27-0-1 The stream input/output library <cstdio> shall not be used. UdpUnicastUtility::UdpUnicastI Unset Unreviewed
nit(int, int, char*)
1612 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpUnicastI Unset Unreviewed
than explicit constructor calls) shall not be used. nit(int, int, char*)
728 5-0-4 An implicit integral conversion shall not change the signedness of the u UdpUnicastUtility::UdpUnicastI Unset Unreviewed
nderlying type. nit(int, int, char*)
Implicit conversion of the expression of underlying type 'signed int' to t
he type 'unsigned short' that is not a wider integer type of the same sign
edness.
1995 5-0-3 A cvalue expression shall not be implicitly converted to a different unde UdpUnicastUtility::UdpUnicastI Unset Unreviewed
rlying type. nit(int, int, char*)
Implicit conversion of expression of 'signed int' type as argument of fun
ction whose corresponding parameter type is 'unsigned short'.
1255 9-3-3 If a member function can be made static then it shall be made static, oth UdpUnicastUtility::UdpDataSen Unset Unreviewed
erwise if it can be made const then it shall be made const. d(char*, int)
The member function 'UdpDataSend' shall be made const.
754 7-1-2 A pointer or reference parameter in a function shall be declared as poin UdpUnicastUtility::UdpDataSen Unset Unreviewed
ter to const or reference to const if the corresponding object is not modi d(char*, int)
fied.
1061 7-1-1 A variable which is not modified shall be const qualified. UdpUnicastUtility::UdpDataSen Unset Unreviewed
The pointer parameter 'data' points to the same address during its lifeti d(char*, int)
me. The pointer can be declared as 'T* const'.
237
ID Rule Message Function Severity Status Comment
1709 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataSen Unset Unreviewed
than explicit constructor calls) shall not be used. d(char*, int)
587 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataSen Unset Unreviewed
than explicit constructor calls) shall not be used. d(char*, int)
887 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataSen Unset Unreviewed
than explicit constructor calls) shall not be used. d(char*, int)
992 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataSen Unset Unreviewed
than explicit constructor calls) shall not be used. d(char*, int)
2388 5-2-7 An object with pointer type shall not be converted to an unrelated point UdpUnicastUtility::UdpDataSen Unset Unreviewed
er type, either directly or indirectly. d(char*, int)
1155 27-0-1 The stream input/output library <cstdio> shall not be used. UdpUnicastUtility::UdpDataSen Unset Unreviewed
d(char*, int)
656 27-0-1 The stream input/output library <cstdio> shall not be used. UdpUnicastUtility::UdpDataSen Unset Unreviewed
d(char*, int)
1912 0-1-7 The value returned by a function having a non-void return type that is n UdpUnicastUtility::UdpDataSen Unset Unreviewed
ot an overloaded operator shall always be used. d(char*, int)
Value returned by function printf is not used.
1643 7-1-1 A variable which is not modified shall be const qualified. UdpUnicastUtility::UdpDataRec Unset Unreviewed
The pointer parameter 'data' points to the same address during its lifeti eive(char*, int)
me. The pointer can be declared as 'T* const'.
861 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataRec Unset Unreviewed
than explicit constructor calls) shall not be used. eive(char*, int)
358 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataRec Unset Unreviewed
than explicit constructor calls) shall not be used. eive(char*, int)
512 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataRec Unset Unreviewed
than explicit constructor calls) shall not be used. eive(char*, int)
1183 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataRec Unset Unreviewed
than explicit constructor calls) shall not be used. eive(char*, int)
109 5-2-7 An object with pointer type shall not be converted to an unrelated point UdpUnicastUtility::UdpDataRec Unset Unreviewed
er type, either directly or indirectly. eive(char*, int)
2093 5-2-4 C-style casts (other than void casts) and functional notation casts (other UdpUnicastUtility::UdpDataRec Unset Unreviewed
than explicit constructor calls) shall not be used. eive(char*, int)
7 5-2-7 An object with pointer type shall not be converted to an unrelated point UdpUnicastUtility::UdpDataRec Unset Unreviewed
er type, either directly or indirectly. eive(char*, int)
238
Table 1.45. C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\UdpUnicastUtility.h
ID Rule Message Function Severity Status Comment
2517 16-2-3 Include guards shall be provided. File Scope Unset Unreviewed
1220 18-0-1 The C library shall not be used. File Scope Unset Unreviewed
Use the C++ version of this include file.
1550 18-0-1 The C library shall not be used. File Scope Unset Unreviewed
Use the C++ version of this include file.
1055 7-3-4 using-directives shall not be used. File Scope Unset Unreviewed
2298 7-3-6 using-directives and using-declarations (excluding class scope or functio File Scope Unset Unreviewed
n scope using-declarations) shall not be used in header files.
1358 7-3-1 The global namespace shall only contain main, namespace declarations File Scope Unset Unreviewed
and extern "C" declarations.
2066 8-0-1 An init-declarator-list or a member-declarator-list shall consist of a singl File Scope Unset Unreviewed
e init-declarator or member-declarator respectively.
239
ID Rule Message Function Severity Status Comment
937 18-4-1 Dynamic heap memory allocation shall not be used. main() Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out
of memory state.
1012 7-1-1 A variable which is not modified shall be const qualified. main() Unset Unreviewed
The pointer 'pABCMInterface' does not point to a different location afte
r initialization. The pointer can be declared as 'T* const'.
343 18-4-1 Dynamic heap memory allocation shall not be used. main() Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out
of memory state.
1615 7-1-1 A variable which is not modified shall be const qualified. main() Unset Unreviewed
The pointer 'pTSFMInterface' does not point to a different location after
initialization. The pointer can be declared as 'T* const'.
1295 18-4-1 Dynamic heap memory allocation shall not be used. main() Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out
of memory state.
1921 7-1-1 A variable which is not modified shall be const qualified. main() Unset Unreviewed
The pointer 'pMGCMFPGAInterface' does not point to a different locatio
n after initialization. The pointer can be declared as 'T* const'.
19 18-4-1 Dynamic heap memory allocation shall not be used. main() Unset Unreviewed
Use of non-placement new is non-deterministic and might result in out
of memory state.
3493 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_create' not checked.
'pthread_create' returns zero on success or a nonzero code on failure.
'pthread_create' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_create'.
948 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_create is not used.
2096 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
2124 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
3494 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_create' not checked.
'pthread_create' returns zero on success or a nonzero code on failure.
'pthread_create' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_create'.
240
ID Rule Message Function Severity Status Comment
1158 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_create is not used.
467 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
2301 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
3495 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_create' not checked.
'pthread_create' returns zero on success or a nonzero code on failure.
'pthread_create' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_create'.
777 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_create is not used.
2064 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
1054 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
3496 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_create' not checked.
'pthread_create' returns zero on success or a nonzero code on failure.
'pthread_create' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_create'.
850 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_create is not used.
1485 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
1939 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
3497 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_create' not checked.
'pthread_create' returns zero on success or a nonzero code on failure.
'pthread_create' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_create'.
241
ID Rule Message Function Severity Status Comment
770 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_create is not used.
1050 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
2312 5-2-4 C-style casts (other than void casts) and functional notation casts (other main() Unset Unreviewed
than explicit constructor calls) shall not be used.
3498 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_join' not checked.
'pthread_join' returns zero on success or a nonzero code on failure.
'pthread_join' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_join'.
1776 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_join is not used.
3499 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_join' not checked.
'pthread_join' returns zero on success or a nonzero code on failure.
'pthread_join' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_join'.
560 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_join is not used.
3500 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_join' not checked.
'pthread_join' returns zero on success or a nonzero code on failure.
'pthread_join' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_join'.
612 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_join is not used.
3501 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_join' not checked.
'pthread_join' returns zero on success or a nonzero code on failure.
'pthread_join' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_join'.
242
ID Rule Message Function Severity Status Comment
2294 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_join is not used.
3502 0-3-2 If a function generates error information, then that error information s main() Unset Unreviewed
hall be tested.
Return value of critical sensitive function 'pthread_join' not checked.
'pthread_join' returns zero on success or a nonzero code on failure.
'pthread_join' is a sensitive function that performs critical tasks.
For more secure code, check the return value of 'pthread_join'.
1846 0-1-7 The value returned by a function having a non-void return type that is n main() Unset Unreviewed
ot an overloaded operator shall always be used.
Value returned by function pthread_join is not used.
243
Chapter 2. MISRA C:2012 Results
MISRA C:2012 Summary - Violations by File
No violations were found.
244
File Total
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\GPMCUtility.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\InternalMsg.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MGCMFPGAInterface.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MGCMMsgCommunicator.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MGCMSupervisor.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmConfig.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmFpgaMsgHandler.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmMsgStructures.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MgcmSender.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MsgQueue.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\MulticastUtility.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\ParentTSFMInterface.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\ParentTSFMMsgHandler.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\TSFMInterface.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\TimeManager.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\TsfmMsgHandler.h 0
Total 0
245
File Total
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\UartSerialCommUtility.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\UdpUnicastUtility.h 0
C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6\[Link] 0
Total 0
246
Guideline Description Mode Total
6.3 A bit field shall not be declared as a member of a union. required 0
7.1 Octal constants shall not be used. required 0
7.2 A "u" or "U" suffix shall be applied to all integer constants that are represented in an unsigned type. required 0
7.3 The lowercase character "l" shall not be used in a literal suffix. required 0
7.4 A string literal shall not be assigned to an object unless the object's type is "pointer to const-qualified char". required 0
7.5 The argument of an integer constant macro shall have an appropriate form. mandatory 0
8.1 Types shall be explicitly specified. required 0
8.2 Function types shall be in prototype form with named parameters. required 0
8.3 All declarations of an object or function shall use the same names and type qualifiers. required 0
8.4 A compatible declaration shall be visible when an object or function with external linkage is defined. required 0
8.5 An external object or function shall be declared once in one and only one file. required 0
8.6 An identifier with external linkage shall have exactly one external definition. required 0
8.8 The static storage class specifier shall be used in all declarations of objects and functions that have internal linkage. required 0
8.10 An inline function shall be declared with the static storage class. required 0
8.12 Within an enumerator list, the value of an implicitly-specified enumeration constant shall be unique. required 0
8.14 The restrict type qualifier shall not be used. required 0
8.15 All declarations of an object with an explicit alignment specification shall specify the same alignment required 0
9.1 The value of an object with automatic storage duration shall not be read before it has been set. mandatory 0
9.2 The initializer for an aggregate or union shall be enclosed in braces. required 0
9.3 Arrays shall not be partially initialized. required 0
9.4 An element of an object shall not be initialized more than once. required 0
9.5 Where designated initializers are used to initialize an array object the size of the array shall be specified explicitly. required 0
10.1 Operands shall not be of an inappropriate essential type. required 0
10.2 Expressions of essentially character type shall not be used inappropriately in addition and subtraction operations. required 0
10.3 The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type categ required 0
ory.
10.4 Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type categ required 0
ory.
10.6 The value of a composite expression shall not be assigned to an object with wider essential type. required 0
10.7 If a composite expression is used as one operand of an operator in which the usual arithmetic conversions are performed then t required 0
he other operand shall not have wider essential type.
Total 0
247
Guideline Description Mode Total
10.8 The value of a composite expression shall not be cast to a different essential type category or a wider essential type. required 0
11.1 Conversions shall not be performed between a pointer to a function and any other type. required 0
11.2 Conversions shall not be performed between a pointer to an incomplete type and any other type. required 0
11.3 A conversion shall not be performed between a pointer to object type and a pointer to a different object type. required 0
11.6 A cast shall not be performed between pointer to void and an arithmetic type. required 0
11.7 A cast shall not be performed between pointer to object and a non-integer arithmetic type. required 0
11.8 A conversion shall not remove any const, volatile or _Atomic qualification from the type pointed to by a pointer. required 0
11.9 The macro NULL shall be the only permitted form of integer null pointer constant. required 0
12.2 The right hand operand of a shift operator shall lie in the range zero to one less than the width in bits of the essential type of the required 0
left hand operand.
12.5 The sizeof operator shall not have an operand which is a function parameter declared as "array of type". mandatory 0
13.1 Initializer lists shall not contain persistent side effects. required 0
13.2 The value of an expression and its persistent side effects shall be the same under all permitted evaluation orders and shall be in required 0
dependent from thread interleaving.
13.5 The right hand operand of a logical && or || operator shall not contain persistent side effects. required 0
13.6 The operand of the sizeof operator shall not contain any expression which has potential side effects. required 0
14.1 A loop counter shall not have essentially floating type. required 0
14.2 A for loop shall be well-formed. required 0
14.3 Controlling expressions shall not be invariant. required 0
14.4 The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially Bool required 0
ean type.
15.2 The goto statement shall jump to a label declared later in the same function. required 0
15.3 Any label referenced by a goto statement shall be declared in the same block, or in any block enclosing the goto statement. required 0
15.6 The body of an iteration-statement or a selection-statement shall be a compound-statement. required 0
15.7 All if ... else if constructs shall be terminated with an else statement. required 0
16.1 All switch statements shall be well-formed. required 0
16.2 A switch label shall only be used when the most closely-enclosing compound statement is the body of a switch statement. required 0
16.3 An unconditional break statement shall terminate every switch-clause. required 0
16.4 Every switch statement shall have a default label. required 0
16.5 A default label shall appear as either the first or the last switch label of a switch statement. required 0
16.6 Every switch statement shall have at least two switch-clauses. required 0
Total 0
248
Guideline Description Mode Total
16.7 A switch-expression shall not have essentially Boolean type. required 0
17.1 The standard header file <stdarg.h> shall not be used. required 0
17.2 Functions shall not call themselves, either directly or indirectly. required 0
17.3 A function shall not be declared implicitly. mandatory 0
17.4 All exit paths from a function with non-void return type shall have an explicit return statement with an expression. mandatory 0
17.5 The function argument corresponding to a parameter declared to have an array type shall have an appropriate number of elem required 0
ents.
17.6 The declaration of an array parameter shall not contain the static keyword between the [ ]. mandatory 0
17.7 The value returned by a function having non-void return type shall be used. required 0
17.9 A function declared with a _Noreturn function specifier shall not return to its caller. mandatory 0
17.10 A function declared with a _Noreturn function specifier shall have void return type. required 0
17.13 A function type shall not be type qualified. required 0
18.1 A pointer resulting from arithmetic on a pointer operand shall address an element of the same array as that pointer operand. required 0
18.2 Subtraction between pointers shall only be applied to pointers that address elements of the same array. required 0
18.3 The relational operators >, >=, < and <= shall not be applied to expressions of pointer type except where they point into the same required 0
object.
18.6 The address of an object with automatic or thread-local storage shall not be copied to another object that persists after the first o required 0
bject has ceased to exist.
18.7 Flexible array members shall not be declared. required 0
18.8 Variable-length arrays shall not be used. required 0
18.9 An object with temporary lifetime shall not undergo array-to-pointer conversion. required 0
19.1 An object shall not be assigned or copied to an overlapping object. mandatory 0
20.2 The ', " or \ characters and the /* or // character sequences shall not occur in a header file name. required 0
20.3 The #include directive shall be followed by either a <filename> or "filename" sequence. required 0
20.4 A macro shall not be defined with the same name as a keyword. required 0
20.6 Tokens that look like a preprocessing directive shall not occur within a macro argument. required 0
20.7 Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses. required 0
20.8 The controlling expression of a #if or #elif preprocessing directive shall evaluate to 0 or 1. required 0
20.9 All identifiers used in the controlling expression of #if or #elif preprocessing directives shall be #define'd before evaluation. required 0
20.11 A macro parameter immediately following a # operator shall not immediately be followed by a ## operator. required 0
Total 0
249
Guideline Description Mode Total
20.12 A macro parameter used as an operand to the # or ## operators, which is itself subject to further macro replacement, shall only required 0
be used as an operand to these operators.
20.13 A line whose first token is # shall be a valid preprocessing directive. required 0
20.14 All #else, #elif and #endif preprocessor directives shall reside in the same file as the #if, #ifdef or #ifndef directive to which they required 0
are related.
21.1 #define and #undef shall not be used on a reserved identifier or reserved macro name. required 0
21.2 A reserved identifier or reserved macro name shall not be declared. required 0
21.3 The memory allocation and deallocation functions of <stdlib.h> shall not be used. required 0
21.4 The standard header file <setjmp.h> shall not be used. required 0
21.5 The standard header file <signal.h> shall not be used. required 0
21.6 The Standard Library input/output functions shall not be used. required 0
21.7 The Standard Library functions atof, atoi, atol and atoll of <stdlib.h> shall not be used. required 0
21.8 The Standard Library termination functions of <stdlib.h> shall not be used. required 0
21.9 The Standard Library functions bsearch and qsort of <stdlib.h> shall not be used. required 0
21.10 The Standard Library time and date functions shall not be used. required 0
21.12 The standard header file <fenv.h> shall not be used. required 0
21.13 Any value passed to a function in <ctype.h> shall be representable as an unsigned char or be the value EOF. mandatory 0
21.14 The Standard Library function memcmp shall not be used to compare null terminated strings. required 0
21.15 The pointer arguments to the Standard Library functions memcpy, memmove and memcmp shall be pointers to qualified or unq required 0
ualified versions of compatible types.
21.16 The pointer arguments to the Standard Library function memcmp shall point to either a pointer type, an essentially signed type, required 0
an essentially unsigned type, an essentially Boolean type or an essentially enum type.
21.17 Use of the string handling functions from <string.h> shall not result in accesses beyond the bounds of the objects referenced by t mandatory 0
heir pointer parameters.
21.18 The size_t argument passed to any function in <string.h> shall have an appropriate value. mandatory 0
21.19 The pointers returned by the Standard Library functions localeconv, getenv, setlocale or, strerror shall only be used as if they ha mandatory 0
ve pointer to const-qualified type.
21.20 The pointer returned by the Standard Library functions asctime, ctime, gmtime, localtime, localeconv, getenv, setlocale or strerr mandatory 0
or shall not be used following a subsequent call to the same function.
21.21 The Standard Library function system of <stdlib.h> shall not be used. required 0
21.22 All operand arguments to any type-generic macros declared in <tgmath.h> shall have an appropriate essential type. mandatory 0
21.23 All operand arguments to any multi-argument type-generic macros declared in <tgmath.h> shall have the same standard type. required 0
Total 0
250
Guideline Description Mode Total
21.24 The random number generator functions of <stdlib.h> shall not be used. required 0
22.1 All resources obtained dynamically by means of Standard Library functions shall be explicitly released. required 0
22.2 A block of memory shall only be freed if it was allocated by means of a Standard Library function. mandatory 0
22.3 The same file shall not be open for read and write access at the same time on different streams. required 0
22.4 There shall be no attempt to write to a stream which has been opened as read-only. mandatory 0
22.5 A pointer to a FILE object shall not be dereferenced. mandatory 0
22.6 The value of a pointer to a FILE shall not be used after the associated stream has been closed. mandatory 0
22.7 The macro EOF shall only be compared with the unmodified return value from any Standard Library function capable of return required 0
ing EOF.
22.8 The value of errno shall be set to zero prior to a call to an errno-setting-function. required 0
22.9 The value of errno shall be tested against zero after calling an errno-setting-function. required 0
22.10 The value of errno shall only be tested when the last function to be called was an errno-setting-function. required 0
22.11 A thread that was previously either joined or detached shall not be subsequently joined nor detached. required 0
22.15 Thread synchronization objects and thread-specific storage pointers shall not be destroyed until after all threads accessing them required 0
have terminated.
22.16 All mutex objects locked by a thread shall be explicitly unlocked by the same thread. required 0
22.17 No thread shall unlock a mutex or call cnd_wait() or cnd_timedwait() for a mutex it has not locked before. required 0
23.2 A generic selection that is not expanded from a macro shall not contain potential side effects in the controlling expression. required 0
23.4 A generic association shall list an appropriate type. required 0
23.6 The controlling expression of a generic selection shall have an essential type that matches its standard type. required 0
23.8 A default association shall appear as either the first or the last association of a generic selection. required 0
D1.1 Any implementation-defined behaviour on which the output of the program depends shall be documented and understood. required 0
D2.1 All source files shall compile without any compilation errors. required 0
D4.1 Run-time failures shall be minimized. required 0
D4.3 Assembly language shall be encapsulated and isolated. required 0
D4.7 If a function returns error information, then that error information shall be tested. required 0
D4.10 Precautions shall be taken in order to prevent the contents of a header file being included more than once. required 0
D4.11 The validity of values passed to library functions shall be checked. required 0
D4.12 Dynamic memory allocation shall not be used. required 0
D4.14 The validity of values received from external sources shall be checked. required 0
Total 0
251
Guideline Description Mode Total
D4.15 Evaluation of floating-point expressions shall not lead to the undetected generation of infinities and NaNs. required 0
D5.1 There shall be no data races between threads. required 0
D5.2 There shall be no deadlocks between threads. required 0
Total 0
252
Chapter 3. Appendix 1 - Configuration Settings
Polyspace Settings
Option Value
-author vhanumap
-bug-finder true
-checkers ALIGNMENT_CHANGE, ASSERT, ATOMIC_VAR_ACCESS_TWICE, ATOMIC_VAR_SEQUENCE_NOT_ATOMIC, BAD_DELETE, BAD_EQUAL_EQUAL_USE, BAD
_EQUAL_USE, BAD_FREE, BAD_LOCK, BAD_PTR_SCALING, BAD_UNLOCK, CHARACTER_MISUSE, CHAR_EOF_CONFUSED, CLOSED_RESOURCE_USE, CO
NSTANT_OBJECT_WRITE, COPY_MODIFYING_SOURCE, DATA_RACE, DATA_RACE_BIT_FIELDS, DATA_RACE_STD_LIB, DEADLOCK, DEAD_CODE, DECL_M
ISMATCH, DOUBLE_DEALLOCATION, DOUBLE_LOCK, DOUBLE_RESOURCE_CLOSE, DOUBLE_RESOURCE_OPEN, DOUBLE_UNLOCK, DTOR_NOT_VIRTU
AL, ERRNO_MISUSE, EXCP_CAUGHT_BY_VALUE, EXCP_HANDLER_HIDDEN, FILE_OBJECT_MISUSE, FLEXIBLE_ARRAY_MEMBER_STRUCT_MISUSE, FLO
AT_ABSORPTION, FLOAT_CONV_OVFL, FLOAT_STD_LIB, FLOAT_ZERO_DIV, FREED_PTR, FUNC_CAST, IMPROPER_ARRAY_INIT, INCOMPLETE_CLASS_PT
R, INCORRECT_VALUE_FORWARDING, INFINITE_LOOP, INLINE_CONSTRAINT_NOT_RESPECTED, INT_CONV_OVFL, INT_STD_LIB, INT_ZERO_DIV, INVA
LID_ENV_POINTER, INVALID_MEMORY_ASSUMPTION, INVALID_VA_LIST_ARG, IO_INTERLEAVING, LAMBDA_TYPE_MISUSE, LOCAL_ADDR_ESCAPE, M
ACRO_USED_AS_OBJECT, MEMCMP_PADDING_DATA, MEMCMP_STRINGS, MEM_STD_LIB, MISSING_BASE_ASSIGN_OP_CALL, MISSING_COPY_CTOR_CA
LL, MISSING_ERRNO_RESET, MISSING_NULL_CHAR, MISSING_OVERLOAD_NEW_FOR_ALIGNED_OBJ, MISSING_RETURN, MISSING_SELF_ASSIGN_TES
T, MOVE_CONST_OBJECT, NOEXCEPT_FUNCTION_THROWS, NON_INIT_PTR, NON_INIT_VAR, NON_POSITIVE_VLA_SIZE, NULL_PTR, OBJECT_SLICING,
OFFSETOF_MISUSE, OPERATOR_PRECEDENCE, OTHER_STD_LIB, OUT_BOUND_ARRAY, OUT_BOUND_PTR, PARTIALLY_ACCESSED_ARRAY, PARTIAL_OV
ERRIDE, PRE_DIRECTIVE_MACRO_ARG, PRE_UCNAME_JOIN_TOKENS, PTR_CAST, PTR_SIZEOF_MISMATCH, PTR_TO_DIFF_ARRAY, PUTENV_AUTO_VAR,
READ_ONLY_RESOURCE_WRITE, RESOURCE_LEAK, SIDE_EFFECT_IGNORED, SIGN_CHANGE, SIG_HANDLER_CALLING_SIGNAL, SIG_HANDLER_COMP_
EXCP_RETURN, SIG_HANDLER_ERRNO_MISUSE, SIG_HANDLER_SHARED_OBJECT, SIZEOF_MISUSE, STD_FUNC_ARG_MISMATCH, STREAM_WITH_SIDE
_EFFECT, STRING_FORMAT, STRLIB_BUFFER_OVERFLOW, STRLIB_BUFFER_UNDERFLOW, STR_FORMAT_BUFFER_OVERFLOW, STR_STD_LIB, TEMP_OB
JECT_ACCESS, THROW_ARGUMENT_EXPRESSION_THROWS, TOO_MANY_VA_ARG_CALLS, TYPEDEF_MISMATCH, UINT_CONV_OVFL, UNNAMED_NAM
ESPACE_IN_HEADER, UNPROTOTYPED_FUNC_CALL, UNREACHABLE, USELESS_IF, USELESS_WRITE, VAR_SHADOWING, VA_ARG_INCORRECT_TYPE, V
A_START_INCORRECT_TYPE, VA_START_MISUSE, VIRTUAL_FUNC_HIDING
-compiler gnu10.x
-date 05/05/2025
-dos true
-I C:\MGCM_SW_CODE,C:\MGCM_SW_CODE\MGCM_MAINTENANCE_MODE_V6
-import-comments C:\PolyspaceTestGettongStarted\BF_Result_181
-lang C-CPP
-library none
-misra-cpp required-rules
-misra3 mandatory-required
253
Option Value
-prog ASTRA
-results-dir C:\PolyspaceTestGettongStarted\BF_Result_182
-target i386
-verif-version 1.0
254
Rule Description Mode Comment Enabled
0-1-6 A project shall not contain instances of non-volatile variables being given required - yes
values that are never subsequently used.
0-1-7 The value returned by a function having a non-void return type that is no required - yes
t an overloaded operator shall always be used.
0-1-8 All functions with void return type shall have external side effect(s). required - yes
0-1-9 There shall be no dead code. required - yes
0-1-10 Every defined function shall be called at least once. required - yes
0-1-11 There shall be no unused parameters (named or unnamed) in non-virtual required - yes
functions.
0-1-12 There shall be no unused parameters (named or unnamed) in the set of p required - yes
arameters for a virtual function and all the functions that override it.
0-2-1 An object shall not be assigned to an overlapping object. required - yes
0-3-1 Minimization of run-time failures shall be ensured by the use of at least o document Not implemented no
ne of: (a) static analysis tools/techniques; (b) dynamic analysis tools/techn
iques; (c) explicit coding of checks to handle run-time faults.
0-3-2 If a function generates error information, then that error information sh required - yes
all be tested.
0-4-1 Use of scaled-integer or fixed-point arithmetic shall be documented. document Not implemented no
0-4-2 Use of floating-point arithmetic shall be documented. document Not implemented no
0-4-3 Floating-point implementations shall comply with a defined floating-poin document Not implemented no
t standard.
1-0-1 All code shall conform to ISO/IEC 14882:2003 "The C++ Standard Incorpor required - yes
ating Technical Corrigendum 1".
1-0-2 Multiple compilers shall only be used if they have a common, defined int document Not implemented no
erface.
1-0-3 The implementation of integer division in the chosen compiler shall be d document Not implemented no
etermined and documented.
2-2-1 The character set and the corresponding encoding shall be documented. document Not implemented no
2-3-1 Trigraphs shall not be used. required - yes
2-5-1 Digraphs should not be used. advisory - no
2-7-1 The character sequence /* shall not be used within a C-style comment. required - yes
2-7-2 Sections of code shall not be "commented out" using C-style comments. required - yes
2-7-3 Sections of code should not be "commented out" using C++ comments. advisory - no
2-10-1 Different identifiers shall be typographically unambiguous. required - yes
255
Rule Description Mode Comment Enabled
2-10-2 Identifiers declared in an inner scope shall not hide an identifier declare required - yes
d in an outer scope.
2-10-3 A typedef name (including qualification, if any) shall be a unique identifi required - yes
er.
2-10-4 A class, union or enum name (including qualification, if any) shall be a u required - yes
nique identifier.
2-10-5 The identifier name of a non-member object or function with static stora advisory - no
ge duration should not be reused.
2-10-6 If an identifier refers to a type, it shall not also refer to an object or a func required - yes
tion in the same scope.
2-13-1 Only those escape sequences that are defined in ISO/IEC 14882:2003 shall required - yes
be used.
2-13-2 Octal constants (other than zero) and octal escape sequences (other than required - yes
"\0") shall not be used.
2-13-3 A "U" suffix shall be applied to all octal or hexadecimal integer literals of required - yes
unsigned type.
2-13-4 Literal suffixes shall be upper case. required - yes
2-13-5 Narrow and wide string literals shall not be concatenated. required - yes
3-1-1 It shall be possible to include any header file in multiple translation units required - yes
without violating the One Definition Rule.
3-1-2 Functions shall not be declared at block scope. required - yes
3-1-3 When an array is declared, its size shall either be stated explicitly or defi required - yes
ned implicitly by initialization.
3-2-1 All declarations of an object or function shall have compatible types. required - yes
3-2-2 The One Definition Rule shall not be violated. required - yes
3-2-3 A type, object or function that is used in multiple translation units shall b required - yes
e declared in one and only one file.
3-2-4 An identifier with external linkage shall have exactly one definition. required - yes
3-3-1 Objects or functions with external linkage shall be declared in a header fi required - yes
le.
3-3-2 If a function has internal linkage then all re-declarations shall include the required - yes
static storage class specifier.
3-4-1 An identifier declared to be an object or type shall be defined in a block t required - yes
hat minimizes its visibility.
256
Rule Description Mode Comment Enabled
3-9-1 The types used for an object, a function return type, or a function parame required - yes
ter shall be token-for-token identical in all declarations and re-declaratio
ns.
3-9-2 Typedefs that indicate size and signedness should be used in place of the advisory - no
basic numerical types.
3-9-3 The underlying bit representations of floating-point values shall not be us required - yes
ed.
4-5-1 Expressions with type bool shall not be used as operands to built-in opera required - yes
tors other than the assignment operator =, the logical operators &&, ||, !,
the equality operators == and !=, the unary & operator, and the condition
al operator.
4-5-2 Expressions with type enum shall not be used as operands to built- in ope required - yes
rators other than the subscript operator [ ], the assignment operator =, th
e equality operators == and !=, the unary & operator, and the relational o
perators <, <=, >, >=.
4-5-3 Expressions with type (plain) char and wchar_t shall not be used as opera required - yes
nds to built-in operators other than the assignment operator =, the equali
ty operators == and !=, and the unary & operator.
4-10-1 NULL shall not be used as an integer value. required - yes
4-10-2 Literal zero (0) shall not be used as the null-pointer-constant. required - yes
5-0-1 The value of an expression shall be the same under any order of evaluati required - yes
on that the standard permits.
5-0-2 Limited dependence should be placed on C++ operator precedence rules i advisory - no
n expressions.
5-0-3 A cvalue expression shall not be implicitly converted to a different under required - yes
lying type.
5-0-4 An implicit integral conversion shall not change the signedness of the un required - yes
derlying type.
5-0-5 There shall be no implicit floating-integral conversions. required - yes
5-0-6 An implicit integral or floating-point conversion shall not reduce the size required - yes
of the underlying type.
5-0-7 There shall be no explicit floating-integral conversions of a cvalue expres required - yes
sion.
5-0-8 An explicit integral or floating-point conversion shall not increase the siz required - yes
e of the underlying type of a cvalue expression.
5-0-9 An explicit integral conversion shall not change the signedness of the und required - yes
erlying type of a cvalue expression.
257
Rule Description Mode Comment Enabled
5-0-10 If the bitwise operators ~ and << are applied to an operand with an unde required - yes
rlying type of unsigned char or unsigned short, the result shall be immedi
ately cast to the underlying type of the operand.
5-0-11 The plain char type shall only be used for the storage and use of characte required - yes
r values.
5-0-12 signed char and unsigned char type shall only be used for the storage and required - yes
use of numeric values.
5-0-13 The condition of an if-statement and the condition of an iteration-stateme required - yes
nt shall have type bool.
5-0-14 The first operand of a conditional-operator shall have type bool. required - yes
5-0-15 Array indexing shall be the only form of pointer arithmetic. required - yes
5-0-16 A pointer operand and any pointer resulting from pointer arithmetic usin required - yes
g that operand shall both address elements of the same array.
5-0-17 Subtraction between pointers shall only be applied to pointers that addre required - yes
ss elements of the same array.
5-0-18 >, >=, <, <= shall not be applied to objects of pointer type, except where th required - yes
ey point to the same array.
5-0-19 The declaration of objects shall contain no more than two levels of pointe required - yes
r indirection.
5-0-20 Non-constant operands to a binary bitwise operator shall have the same required - yes
underlying type.
5-0-21 Bitwise operators shall only be applied to operands of unsigned underlyi required - yes
ng type.
5-2-1 Each operand of a logical && or || shall be a postfix-expression. required - yes
5-2-2 A pointer to a virtual base class shall only be cast to a pointer to a derived required - yes
class by means of dynamic_cast.
5-2-3 Casts from a base class to a derived class should not be performed on pol advisory - no
ymorphic types.
5-2-4 C-style casts (other than void casts) and functional notation casts (other t required - yes
han explicit constructor calls) shall not be used.
5-2-5 A cast shall not remove any const or volatile qualification from the type o required - yes
f a pointer or reference.
5-2-6 A cast shall not convert a pointer to a function to any other pointer type, i required - yes
ncluding a pointer to function type.
5-2-7 An object with pointer type shall not be converted to an unrelated pointe required - yes
r type, either directly or indirectly.
258
Rule Description Mode Comment Enabled
5-2-8 An object with integer type or pointer to void type shall not be converted required - yes
to an object with pointer type.
5-2-9 A cast should not convert a pointer type to an integral type. advisory - no
5-2-10 The increment ( ++ ) and decrement ( -- ) operators should not be mixed w advisory - no
ith other operators in an expression.
5-2-11 The comma operator, && operator and the || operator shall not be overlo required - yes
aded.
5-2-12 An identifier with array type passed as a function argument shall not dec required - yes
ay to a pointer.
5-3-1 Each operand of the ! operator, the logical && or the logical || operators required - yes
shall have type bool.
5-3-2 The unary minus operator shall not be applied to an expression whose u required - yes
nderlying type is unsigned.
5-3-3 The unary & operator shall not be overloaded. required - yes
5-3-4 Evaluation of the operand to the sizeof operator shall not contain side eff required - yes
ects.
5-8-1 The right hand operand of a shift operator shall lie between zero and one required - yes
less than the width in bits of the underlying type of the left hand operand
.
5-14-1 The right hand operand of a logical && or || operator shall not contain si required - yes
de effects.
5-17-1 The semantic equivalence between a binary operator and its assignment required Not enforceable no
operator form shall be preserved.
5-18-1 The comma operator shall not be used. required - yes
5-19-1 Evaluation of constant unsigned integer expressions should not lead to w advisory - no
rap-around.
6-2-1 Assignment operators shall not be used in sub-expressions. required - yes
6-2-2 Floating-point expressions shall not be directly or indirectly tested for eq required - yes
uality or inequality.
6-2-3 Before preprocessing, a null statement shall only occur on a line by itself; required - yes
it may be followed by a comment, provided that the first character follow
ing the null statement is a white - space character.
6-3-1 The statement forming the body of a switch, while, do ... while or for state required - yes
ment shall be a compound statement.
6-4-1 An if ( condition ) construct shall be followed by a compound statement. required - yes
The else keyword shall be followed by either a compound statement, or a
nother if statement.
259
Rule Description Mode Comment Enabled
6-4-2 All if ... else if constructs shall be terminated with an else clause. required - yes
6-4-3 A switch statement shall be a well-formed switch statement. required - yes
6-4-4 A switch-label shall only be used when the most closely-enclosing compo required - yes
und statement is the body of a switch statement.
6-4-5 An unconditional throw or break statement shall terminate every non - e required - yes
mpty switch-clause.
6-4-6 The final clause of a switch statement shall be the default-clause. required - yes
6-4-7 The condition of a switch statement shall not have bool type. required - yes
6-4-8 Every switch statement shall have at least one case-clause. required - yes
6-5-1 A for loop shall contain a single loop-counter which shall not have floatin required - yes
g type.
6-5-2 If loop-counter is not modified by -- or ++, then, within condition, the loop required - yes
-counter shall only be used as an operand to <=, <, > or >=.
6-5-3 The loop-counter shall not be modified within condition or statement. required - yes
6-5-4 The loop-counter shall be modified by one of: --, ++, -=n, or +=n ; where n required - yes
remains constant for the duration of the loop.
6-5-5 A loop-control-variable other than the loop-counter shall not be modified required - yes
within condition or expression.
6-5-6 A loop-control-variable other than the loop-counter which is modified in required - yes
statement shall have type bool.
6-6-1 Any label referenced by a goto statement shall be declared in the same bl required - yes
ock, or in a block enclosing the goto statement.
6-6-2 The goto statement shall jump to a label declared later in the same functi required - yes
on body.
6-6-3 The continue statement shall only be used within a well-formed for loop. required - yes
6-6-4 For any iteration statement there shall be no more than one break or goto required - yes
statement used for loop termination.
6-6-5 A function shall have a single point of exit at the end of the function. required - yes
7-1-1 A variable which is not modified shall be const qualified. required - yes
7-1-2 A pointer or reference parameter in a function shall be declared as point required - yes
er to const or reference to const if the corresponding object is not modifie
d.
7-2-1 An expression with enum underlying type shall only have values corresp required - yes
onding to the enumerators of the enumeration.
260
Rule Description Mode Comment Enabled
7-3-1 The global namespace shall only contain main, namespace declarations a required - yes
nd extern "C" declarations.
7-3-2 The identifier main shall not be used for a function other than the global required - yes
function main.
7-3-3 There shall be no unnamed namespaces in header files. required - yes
7-3-4 using-directives shall not be used. required - yes
7-3-5 Multiple declarations for an identifier in the same namespace shall not st required - yes
raddle a using-declaration for that identifier.
7-3-6 using-directives and using-declarations (excluding class scope or function required - yes
scope using-declarations) shall not be used in header files.
7-4-1 All usage of assembler shall be documented. document Not implemented no
7-4-2 Assembler instructions shall only be introduced using the asm declaratio required - yes
n.
7-4-3 Assembly language shall be encapsulated and isolated. required - yes
7-5-1 A function shall not return a reference or a pointer to an automatic varia required - yes
ble (including parameters), defined within the function.
7-5-2 The address of an object with automatic storage shall not be assigned to a required - yes
nother object that may persist after the first object has ceased to exist.
7-5-3 A function shall not return a reference or a pointer to a parameter that is required - yes
passed by reference or const reference.
7-5-4 Functions should not call themselves, either directly or indirectly. advisory - no
8-0-1 An init-declarator-list or a member-declarator-list shall consist of a single required - yes
init-declarator or member-declarator respectively.
8-3-1 Parameters in an overriding virtual function shall either use the same de required - yes
fault arguments as the function they override, or else shall not specify an
y default arguments.
8-4-1 Functions shall not be defined using the ellipsis notation. required - yes
8-4-2 The identifiers used for the parameters in a re-declaration of a function s required - yes
hall be identical to those in the declaration.
8-4-3 All exit paths from a function with non-void return type shall have an ex required - yes
plicit return statement with an expression.
8-4-4 A function identifier shall either be used to call the function or it shall be required - yes
preceded by &.
8-5-1 All variables shall have a defined value before they are used. required - yes
8-5-2 Braces shall be used to indicate and match the structure in the non-zero i required - yes
nitialization of arrays and structures.
261
Rule Description Mode Comment Enabled
8-5-3 In an enumerator list, the = construct shall not be used to explicitly initial required - yes
ize members other than the first, unless all items are explicitly initialized.
9-3-1 const member functions shall not return non-const pointers or references required - yes
to class-data.
9-3-2 Member functions shall not return non-const handles to class-data. required - yes
9-3-3 If a member function can be made static then it shall be made static, othe required - yes
rwise if it can be made const then it shall be made const.
9-5-1 Unions shall not be used. required - yes
9-6-1 When the absolute positioning of bits representing a bit-field is required, document Not implemented no
then the behaviour and packing of bit-fields shall be documented.
9-6-2 Bit-fields shall be either bool type or an explicitly unsigned or signed inte required - yes
gral type.
9-6-3 Bit-fields shall not have enum type. required - yes
9-6-4 Named bit-fields with signed integer type shall have a length of more tha required - yes
n one bit.
10-1-1 Classes should not be derived from virtual bases. advisory - no
10-1-2 A base class shall only be declared virtual if it is used in a diamond hierar required - yes
chy.
10-1-3 An accessible base class shall not be both virtual and non-virtual in the sa required - yes
me hierarchy.
10-2-1 All accessible entity names within a multiple inheritance hierarchy shoul advisory - no
d be unique.
10-3-1 There shall be no more than one definition of each virtual function on ea required - yes
ch path through the inheritance hierarchy.
10-3-2 Each overriding virtual function shall be declared with the virtual keywo required - yes
rd.
10-3-3 A virtual function shall only be overridden by a pure virtual function if it required - yes
is itself declared as pure virtual.
11-0-1 Member data in non-POD class types shall be private. required - yes
12-1-1 An object's dynamic type shall not be used from the body of its constructo required - yes
r or destructor.
12-1-2 All constructors of a class should explicitly call a constructor for all of its i advisory - no
mmediate base classes and all virtual base classes.
12-1-3 All constructors that are callable with a single argument of fundamental t required - yes
ype shall be declared explicit.
262
Rule Description Mode Comment Enabled
12-8-1 A copy constructor shall only initialize its base classes and the non-static required - yes
members of the class of which it is a member.
12-8-2 The copy assignment operator shall be declared protected or private in a required - yes
n abstract class.
14-5-1 A non-member generic function shall only be declared in a namespace th required - yes
at is not an associated namespace.
14-5-2 A copy constructor shall be declared when there is a template constructo required - yes
r with a single parameter that is a generic parameter.
14-5-3 A copy assignment operator shall be declared when there is a template as required - yes
signment operator with a parameter that is a generic parameter.
14-6-1 In a class template with a dependent base, any name that may be found i required - yes
n that dependent base shall be referred to using a qualified-id or this->.
14-6-2 The function chosen by overload resolution shall resolve to a function de required - yes
clared previously in the translation unit.
14-7-1 All class templates, function templates, class template member functions required Not implemented no
and class template static members shall be instantiated at least once.
14-7-2 For any given template specialization, an explicit instantiation of the tem required Not implemented no
plate with the template-arguments used in the specialization shall not re
nder the program ill-formed.
14-7-3 All partial and explicit specializations for a template shall be declared in t required - yes
he same file as the declaration of their primary template.
14-8-1 Overloaded function templates shall not be explicitly specialized. required - yes
14-8-2 The viable function set for a function call should either contain no functi advisory - no
on specializations, or only contain function specializations.
15-0-1 Exceptions shall only be used for error handling. document Not implemented no
15-0-2 An exception object should not have pointer type. advisory - no
15-0-3 Control shall not be transferred into a try or catch block using a goto or a required - yes
switch statement.
15-1-1 The assignment-expression of a throw statement shall not itself cause an required - yes
exception to be thrown.
15-1-2 NULL shall not be thrown explicitly. required - yes
15-1-3 An empty throw (throw;) shall only be used in the compound- statement required - yes
of a catch handler.
15-3-1 Exceptions shall be raised only after start-up and before termination of t required - yes
he program.
263
Rule Description Mode Comment Enabled
15-3-2 There should be at least one exception handler to catch all otherwise unh advisory - no
andled exceptions
15-3-3 Handlers of a function-try-block implementation of a class constructor or required - yes
destructor shall not reference non-static members from this class or its b
ases.
15-3-4 Each exception explicitly thrown in the code shall have a handler of a co required - yes
mpatible type in all call paths that could lead to that point.
15-3-5 A class type exception shall always be caught by reference. required - yes
15-3-6 Where multiple handlers are provided in a single try-catch statement or f required - yes
unction-try-block for a derived class and some or all of its bases, the hand
lers shall be ordered most-derived to base class.
15-3-7 Where multiple handlers are provided in a single try-catch statement or f required - yes
unction-try-block, any ellipsis (catch-all) handler shall occur last.
15-4-1 If a function is declared with an exception-specification, then all declarati required - yes
ons of the same function (in other translation units) shall be declared wit
h the same set of type-ids.
15-5-1 A class destructor shall not exit with an exception. required - yes
15-5-2 Where a function's declaration includes an exception-specification, the fu required - yes
nction shall only be capable of throwing exceptions of the indicated type(
s).
15-5-3 The terminate() function shall not be called implicitly. required - yes
16-0-1 #include directives in a file shall only be preceded by other preprocessor required - yes
directives or comments.
16-0-2 Macros shall only be #define 'd or #undef 'd in the global namespace. required - yes
16-0-3 #undef shall not be used. required - yes
16-0-4 Function-like macros shall not be defined. required - yes
16-0-5 Arguments to a function-like macro shall not contain tokens that look like required - yes
preprocessing directives.
16-0-6 In the definition of a function-like macro, each instance of a parameter sh required - yes
all be enclosed in parentheses, unless it is used as the operand of # or ##.
16-0-7 Undefined macro identifiers shall not be used in #if or #elif preprocessor required - yes
directives, except as operands to the defined operator.
16-0-8 If the # token appears as the first token on a line, then it shall be immedia required - yes
tely followed by a preprocessing token.
16-1-1 The defined preprocessor operator shall only be used in one of the two st required - yes
andard forms.
264
Rule Description Mode Comment Enabled
16-1-2 All #else, #elif and #endif preprocessor directives shall reside in the same required - yes
file as the #if or #ifdef directive to which they are related.
16-2-1 The pre-processor shall only be used for file inclusion and include guards required - yes
.
16-2-2 C++ macros shall only be used for: include guards, type qualifiers, or stor required - yes
age class specifiers.
16-2-3 Include guards shall be provided. required - yes
16-2-4 The ', ", /* or // characters shall not occur in a header file name. required - yes
16-2-5 The \ character should not occur in a header file name. advisory - no
16-2-6 The #include directive shall be followed by either a <filename> or "filena required - yes
me" sequence.
16-3-1 There shall be at most one occurrence of the # or ## operators in a single required - yes
macro definition.
16-3-2 The # and ## operators should not be used. advisory - no
16-6-1 All uses of the #pragma directive shall be documented. document - no
17-0-1 Reserved identifiers, macros and functions in the standard library shall n required - yes
ot be defined, redefined or undefined.
17-0-2 The names of standard library macros and objects shall not be reused. required - yes
17-0-3 The names of standard library functions shall not be overridden. required - yes
17-0-4 All library code shall conform to MISRA C++. document Not implemented no
17-0-5 The setjmp macro and the longjmp function shall not be used. required - yes
18-0-1 The C library shall not be used. required - yes
18-0-2 The library functions atof, atoi and atol from library <cstdlib> shall not b required - yes
e used.
18-0-3 The library functions abort, exit, getenv and system from library <cstdlib required - yes
> shall not be used.
18-0-4 The time handling functions of library <ctime> shall not be used. required - yes
18-0-5 The unbounded functions of library <cstring> shall not be used. required - yes
18-2-1 The macro offsetof shall not be used. required - yes
18-4-1 Dynamic heap memory allocation shall not be used. required - yes
18-7-1 The signal handling facilities of <csignal> shall not be used. required - yes
19-3-1 The error indicator errno shall not be used. required - yes
27-0-1 The stream input/output library <cstdio> shall not be used. required - yes
265
Table 3.2. MISRA C:2012 Configuration
Guidel Description Mode Comment Enabled
ine
D1.1 Any implementation-defined behaviour on which the output of the progr required - yes
am depends shall be documented and understood.
D2.1 All source files shall compile without any compilation errors. required - yes
D3.1 All code shall be traceable to documented requirements. required Not enforceable no
D4.1 Run-time failures shall be minimized. required - yes
D4.2 All usage of assembly language should be documented. advisory Not enforceable no
D4.3 Assembly language shall be encapsulated and isolated. required - yes
D4.4 Sections of code should not be "commented out". advisory - no
D4.5 Identifiers in the same name space with overlapping visibility should be t advisory - no
ypographically unambiguous.
D4.6 typedefs that indicate size and signedness should be used in place of the advisory - no
basic numerical types.
D4.7 If a function returns error information, then that error information shall required - yes
be tested.
D4.8 If a pointer to a structure or union is never dereferenced within a transla advisory - no
tion unit, then the implementation of the object should be hidden.
D4.9 A function should be used in preference to a function-like macro where t advisory - no
hey are interchangeable.
D4.10 Precautions shall be taken in order to prevent the contents of a header fil required - yes
e being included more than once.
D4.11 The validity of values passed to library functions shall be checked. required - yes
D4.12 Dynamic memory allocation shall not be used. required - yes
D4.13 Functions which are designed to provide operations on a resource should advisory - no
be called in an appropriate sequence.
D4.14 The validity of values received from external sources shall be checked. required - yes
D4.15 Evaluation of floating-point expressions shall not lead to the undetected g required - yes
eneration of infinities and NaNs.
D5.1 There shall be no data races between threads. required - yes
D5.2 There shall be no deadlocks between threads. required - yes
D5.3 There shall be no dynamic thread creation. required Not implemented no
266
Guidel Description Mode Comment Enabled
ine
1.1 The program shall contain no violations of the standard C syntax and con required - yes
straints, and shall not exceed the implementation's translation limits.
1.2 Language extensions should not be used. advisory - no
1.3 There shall be no occurrence of undefined or critical unspecified behavio required - yes
ur.
1.4 Emergent language features shall not be used. required - yes
1.5 Obsolescent language features shall not be used. required - yes
2.1 A project shall not contain unreachable code. required - yes
2.2 A project shall not contain dead code. required - yes
2.3 A project should not contain unused type declarations. advisory - no
2.4 A project should not contain unused tag declarations. advisory - no
2.5 A project should not contain unused macro definitions. advisory - no
2.6 A function should not contain unused label declarations. advisory - no
2.7 A function should not contain unused parameters. advisory - no
2.8 A project should not contain unused object definitions. advisory Not implemented no
3.1 The character sequences /* and // shall not be used within a comment. required - yes
3.2 Line-splicing shall not be used in // comments. required - yes
4.1 Octal and hexadecimal escape sequences shall be terminated. required - yes
4.2 Trigraphs should not be used. advisory - no
5.1 External identifiers shall be distinct. required - yes
5.2 Identifiers declared in the same scope and name space shall be distinct. required - yes
5.3 An identifier declared in an inner scope shall not hide an identifier decla required - yes
red in an outer scope.
5.4 Macro identifiers shall be distinct. required - yes
5.5 Identifiers shall be distinct from macro names. required - yes
5.6 A typedef name shall be a unique identifier. required - yes
5.7 A tag name shall be a unique identifier. required - yes
5.8 Identifiers that define objects or functions with external linkage shall be required - yes
unique.
5.9 Identifiers that define objects or functions with internal linkage should b advisory - no
e unique.
6.1 Bit-fields shall only be declared with an appropriate type. required - yes
267
Guidel Description Mode Comment Enabled
ine
6.2 Single-bit named bit-fields shall not be of a signed type. required - yes
6.3 A bit field shall not be declared as a member of a union. required - yes
7.1 Octal constants shall not be used. required - yes
7.2 A "u" or "U" suffix shall be applied to all integer constants that are repres required - yes
ented in an unsigned type.
7.3 The lowercase character "l" shall not be used in a literal suffix. required - yes
7.4 A string literal shall not be assigned to an object unless the object's type is required - yes
"pointer to const-qualified char".
7.5 The argument of an integer constant macro shall have an appropriate for mandatory - yes
m.
7.6 The small integer variants of the minimum-width integer constant macro required Not implemented no
s shall not be used.
8.1 Types shall be explicitly specified. required - yes
8.2 Function types shall be in prototype form with named parameters. required - yes
8.3 All declarations of an object or function shall use the same names and typ required - yes
e qualifiers.
8.4 A compatible declaration shall be visible when an object or function with required - yes
external linkage is defined.
8.5 An external object or function shall be declared once in one and only one required - yes
file.
8.6 An identifier with external linkage shall have exactly one external definit required - yes
ion.
8.7 Functions and objects should not be defined with external linkage if they advisory - no
are referenced in only one translation unit.
8.8 The static storage class specifier shall be used in all declarations of object required - yes
s and functions that have internal linkage.
8.9 An object should be declared at block scope if its identifier only appears i advisory - no
n a single function.
8.10 An inline function shall be declared with the static storage class. required - yes
8.11 When an array with external linkage is declared, its size should be explici advisory - no
tly specified.
8.12 Within an enumerator list, the value of an implicitly-specified enumerati required - yes
on constant shall be unique.
8.13 A pointer should point to a const-qualified type whenever possible. advisory - no
268
Guidel Description Mode Comment Enabled
ine
8.14 The restrict type qualifier shall not be used. required - yes
8.15 All declarations of an object with an explicit alignment specification shall required - yes
specify the same alignment
8.16 The alignment specification of zero should not appear in an object declar advisory - no
ation
8.17 At most one explicit alignment specifier should appear in an object declar advisory - no
ation.
9.1 The value of an object with automatic storage duration shall not be read mandatory - yes
before it has been set.
9.2 The initializer for an aggregate or union shall be enclosed in braces. required - yes
9.3 Arrays shall not be partially initialized. required - yes
9.4 An element of an object shall not be initialized more than once. required - yes
9.5 Where designated initializers are used to initialize an array object the siz required - yes
e of the array shall be specified explicitly.
9.6 An initializer using chained designators shall not contain initializers with required Not implemented no
out designators.
9.7 Atomic objects shall be appropriately initialized before being accessed. mandatory Not implemented no
10.1 Operands shall not be of an inappropriate essential type. required - yes
10.2 Expressions of essentially character type shall not be used inappropriatel required - yes
y in addition and subtraction operations.
10.3 The value of an expression shall not be assigned to an object with a narro required - yes
wer essential type or of a different essential type category.
10.4 Both operands of an operator in which the usual arithmetic conversions required - yes
are performed shall have the same essential type category.
10.5 The value of an expression should not be cast to an inappropriate essenti advisory - no
al type.
10.6 The value of a composite expression shall not be assigned to an object wit required - yes
h wider essential type.
10.7 If a composite expression is used as one operand of an operator in which required - yes
the usual arithmetic conversions are performed then the other operand s
hall not have wider essential type.
10.8 The value of a composite expression shall not be cast to a different essent required - yes
ial type category or a wider essential type.
11.1 Conversions shall not be performed between a pointer to a function and required - yes
any other type.
269
Guidel Description Mode Comment Enabled
ine
11.2 Conversions shall not be performed between a pointer to an incomplete t required - yes
ype and any other type.
11.3 A conversion shall not be performed between a pointer to object type and required - yes
a pointer to a different object type.
11.4 A conversion should not be performed between a pointer to object and a advisory - no
n integer type.
11.5 A conversion should not be performed from pointer to void into pointer t advisory - no
o object.
11.6 A cast shall not be performed between pointer to void and an arithmetic t required - yes
ype.
11.7 A cast shall not be performed between pointer to object and a non-intege required - yes
r arithmetic type.
11.8 A conversion shall not remove any const, volatile or _Atomic qualificatio required - yes
n from the type pointed to by a pointer.
11.9 The macro NULL shall be the only permitted form of integer null pointer required - yes
constant.
11.10 The _Atomic qualifier shall not be applied to the incomplete type void. required Not implemented no
12.1 The precedence of operators within expressions should be made explicit. advisory - no
12.2 The right hand operand of a shift operator shall lie in the range zero to o required - yes
ne less than the width in bits of the essential type of the left hand operan
d.
12.3 The comma operator should not be used advisory - no
12.4 Evaluation of constant expressions should not lead to unsigned integer w advisory - no
rap-around.
12.5 The sizeof operator shall not have an operand which is a function param mandatory - yes
eter declared as "array of type".
12.6 Structure and union members of atomic objects shall not be directly acce required Not implemented no
ssed.
13.1 Initializer lists shall not contain persistent side effects. required - yes
13.2 The value of an expression and its persistent side effects shall be the sam required - yes
e under all permitted evaluation orders and shall be independent from th
read interleaving.
13.3 A full expression containing an increment (++) or decrement (--) operator advisory - no
should have no other potential side effects other than that caused by the i
ncrement or decrement operator.
13.4 The result of an assignment operator should not be used. advisory - no
270
Guidel Description Mode Comment Enabled
ine
13.5 The right hand operand of a logical && or || operator shall not contain p required - yes
ersistent side effects.
13.6 The operand of the sizeof operator shall not contain any expression whic required - yes
h has potential side effects.
14.1 A loop counter shall not have essentially floating type. required - yes
14.2 A for loop shall be well-formed. required - yes
14.3 Controlling expressions shall not be invariant. required - yes
14.4 The controlling expression of an if statement and the controlling expressi required - yes
on of an iteration-statement shall have essentially Boolean type.
15.1 The goto statement should not be used. advisory - no
15.2 The goto statement shall jump to a label declared later in the same functi required - yes
on.
15.3 Any label referenced by a goto statement shall be declared in the same bl required - yes
ock, or in any block enclosing the goto statement.
15.4 There should be no more than one break or goto statement used to termi advisory - no
nate any iteration statement.
15.5 A function should have a single point of exit at the end. advisory - no
15.6 The body of an iteration-statement or a selection-statement shall be a co required - yes
mpound-statement.
15.7 All if ... else if constructs shall be terminated with an else statement. required - yes
16.1 All switch statements shall be well-formed. required - yes
16.2 A switch label shall only be used when the most closely-enclosing compo required - yes
und statement is the body of a switch statement.
16.3 An unconditional break statement shall terminate every switch-clause. required - yes
16.4 Every switch statement shall have a default label. required - yes
16.5 A default label shall appear as either the first or the last switch label of a required - yes
switch statement.
16.6 Every switch statement shall have at least two switch-clauses. required - yes
16.7 A switch-expression shall not have essentially Boolean type. required - yes
17.1 The standard header file <stdarg.h> shall not be used. required - yes
17.2 Functions shall not call themselves, either directly or indirectly. required - yes
17.3 A function shall not be declared implicitly. mandatory - yes
271
Guidel Description Mode Comment Enabled
ine
17.4 All exit paths from a function with non-void return type shall have an ex mandatory - yes
plicit return statement with an expression.
17.5 The function argument corresponding to a parameter declared to have a required - yes
n array type shall have an appropriate number of elements.
17.6 The declaration of an array parameter shall not contain the static keywor mandatory - yes
d between the [ ].
17.7 The value returned by a function having non-void return type shall be us required - yes
ed.
17.8 A function parameter should not be modified. advisory - no
17.9 A function declared with a _Noreturn function specifier shall not return t mandatory - yes
o its caller.
17.10 A function declared with a _Noreturn function specifier shall have void r required - yes
eturn type.
17.11 A function that never returns should be declared with a _Noreturn functi advisory - no
on specifier.
17.12 A function identifier should only be used with either a preceding &, or wi advisory - no
th a parenthesized parameter list.
17.13 A function type shall not be type qualified. required - yes
18.1 A pointer resulting from arithmetic on a pointer operand shall address a required - yes
n element of the same array as that pointer operand.
18.2 Subtraction between pointers shall only be applied to pointers that addre required - yes
ss elements of the same array.
18.3 The relational operators >, >=, < and <= shall not be applied to expression required - yes
s of pointer type except where they point into the same object.
18.4 The +, -, += and -= operators should not be applied to an expression of poi advisory - no
nter type.
18.5 Declarations should contain no more than two levels of pointer nesting. advisory - no
18.6 The address of an object with automatic or thread-local storage shall not required - yes
be copied to another object that persists after the first object has ceased t
o exist.
18.7 Flexible array members shall not be declared. required - yes
18.8 Variable-length arrays shall not be used. required - yes
18.9 An object with temporary lifetime shall not undergo array-to-pointer con required - yes
version.
18.10 Pointers to variably-modified array types shall not be used. mandatory Not implemented no
272
Guidel Description Mode Comment Enabled
ine
19.1 An object shall not be assigned or copied to an overlapping object. mandatory - yes
19.2 The union keyword should not be used. advisory - no
20.1 #include directives should only be preceded by preprocessor directives o advisory - no
r comments.
20.2 The ', " or \ characters and the /* or // character sequences shall not occur required - yes
in a header file name.
20.3 The #include directive shall be followed by either a <filename> or "filena required - yes
me" sequence.
20.4 A macro shall not be defined with the same name as a keyword. required - yes
20.5 #undef should not be used. advisory - no
20.6 Tokens that look like a preprocessing directive shall not occur within a m required - yes
acro argument.
20.7 Expressions resulting from the expansion of macro parameters shall be e required - yes
nclosed in parentheses.
20.8 The controlling expression of a #if or #elif preprocessing directive shall e required - yes
valuate to 0 or 1.
20.9 All identifiers used in the controlling expression of #if or #elif preprocess required - yes
ing directives shall be #define'd before evaluation.
20.10 The # and ## preprocessor operators should not be used. advisory - no
20.11 A macro parameter immediately following a # operator shall not immedi required - yes
ately be followed by a ## operator.
20.12 A macro parameter used as an operand to the # or ## operators, which is required - yes
itself subject to further macro replacement, shall only be used as an oper
and to these operators.
20.13 A line whose first token is # shall be a valid preprocessing directive. required - yes
20.14 All #else, #elif and #endif preprocessor directives shall reside in the same required - yes
file as the #if, #ifdef or #ifndef directive to which they are related.
21.1 #define and #undef shall not be used on a reserved identifier or reserved required - yes
macro name.
21.2 A reserved identifier or reserved macro name shall not be declared. required - yes
21.3 The memory allocation and deallocation functions of <stdlib.h> shall not required - yes
be used.
21.4 The standard header file <setjmp.h> shall not be used. required - yes
21.5 The standard header file <signal.h> shall not be used. required - yes
273
Guidel Description Mode Comment Enabled
ine
21.6 The Standard Library input/output functions shall not be used. required - yes
21.7 The Standard Library functions atof, atoi, atol and atoll of <stdlib.h> shall required - yes
not be used.
21.8 The Standard Library termination functions of <stdlib.h> shall not be use required - yes
d.
21.9 The Standard Library functions bsearch and qsort of <stdlib.h> shall not required - yes
be used.
21.10 The Standard Library time and date functions shall not be used. required - yes
21.11 The standard header file <tgmath.h> should not be used. advisory - no
21.12 The standard header file <fenv.h> shall not be used. required - yes
21.13 Any value passed to a function in <ctype.h> shall be representable as an u mandatory - yes
nsigned char or be the value EOF.
21.14 The Standard Library function memcmp shall not be used to compare nul required - yes
l terminated strings.
21.15 The pointer arguments to the Standard Library functions memcpy, mem required - yes
move and memcmp shall be pointers to qualified or unqualified versions
of compatible types.
21.16 The pointer arguments to the Standard Library function memcmp shall p required - yes
oint to either a pointer type, an essentially signed type, an essentially uns
igned type, an essentially Boolean type or an essentially enum type.
21.17 Use of the string handling functions from <string.h> shall not result in acc mandatory - yes
esses beyond the bounds of the objects referenced by their pointer param
eters.
21.18 The size_t argument passed to any function in <string.h> shall have an ap mandatory - yes
propriate value.
21.19 The pointers returned by the Standard Library functions localeconv, gete mandatory - yes
nv, setlocale or, strerror shall only be used as if they have pointer to cons
t-qualified type.
21.20 The pointer returned by the Standard Library functions asctime, ctime, g mandatory - yes
mtime, localtime, localeconv, getenv, setlocale or strerror shall not be use
d following a subsequent call to the same function.
21.21 The Standard Library function system of <stdlib.h> shall not be used. required - yes
21.22 All operand arguments to any type-generic macros declared in <tgmath.h mandatory - yes
> shall have an appropriate essential type.
21.23 All operand arguments to any multi-argument type-generic macros decla required - yes
red in <tgmath.h> shall have the same standard type.
274
Guidel Description Mode Comment Enabled
ine
21.24 The random number generator functions of <stdlib.h> shall not be used. required - yes
21.25 All memory synchronization operations shall be executed in sequentially required Not implemented no
consistent order.
21.26 The Standard Library function mtx_timedlock() shall only be invoked on required Not implemented no
mutex objects of appropriate mutex type.
22.1 All resources obtained dynamically by means of Standard Library functio required - yes
ns shall be explicitly released.
22.2 A block of memory shall only be freed if it was allocated by means of a St mandatory - yes
andard Library function.
22.3 The same file shall not be open for read and write access at the same tim required - yes
e on different streams.
22.4 There shall be no attempt to write to a stream which has been opened as mandatory - yes
read-only.
22.5 A pointer to a FILE object shall not be dereferenced. mandatory - yes
22.6 The value of a pointer to a FILE shall not be used after the associated stre mandatory - yes
am has been closed.
22.7 The macro EOF shall only be compared with the unmodified return value required - yes
from any Standard Library function capable of returning EOF.
22.8 The value of errno shall be set to zero prior to a call to an errno-setting-fu required - yes
nction.
22.9 The value of errno shall be tested against zero after calling an errno-setti required - yes
ng-function.
22.10 The value of errno shall only be tested when the last function to be called required - yes
was an errno-setting-function.
22.11 A thread that was previously either joined or detached shall not be subse required - yes
quently joined nor detached.
22.12 Thread objects, thread synchronization objects, and thread-specific stora mandatory Not implemented no
ge pointers shall only be accessed by the appropriate Standard Library fu
nctions.
22.13 Thread objects, thread synchronization objects and thread-specific storag required Not implemented no
e pointers shall have appropriate storage duration.
22.14 Thread synchronization objects shall be initialized before being accessed. mandatory Not implemented no
22.15 Thread synchronization objects and thread-specific storage pointers shall required - yes
not be destroyed until after all threads accessing them have terminated.
22.16 All mutex objects locked by a thread shall be explicitly unlocked by the sa required - yes
me thread.
275
Guidel Description Mode Comment Enabled
ine
22.17 No thread shall unlock a mutex or call cnd_wait() or cnd_timedwait() for required - yes
a mutex it has not locked before.
22.18 Non-recursive mutexes shall not be recursively locked. required Not implemented no
22.19 A condition variable shall be associated with at most one mutex object. required Not implemented no
22.20 Thread-specific storage pointers shall be created before being accessed. mandatory Not implemented no
23.1 A generic selection should only be expanded from a macro. advisory - no
23.2 A generic selection that is not expanded from a macro shall not contain p required - yes
otential side effects in the controlling expression.
23.3 A generic selection should contain at least one non-default association. advisory - no
23.4 A generic association shall list an appropriate type. required - yes
23.5 A generic selection should not depend on implicit pointer type conversio advisory - no
n.
23.6 The controlling expression of a generic selection shall have an essential t required - yes
ype that matches its standard type.
23.7 A generic selection that is expanded from a macro should evaluate its arg advisory - no
ument only once.
23.8 A default association shall appear as either the first or the last association required - yes
of a generic selection.
276
Chapter 4. Appendix 2 - Definitions
277