Keynote: Evaluating and Guiding the Use of Coding Standards to Reduce Software Faults. Moonen, L. In Embedded Source Code Quality Control, 2011. abstract bibtex 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 enforcing compliance with rules that have little impact on the number of faults be considered a wasted effort, 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 that helps us understand which rules are worthwhile enforcing, and which ones can be ignored in the context of fault reduction. In this talk, we reflect on our efforts to quantify and characterize the relation between rule violations and actual faults for the MISRA C 2004 standard on three industrial case studies. We found that 10 rules in the standard were significant predictors of fault location in these projects. We discuss how software and issue archives can be used to link standard violations to known bugs, and how this information can be used to address two practical issues in introducing or using a coding standard: which rules should be adhered to as they would have caught earlier issues, and how to prioritize violations. Our studies showed that such a history-based approach can help to select a subset of rules that reduce the number of locations to inspect by 64% to 95%, while still containing 64% to 86% of the real issues covered by all rules.
@inProceedings{
title = {Keynote: Evaluating and Guiding the Use of Coding Standards to Reduce Software Faults},
type = {inProceedings},
year = {2011},
city = {Antwerp, Belgium},
id = {341071eb-a7ad-3938-a2b6-b89bda36f71d},
created = {2013-02-15T10:27:42.000Z},
file_attached = {false},
profile_id = {6670f279-692b-3eed-bc36-b89af19ad6e0},
last_modified = {2015-08-12T16:26:18.000Z},
read = {false},
starred = {false},
authored = {true},
confirmed = {true},
hidden = {false},
citation_key = {Simula.simula.732},
source_type = {keynote},
abstract = {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 enforcing compliance with rules that have little impact on the number of faults be considered a wasted effort, 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 that helps us understand which rules are worthwhile enforcing, and which ones can be ignored in the context of fault reduction. In this talk, we reflect on our efforts to quantify and characterize the relation between rule violations and actual faults for the MISRA C 2004 standard on three industrial case studies. We found that 10 rules in the standard were significant predictors of fault location in these projects. We discuss how software and issue archives can be used to link standard violations to known bugs, and how this information can be used to address two practical issues in introducing or using a coding standard: which rules should be adhered to as they would have caught earlier issues, and how to prioritize violations. Our studies showed that such a history-based approach can help to select a subset of rules that reduce the number of locations to inspect by 64% to 95%, while still containing 64% to 86% of the real issues covered by all rules.},
bibtype = {inProceedings},
author = {Moonen, Leon},
booktitle = {Embedded Source Code Quality Control}
}
Downloads: 0
{"_id":"393YTZwcuGieWFeKP","bibbaseid":"moonen-keynoteevaluatingandguidingtheuseofcodingstandardstoreducesoftwarefaults-2011","downloads":0,"creationDate":"2015-08-12T16:27:09.894Z","title":"Keynote: Evaluating and Guiding the Use of Coding Standards to Reduce Software Faults","author_short":["Moonen, L."],"year":2011,"bibtype":"inProceedings","biburl":null,"bibdata":{"title":"Keynote: Evaluating and Guiding the Use of Coding Standards to Reduce Software Faults","type":"inProceedings","year":"2011","city":"Antwerp, Belgium","id":"341071eb-a7ad-3938-a2b6-b89bda36f71d","created":"2013-02-15T10:27:42.000Z","file_attached":false,"profile_id":"6670f279-692b-3eed-bc36-b89af19ad6e0","last_modified":"2015-08-12T16:26:18.000Z","read":false,"starred":false,"authored":"true","confirmed":"true","hidden":false,"citation_key":"Simula.simula.732","source_type":"keynote","abstract":"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 enforcing compliance with rules that have little impact on the number of faults be considered a wasted effort, 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 that helps us understand which rules are worthwhile enforcing, and which ones can be ignored in the context of fault reduction. In this talk, we reflect on our efforts to quantify and characterize the relation between rule violations and actual faults for the MISRA C 2004 standard on three industrial case studies. We found that 10 rules in the standard were significant predictors of fault location in these projects. We discuss how software and issue archives can be used to link standard violations to known bugs, and how this information can be used to address two practical issues in introducing or using a coding standard: which rules should be adhered to as they would have caught earlier issues, and how to prioritize violations. Our studies showed that such a history-based approach can help to select a subset of rules that reduce the number of locations to inspect by 64% to 95%, while still containing 64% to 86% of the real issues covered by all rules.","bibtype":"inProceedings","author":"Moonen, Leon","booktitle":"Embedded Source Code Quality Control","bibtex":"@inProceedings{\n title = {Keynote: Evaluating and Guiding the Use of Coding Standards to Reduce Software Faults},\n type = {inProceedings},\n year = {2011},\n city = {Antwerp, Belgium},\n id = {341071eb-a7ad-3938-a2b6-b89bda36f71d},\n created = {2013-02-15T10:27:42.000Z},\n file_attached = {false},\n profile_id = {6670f279-692b-3eed-bc36-b89af19ad6e0},\n last_modified = {2015-08-12T16:26:18.000Z},\n read = {false},\n starred = {false},\n authored = {true},\n confirmed = {true},\n hidden = {false},\n citation_key = {Simula.simula.732},\n source_type = {keynote},\n abstract = {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 enforcing compliance with rules that have little impact on the number of faults be considered a wasted effort, 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 that helps us understand which rules are worthwhile enforcing, and which ones can be ignored in the context of fault reduction. In this talk, we reflect on our efforts to quantify and characterize the relation between rule violations and actual faults for the MISRA C 2004 standard on three industrial case studies. We found that 10 rules in the standard were significant predictors of fault location in these projects. We discuss how software and issue archives can be used to link standard violations to known bugs, and how this information can be used to address two practical issues in introducing or using a coding standard: which rules should be adhered to as they would have caught earlier issues, and how to prioritize violations. Our studies showed that such a history-based approach can help to select a subset of rules that reduce the number of locations to inspect by 64% to 95%, while still containing 64% to 86% of the real issues covered by all rules.},\n bibtype = {inProceedings},\n author = {Moonen, Leon},\n booktitle = {Embedded Source Code Quality Control}\n}","author_short":["Moonen, L."],"bibbaseid":"moonen-keynoteevaluatingandguidingtheuseofcodingstandardstoreducesoftwarefaults-2011","role":"author","urls":{},"downloads":0},"search_terms":["keynote","evaluating","guiding","use","coding","standards","reduce","software","faults","moonen"],"keywords":[],"authorIDs":[]}