Versions Compared

Key

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

...

PRQA QA-C++PRQA QA-C++PRQA QA-C++2518

Tool

Version

Checker

Description

Astrée

Include Page
Astrée_V
Astrée_V

unnamed-namespace-header
Fully checked
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC++-DCL59
Clang
Include Page
Clang_V
Clang_V
cert-dcl59-cpp
Checked by clang-tidy
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

LANG.STRUCT.DECL.ANH

Anonymous Namespace in Header File

Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C++2518
Klocwork
Include Page
Klocwork_V
Klocwork_V

MISRA.NAMESPACE.UNMD


LDRA tool suite
Include Page
LDRA_V
LDRA_V

286 S, 512 S

Fully implemented

Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V
CERT_CPP-DCL59-a

There shall be no unnamed namespaces in header files

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C++: DCL59-CPPChecks for unnamed namespaces in header files (rule fully covered)
RuleChecker
Include Page
RuleChecker_V
RuleChecker_V
unnamed-namespace-header
Fully checked
SonarQube C/C++ Plugin
Include Page
SonarQube C/C++ Plugin_V
SonarQube C/C++ Plugin_V
UnnamedNamespaceInHeader
PVS-Studio

Include Page

PVS-Studio_V

PVS-Studio_V

V1068

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

...