AuthorsC. Boogerd and L. Moonen
EditorsH. Mei and K. Wong
TitleAssessing the Value of Coding Standards: an Empirical Study
AfilliationSoftware Engineering, Software Engineering
Publication TypeProceedings, refereed
Year of Publication2008
Conference NameProceedings of the 24th IEEE International Conference on Software Maintenance (ICSM 2008)
Date PublishedOctober
ISBN Number978-1-4244-2613-3

In spite of the widespread use of coding standards and tools enforcing their rules, there is little empirical evidence supporting the intuition that they prevent the introduction of faults in software. Not only can compliance with a set of rules having little impact on the number of faults be considered wasted effort, but it can actually result in an increase in faults, as any modification has a non-zero probability of introducing a fault or triggering a previously concealed one. Therefore, it is important to build a body of empirical knowledge, helping us understand which rules are worthwhile enforcing, and which ones should be ignored in the context of fault reduction. In this paper, we describe two approaches to quantify the relation between rule violations and actual faults, and present empirical data on this relation for the MISRA C 2004 standard on an industrial case study.

Citation KeySimula.SE.331