MISRA refers to the widely-adopted coding standards for C and C++ developed by the Motor Industry Software Reliability Association (MISRA).
The MISRA standards (MISRA C:2012 and MISRA C++:2008) are widely used in safety-critical industries beyond automotive, such as medical, military, and aerospace, providing a set of best practices for writing C and C++ code, facilitating the authorship of safe, secure, and portable code. (MISRA has Working Groups for both C and C++, and Parasoft is a member of both MISRA Working Groups.)
For C development, the MISRA C standard supports the C90 and C99 language specifications. The current version, MISRA C:2012, has evolved over several years and includes 143 rules and 16 directives for a total of 159 guidelines. Amendment 1 to MISRA C:2012, published in 2016, expanded the standard by 14 rules.
For C++ development, the current MISRA standard is MISRA C++:2008 standard. However, many organizations are choosing to standardize on the AUTOSAR C++14 standard, which covers the most recent changes to the C++ language. Recently, MISRA and AUTOSAR organizations announced their collaboration on the next generation of these standards. For more information about Parasoft's offering for AUTOSAR, click here.
Enforcing MISRA Compliance with Static Analysis
Parasoft provides a comprehensive solution for applying MISRA C:2004 and MISRA C:2012, including Amendment 1, to help organizations overcome the challenges associated with ensuring automotive software quality. Parasoft C/C++test is certified by TÜV SÜD to automate the application and monitoring of static analysis coding standards like MISRA. It also provides a unit testing platform that integrates test creation, execution, and coverage reporting. Test and analysis data from Parasoft C/C++test is aggregated and correlates in Parasoft's centralized reporting and analytics hub, providing additional analysis and reports for each step along the complex software supply chain.