Klocwork Quality Standard community C and C++ checker reference
List of community C and C++ checkers that focus on improving overall code quality.
Issue code | Description | Severity | Enabled | Issued | Improved |
---|---|---|---|---|---|
CXX.BSTR.LITERAL | Do not pass string literal or casted CString to COM function expecting BSTR parameter | 2 | false | 2020.2 | |
CXX.CWARN.DTOR.NONVIRT | Destructors should be declared as virtual | 3 | false | 2020.2 | |
CXX.CWARN.HARDCODED_LOOP_BOUND | Hard-coded loop used for array index | 4 | false | 2020.2 | |
CXX.CWARN.ITER.EXTERN | Externally declared loop iterator variables are forbidden | 4 | false | 2020.1 | |
CXX.CWINAPP.INIT | Incorrect or missing InitInstance override for class derived from CWinApp | 2 | false | 2020.2 | |
CXX.FUNC.CSTRING.FORMAT | CString cannot call CString.Format() on itself | 4 | false | 2020.2 | |
CXX.FUNC.MEMSET.BUILTIN | Calls to memset must not pass a reference to a structure containing non-builtin types | 2 | false | 2020.2 | |
CXX.FUNC.T2OLE.LOOP | Do not call T2OLE or OLE2CT within a loop | 2 | false | 2020.1 | |
CXX.FUNC.T2OLE.RETURN | Do not call T2OLE or OLE2CT within a return statement | 2 | false | 2020.1 |