Versions Compared

Key

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

...

Tool

Version

Checker

Description

Astrée
Include Page
Astrée_V
Astrée_V

switch-skipped-code

Fully checked
Axivion Bauhaus Suite
Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V
CertC-DCL41Fully implemented
Clang
Include Page
Clang_V
Clang_V
-Wsometimes-uninitialized

Coverity
Include Page
Coverity_V
Coverity_V

MISRA C 2004 Rule 15.0

MISRA C 2012 Rule 16.1

Implemented
LDRA tool suite 
Include Page
LDRA_V
LDRA_V
385 SFully implemented
Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V
CERT_C-DCL41-a

A switch statement shall only contain switch labels and switch clauses, and no other code

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C: Rule DCL41-C

Checks for ill-formed switch statements (rule fully partially covered)

PRQA QA-C
Include Page
PRQA QA-C_v
PRQA QA-C_v

3234
2008
2882

Partially implemented

PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V622
RuleChecker

Include Page
RuleChecker_V
RuleChecker_V

switch-skipped-code

Fully checked
TrustInSoft Analyzer

Include Page
TrustInSoft Analyzer_V
TrustInSoft Analyzer_V

initialisationExhaustively detects undefined behavior (see the compliant and the non-compliant example).

...