MISRA Discussion Forums
MISRA-2012 = state of the art? - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C (https://forum.misra.org.uk/forum-4.html)
+--- Forum: MISRA C:2004 to MISRA C:2012 migration (https://forum.misra.org.uk/forum-155.html)
+--- Thread: MISRA-2012 = state of the art? (/thread-1265.html)



MISRA-2012 = state of the art? - aaapppbbb - 20-07-2016

Hello all,

We use MISRA-2004. Do you need to migrate to MISRA-2012? Is MISRA-2012 state of the art?

Any recommendations? Official statements? Decision matrix?

Greetings
Adam


Re: MISRA-2012 = state of the art? - misra-c - 16-08-2016

We would recommend adoption of MISRA C:2012 (including Amendment 1) for any NEW projects, while using the additional guidance from MISRA Compliance:2016 for addressing any migration issues with pre-existing, legacy, code.

For existing projects, the decision to, and timing of, upgrading from MISRA-C:2004 to MISRA C:2012 is a matter for the company and the project. Upgrading will most likely result in some rework, which is likely to have cost, risk and timescale implications.

Section 5.1 on Adoption in the MISRA C:2012 documentation states:
Quote:If a project is building on existing code that has a proven track record then the benefts of compliance with MISRA C may be outweighed by the risks of introducing a defect when making the code compliant. In such cases a judgement on adopting MISRA C should be made based on the net beneft likely to be obtained
A summary of the differences between MISRA C:2004 and MISRA C: 2012 are given in "MISRA C 2012 Addendum 1- Rule Mapping.pdf" which can be downloaded from the "Resources -> MISRA resources -> MISRA C:2012 Addendum 1" posting of this bulletin board. ( http://www.misra.org.uk/forum/viewtopic.php?t=1256 )