An Automated Defect Prediction Framework using Genetic Algorithms: A Validation of Empirical Studies

  • Juan Murillo-Morera
  • Carlos Castro-Herrera
  • Javier Arroyo
  • Ruben Fuentes-Fernandez

Abstract

Today, it is common for software projects to collect measurement data through development processes. With these data, defect prediction software can try to estimate the defect proneness of a software module, with the objective of assisting and guiding software practitioners. With timely and accurate defect predictions, practitioners can focus their limited testing resources on higher risk areas. This paper reports the results of three empirical studies that uses an automated genetic defect prediction framework. This framework generates and compares different learning schemes (preprocessing + attribute selection + learning algorithms) and selects the best one using a genetic algorithm, with the objective to estimate the defect proneness of a software module. The first empirical study is a performance comparison of our framework with the most important framework of the literature. The second empirical study is a performance and runtime comparison between our framework and an exhaustive framework. The third empirical study is a sensitivity analysis. The last empirical study, is our main contribution in this paper.
Performance of the software development defect prediction models (using AUC, Area Under the Curve) was validated using NASA-MDP and PROMISE data sets. Seventeen data sets from NASA-MDP (13) and PROMISE (4) projects were analyzed running a NxM-fold cross-validation. A genetic algorithm was used to select the components of the learning schemes automatically, and to assess and report the results. Our results reported similar performance between frameworks. Our framework reported better runtime than exhaustive framework. Finally, we reported the best configuration according to sensitivity analysis.

Downloads

Download data is not yet available.
Published
2016-05-18
How to Cite
Murillo-Morera, J., Castro-Herrera, C., Arroyo, J., & Fuentes-Fernandez, R. (2016). An Automated Defect Prediction Framework using Genetic Algorithms: A Validation of Empirical Studies. Inteligencia Artificial, 19(57), 114-137. Retrieved from http://journal.iberamia.org/index.php/intartif/article/view/48