Volume 12 Number 10 (Oct. 2017)
Home > Archive > 2017 > Volume 12 Number 10 (Oct. 2017) >
JSW 2017 Vol.12(10): 759-772 ISSN: 1796-217X
doi: 10.17706/jsw.12.10.759-772

Modeling Software Defects as Anomalies: A Case Study on Promise Repository

Kamrun Nahar Neela, Syed Ali Asif, Amit Seal Ami, Alim Ul Gias

Institute of Information Technology, University of Dhaka, Dhaka – 1000, Bangladesh.

Abstract—Software defect prediction is a highly studied domain in Software Engineering research due to its importance in software development. In literature, various classification methods with static code attributes have been used to predict defects. However, defected instances are very few compared to non-defected instances and as such lead to imbalanced data. Traditional machine learning techniques give poor results for such data. In this paper an anomaly detection technique for software defect prediction, is proposed which is not affected by imbalanced data. The technique incorporates both univariate and multivariate Gaussian distribution to model non-defected software module. The defected software modules are then predicted based on their deviation from the generated model. To evaluate our approach, we implemented the algorithm and tested it on the NASA datasets from the PROMISE repository. By utilizing this approach, we observed an average balance of 63.36% and 69.06% in univariate model and multivariate model respectively. Without utilizing optimization or filter, this approach yield better result than industry standard of 60%.

Index Terms—Software defect prediction, anomaly detection, univariate gaussian distribution, multivariate gaussian distribution, promise repository.

[PDF]

Cite: Kamrun Nahar Neela*, Syed Ali Asif, Amit Seal Ami, Alim Ul Gias, "Modeling Software Defects as Anomalies: A Case Study on Promise Repository," Journal of Software vol. 12, no. 10, pp. 759-772, 2017.

General Information

ISSN: 1796-217X (Online)
Frequency:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]