Versions Compared

Key

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

...

This noncompliant code example calls puts() and fails to check whether a write error occurs.:

Code Block
bgColor#ffcccc
langc
puts("foo");

...

Tool

Version

Checker

Description

Compass/ROSE

 

 

 

Coverity

Include Page
Coverity_V
Coverity_V

CHECKED_RETURN

Finds inconsistencies in how function call return values are handled. Coverity Prevent cannot discover all violations of this recommendation, so further verification is necessary.

ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

ignrtrn

Fully implemented.

Klocwork

Include Page
Klocwork_V
Klocwork_V

SV.RVT.RETVAL_NOTTESTED

 

LDRA tool suite

Include Page
LDRA_V
LDRA_V

382 S

Fully implemented.

PRQA QA-C
Include Page
PRQA_V
PRQA_V
3200Fully implemented.

Splint

Include Page
Splint_V
Splint_V

 

 

...