arrow
Return

Software defect prediction using Bayesian networks

delete2012-08-01
delete214
delete
OA
AI
A
Ahmet Okutan *
O
Olcay Taner Yıldız
DOI:10.1007/s10664-012-9218-8delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
There are lots of different software metrics discovered and used for defect prediction in the literature. Instead of dealing with so many metrics, it would be practical and easy if we could determine the set of metrics that are most important and focus on them more to predict defectiveness. We use Bayesian networks to determine the probabilistic influential relationships among software metrics and defect proneness. In addition to the metrics used in Promise data repository, we define two more metrics, i.e. NOD for the number of developers and LOCQ for the source code quality. We extract these metrics by inspecting the source code repositories of the selected Promise data repository data sets. At the end of our modeling, we learn the marginal defect proneness probability of the whole software system, the set of most effective metrics, and the influential relationships among metrics and defectiveness. Our experiments on nine open source Promise data repository data sets show that response for class (RFC), lines of code (LOC), and lack of coding quality (LOCQ) are the most effective metrics whereas coupling between objects (CBO), weighted method per class (WMC), and lack of cohesion of methods (LCOM) are less effective metrics on defect proneness. Furthermore, number of children (NOC) and depth of inheritance tree (DIT) have very limited effect and are untrustworthy. On the other hand, based on the experiments on Poi, Tomcat, and Xalan data sets, we observe that there is a positive correlation between the number of developers (NOD) and the level of defectiveness. However, further investigation involving a greater number of projects is needed to confirm our findings.
Keywords:
Defect prediction
Bayesian networks

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
5.3K

Organization

I
isik university
Scholars:
200
Papers: 214
Citations: 3
Cited Papers

Cited Papers

Ionic Liquids with Solvatochromatic and Charge-Transfer Functionalities Incorporating the Viologen Moiety
err2013-01-01
err0
PREAI
errH. Q. Nimal Gunaratne; Peter Nockemann; Sonia Olejarz; Stephanie M. Reid; Kenneth R. Seddon; Geetha Srinivasan
errShare
errSave
Chemical composition and biological activity of peat deposits of oligotrophic bog
err2018-08-15
err0
errOAAI
errEkaterina Vladimirovna Porokhina; Margarita Alexandrovna Sergeeva; Olga Alexandrovna Golubina
errShare
errSave
Southeast Asian Labor Migration to Korea: Origin-Country Factors and Policy Implications
err2013-01-01
err0
PREAI
errYoon Ah Oh; Jai-Joon Hur; Daechang Kang; Yoomi Kim; Mingeum Shin
errShare
errSave
Software measurement: Uncertainty and causal modeling
err2002-07-01
err109
PREAI
errFenton, N; Krause, P; Neil, M
errShare
errSave
errShare
errSave
Effect of the electrical double layer on voltammetry at microelectrodes
err2002-05-01
err0
PREAI
errJohn D. Norton; Henry S. White; Stephen W. Feldberg
errShare
errSave
Ventricular Dysrhythmias During Long-Term Follow-Up in Patients With Inherited Cardiac Arrhythmia
err2019-11-01
err0
PREAI
errGustaf D.S. Sitorus; Ahmed A.Y. Ragab; Charlotte A. Houck; Eva A.H. Lanters; Annejet Heida; Virgilla E. van Gastel; Agnes J.Q.M. Muskens; Natasja M.S. de Groot
errShare
errSave
researcher View more