MISRA-2012 = state of the art?

Questions and discussions about moving to the latest version of MISRA C

Moderators: misra-c, david ward

Post Reply
aaapppbbb
Posts: 1
Joined: Mon Jul 04, 2016 7:36 am
Company: RB

MISRA-2012 = state of the art?

Post by aaapppbbb » Wed Jul 20, 2016 6:08 am

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

misra-c
Posts: 571
Joined: Thu Jan 05, 2006 1:11 pm

Re: MISRA-2012 = state of the art?

Post by misra-c » Tue Aug 16, 2016 12:33 pm

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:
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 )
---
Posted by and on behalf of
the MISRA C Working Group

Post Reply

Return to “MISRA C:2004 to MISRA C:2012 migration”