MISRA coding standards
Developed to provide guidance to facilitate safe and reliable coding practices for the automotive industry, the Motor Industry Software Reliability Association (MISRA) coding standards have been adopted by many other industries developing safety-critical embedded software, including telecom, aerospace, defense, and medical. Klocwork has automated detection and reporting for MISRA-C:2004, MISRA-C++:2008, and MISRA-C:2012.
MISRA coding standard violations can be reported automatically at the developer desktop, integration build, and through peer code review. Implement defect detection and enforce coding standards with Klocwork.
Coding best practices and support for other coding standards
Klocwork supports formal, published standards such as MISRA, as well as general coding practices recommended by regulatory bodies, industry consortiums, and individual companies that are serious about software quality discipline. These standards differ in some of their specifics, but most recommend the following general guidelines, all supported by Klocwork.
Create your own coding standards
Easily extend Klocwork's extensive built-in library by adding your own checkers to meet your organization's unique requirements.
In C/C++ and Java, Klocwork has a high-level declarative language that lets developers to add their own checkers using one of two types of language frameworks:
Checker development for most custom checkers can be done right within the Klocwork Checker Studio graphical environment, querying their code's AST.