AuthorsC. Boogerd and L. Moonen
EditorsJ. W. Godfrey
TitleEvaluating the Relation Between Coding Standard Violations and Faults Within and Across Software Versions
AfilliationSoftware Engineering, Software Engineering
Publication TypeProceedings, refereed
Year of Publication2009
Conference Name6th IEEE Working Conference on Mining Software Repositories (MSR)
ISBN Number978-1-4244-3493-0

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. In previous work, we performed a pilot study to assess the relation between rule violations and actual faults, using the MISRA C 2004 standard on an industrial case. In this paper, we investigate three different aspects of the relation between violations and faults on a larger case study, and compare the results across the two projects. We find that 10 rules in the standard are significant predictors of fault location.

Citation KeySimula.SE.449