Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Include Page
cplusplus:SonarQube C/C++ Plugin_V
cplusplus:SonarQube C/C++ Plugin_V

Checker

Guideline

978 DCL51-CPP. Do not declare or define a reserved identifier
FunctionEllipsis DCL50-CPP. Do not define a C-style variadic function
IncAndDecMixedWithOtherOperators EXP50-CPP. Do not depend on the order of evaluation for side effects
S859 EXP55-CPP. Do not access a cv-qualified object through a cv-unqualified type
S935 MSC52-CPP. Value-returning functions must return a value from all exit paths
S935 MSC53-CPP. Do not return from a function declared [[noreturn]] S978 DCL51-CPP. Do not declare or define a reserved identifier
S982 ERR52-CPP. Do not use setjmp() or longjmp()
S990 ERR50-CPP. Do not abruptly terminate the program
S1044 ERR61-CPP. Catch exceptions by lvalue reference
S1045 ERR54-CPP. Catch handlers should order their parameter types from most derived to least derived
S1232 MEM51-CPP. Properly deallocate dynamically allocated resources
S1235 OOP52-CPP. Do not delete a polymorphic object without a virtual destructor
S1265 DCL54-CPP. Overload allocation and deallocation functions as a pair in the same scope
S1699 OOP50-CPP. Do not invoke virtual functions from constructors or destructors
S3229 OOP53-CPP. Write constructor member initializers in the canonical order
S3468 DCL53-CPP. Do not write syntactically ambiguous declarations
S3470 DCL58-CPP. Do not modify the standard namespaces
S3519 STR50-CPP. Guarantee that storage for strings has sufficient space for character data and the null terminator
S3708 DCL52-CPP. Never qualify a reference type with const or volatile
UnnamedNamespaceInHeader DCL59-CPP. Do not define an unnamed namespace in a header file