Texas Instruments Technology for Innovators(tm)

Introduction

This report summarizes results from two software quality assessment tools used to analyze the software in this product:

Unless noted below, all source code, both .c and .h files, for embedded target libraries was analyzed using these tools.


Klocwork Static C Analysis Summary

This report summarizes the Static Program Analysis results. The listing provides:

Click here to view the Klocwork Static C Analysis Report.


Klocwork MISRA-C:2004 Analysis Summary

This report summarizes the MISRA-C:2004 Program Analysis results. The listing provides:

Click here to view the MISRA-C:2004 Findings Report.

There are several rules in MISRA-C:2004 that are contrary to long-standing coding standards used in this product, and, hence will not be addressed in the product source code. These rules are listed in the table below. The corresponding checks were explicitly disabled in the tool when the source code was analyzed.

MISRA C Id Brief Summary Exemption Rationale Exemption Type
5.1/Required Identifier is longer than 31 characters. Coding convention Blanket
5.6/Advisory Type and variable/function with the same name. Coding convention Blanket
5.7/Advisory Identifier clashes with other identifier. Coding convention Blanket
6.3/Advisory Built-in numeric type is used. Coding convention Blanket
11.3/Advisory Cast converts pointer to integral type. Coding convention Case-by-case
11.4/Advisory Cast between a pointer to object type and a different pointer to object type. Coding convention Case-by-case
12.6/Advisory Operand of logical operator is not effectively boolean. Coding convention Case-by-case
13.2/Advisory Non-boolean expression is implicitly tested against zero. Tool reports false positives Blanket
14.7/Required (Advisory in MISRA-C:2012) Return is not the last statement in a function. Coding convention Case-by-case
16.7/Advisory Pointer parameter is not used to modify the addressed object but is not declared as pointer to const. Coding convention, required to match externally specified function interfaces Case-by-case
19.7/Advisory Function-like macro definition. Coding convention Case-by-case

Justification for Not Addressing MISRA-C:2004 Violations