Identifying domain-specific defect classes using inspections and change history

TitleIdentifying domain-specific defect classes using inspections and change history
Publication TypeConference Papers
Year of Publication2006
AuthorsNakamura T, Hochstein L, Basili VR
Conference NameProceedings of the 2006 ACM/IEEE international symposium on Empirical software engineering
Date Published2006///
Conference LocationNew York, NY, USA
ISBN Number1-59593-218-6
Keywordschange history, code reading, domain specific defects, Inspection

We present an iterative, reading-based methodology for analyzing defects in source code when change history is available. Our bottom-up approach can be applied to build knowledge of recurring defects in a specific domain, even if other sources of defect data such as defect reports and change requests are unavailable, incomplete or at the wrong level of abstraction for the purposes of the defect analysis. After defining the methodology, we present the results of an empirical study where our method was applied to analyze defects in parallel programs which use the MPI (Message Passing Interface) library to express parallelism. This library is often used in the domain of high performance computing, where there is much discussion but little empirical data about the frequency and severity of defect types. Preliminary results indicate the methodology is feasible and can provide insights into the nature of real defects. We present the results, derived hypothesis, and lessons learned.