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
global-object-scopeFully checked
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC-DCL15
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V
LANG.STRUCT.SCOPE.FILEScope could be file static

ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

CC2.DCL15

Fully implemented

LDRA tool suite
Include Page
LDRA_V
LDRA_V

27 D
61 D
553 S

Fully implemented

Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V

CERT_C-DCL15-a

Objects or functions with external linkage shall be declared in a header file

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

MISRA C:2012 Rule 8.7

MISRA C:2012 Rule 8.8

Functions and objects should not be defined with external linkage if they are referenced in only one translation unit

The static storage class specifier shall be used in all declarations of objects and functions that have internal linkage

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

1504
, 1531

Fully implemented
PRQA QA-C++
Include Page
cplusplus:PRQA QA-C++_V
cplusplus:PRQA QA-C++_V

1504, 1505, 1531, 1532,

1533, 2300, 2313, 2314


RuleChecker
Include Page
RuleChecker_V
RuleChecker_V
global-object-scopeFully checked
Splint
Include Page
Splint_V
Splint_V



...