top

Klocwork Custom Checkers

PDF Imprimer Envoyer

Emenda's Custom Klocwork Checkers are designed to be used with the Klocwork static analysis suite, to provide identification of additional code defects.

 

Magic Number Checker

In many safety standards, the direct use of non-zero numeric literals is forbidden. This can include variable assignments, array indexers and operands in conditional statements. In the case of C/C++ it is considered good practice to use either preprocessor defines or use constant variables. This is to ensure that any changes made to a commonly used value are automatically updated instead of having to be manually changed, where there is a high risk that an occurance could be overlooked. The Magic Number Checker flags any direct use of a non-zero (or non-boolean) numeric literal.

 

Klocwork Magic Number Custom Checker

Klocwork Custom Checker Information

Further information about writing and deploying Klocwork Custom Checkers can be found at the Klocwork Developer Network.

 

Download

To download the plugin please fill out all fields in the form below. You will then be emailed a link in order to download the file. If you are unable to download the resource, please contact the webmaster.

 

 
 
 

 
  
 
 

 

emenda [emend'a]
tr.v [latin]
1. to improve, raise standards
2. to make free from errors
3. to raise level of quality


  •  Klocwork 9.5

    The latest release of Klocwork Insight changes the entire usage model for source code analysis and removes the remaining barriers to developer adoption of this technology Find out more about new features and instaltion details.

  • .Lattix 7

    Lattix releases Lattix 7.0 with new Solution Profiles, JavaScript and Excel modules, tools, scripting, and Mac OS X support. More information is available on the Lattix website

  •  Stockert Case Study

    Stockert GmbH deploys Klocwork Insight Static Analysis to help with FDA compliance in embedded medical devices. Please click here for the full story.

  • .Emenda China

    Emenda extends its technical team in China, adding additional local support resources to guarantee assistance to Chinese users of all of our products, including Klocwork, BlackDuck, Cantata++, Understand and Lattix.