Skip to main content

2022 | OriginalPaper | Buchkapitel

Software Fault Prediction Using Machine Learning Algorithms

verfasst von : M. S. Pavana, M. N. Pushpalatha, A. Parkavi

Erschienen in: Advances in Electrical and Computer Technologies

Verlag: Springer Nature Singapore

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Software fault prediction (SFP) plays a vital part in quality of software. It helps in detecting the faulty constructs at an initial phases of software development life cycle (SDLC). This software fault is also known as defect, which occurs when the predicted results didn’t match the actual output. This can be referring as an error, fault, bug in a computer program. Machine learning (ML) handles with the subject of how to build or design computer programs that always increase their effectiveness at particular tasks via experiences. In field of software engineering, machine learning plays a very important role and contains different approaches like test effort prediction and cost prediction. In these prediction technique, software faults prediction (SFP) is the most prominent study in field of software engineering. In this paper, the predictions were made using machine learning algorithms such as Naive Bayes (NB), support vector machine (SVM), logistic regression (LR), random forest (RF). Feature selection method such as Spearman’s rank correlation is used for selecting highly correlated input variables. Dimensionality reduction methods such as LDA and PCA are used for reducing the dimensions. Performance and evaluation of these algorithms are carried out using accuracy, precision, and recall. Comparison is performed over four machine learning techniques with two feature selection and dimensionality reduction techniques. The results show that using Spearman’s rank correlation, SVM gives 94% of the highest accuracy compared to other algorithms. The results show that with LDA method on the dataset, NB and LR give highest accuracy of 92% over other techniques, and using PCA method, RF gives 92.8% of accuracy, which is highest among four classifiers.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Fangjun Wu (2011) Empirical validation of object-oriented metrics on NASA for fault prediction. Advances in information technology and education, vol 2011. Springer, Berlin, pp 168–175 Fangjun Wu (2011) Empirical validation of object-oriented metrics on NASA for fault prediction. Advances in information technology and education, vol 2011. Springer, Berlin, pp 168–175
3.
Zurück zum Zitat Yang C, Hou C, Kao W, Chen I (2012) An empirical study on improving severity prediction of defect reports using feature selection. In: 2012 19th Asia-Pacific software engineering conference (APSEC), vol 1, pp 350–355 Yang C, Hou C, Kao W, Chen I (2012) An empirical study on improving severity prediction of defect reports using feature selection. In: 2012 19th Asia-Pacific software engineering conference (APSEC), vol 1, pp 350–355
4.
Zurück zum Zitat Pushpalatha MN, Mrunalini M (2019) Predicting the severity of closed source bug reports using ensemble methods. In: Satapathy S, Bhateja V, Das S (eds) Smart intelligent computing and applications. smart innovation, systems and technologies, vol 105. Springer, Singapore. https://doi.org/10.1007/978-981-13-1927-3_62 Pushpalatha MN, Mrunalini M (2019) Predicting the severity of closed source bug reports using ensemble methods. In: Satapathy S, Bhateja V, Das S (eds) Smart intelligent computing and applications. smart innovation, systems and technologies, vol 105. Springer, Singapore. https://​doi.​org/​10.​1007/​978-981-13-1927-3_​62
5.
Zurück zum Zitat Kaur J, Sandhu PS (2011) A k-means based approach for prediction of level of severity of faults in software systems. In: Proceedings of international conference on intelligent computational systems Kaur J, Sandhu PS (2011) A k-means based approach for prediction of level of severity of faults in software systems. In: Proceedings of international conference on intelligent computational systems
6.
Zurück zum Zitat Chug A, Dhall S (2013) Software defect prediction using supervised learning algorithm and unsupervised learning algorithm, pp 5–01 Chug A, Dhall S (2013) Software defect prediction using supervised learning algorithm and unsupervised learning algorithm, pp 5–01
7.
Zurück zum Zitat Wahono RS, Suryana N (2013) Combining particle swarm optimization based feature selection and bagging technique for software defect prediction. Int J Softw Eng Appl 153–166 Wahono RS, Suryana N (2013) Combining particle swarm optimization based feature selection and bagging technique for software defect prediction. Int J Softw Eng Appl 153–166
8.
Zurück zum Zitat Tosun A, Bener A (2009) Reducing false alarms in software defect prediction by decision threshold optimization. In: Third international symposium on empirical software engineering and measurement ©2009 IEEE Tosun A, Bener A (2009) Reducing false alarms in software defect prediction by decision threshold optimization. In: Third international symposium on empirical software engineering and measurement ©2009 IEEE
9.
Zurück zum Zitat Dhankhar S, Rastogi H, Kakkar M (2015) Software fault prediction performance in software engineering. IEEE, 04 May 2015 Dhankhar S, Rastogi H, Kakkar M (2015) Software fault prediction performance in software engineering. IEEE, 04 May 2015
10.
Zurück zum Zitat Gray D, Bowes D, Davey N, Sun Y, Christianson B (2009) Using the support vector machine as a classification method for software defect prediction with static code metrics. In: Engineering applications of neural networks. Springer Berlin Heidelberg, pp 223–234 Gray D, Bowes D, Davey N, Sun Y, Christianson B (2009) Using the support vector machine as a classification method for software defect prediction with static code metrics. In: Engineering applications of neural networks. Springer Berlin Heidelberg, pp 223–234
11.
Zurück zum Zitat Ren J, Qin K, Ma Y, Luo G (2014) On software defect prediction using machine learning. J Appl Math Ren J, Qin K, Ma Y, Luo G (2014) On software defect prediction using machine learning. J Appl Math
12.
Zurück zum Zitat Kim S, Zhang H, Wu R, Gong L (2011) Dealing with noise in defect prediction. In: 2011 33rd International conference on software engineering (ICSE). IEEE, pp 481–490 Kim S, Zhang H, Wu R, Gong L (2011) Dealing with noise in defect prediction. In: 2011 33rd International conference on software engineering (ICSE). IEEE, pp 481–490
13.
Zurück zum Zitat Wang H, Khoshgoftaar TM, Napolitano A (2012) Software measurement data reduction using ensemble techniques.Elsevier, pp 124–132 Wang H, Khoshgoftaar TM, Napolitano A (2012) Software measurement data reduction using ensemble techniques.Elsevier, pp 124–132
14.
Zurück zum Zitat Challagulla VU, Bastani FB, Yen IL, Paul RA (2005) Empirical assessment of machine learning based software defect prediction techniques. In: Proceedings of the 10th IEEE international workshop on object-oriented real-time dependable systems (WORDS’05), pp 1530–1443 Challagulla VU, Bastani FB, Yen IL, Paul RA (2005) Empirical assessment of machine learning based software defect prediction techniques. In: Proceedings of the 10th IEEE international workshop on object-oriented real-time dependable systems (WORDS’05), pp 1530–1443
Metadaten
Titel
Software Fault Prediction Using Machine Learning Algorithms
verfasst von
M. S. Pavana
M. N. Pushpalatha
A. Parkavi
Copyright-Jahr
2022
Verlag
Springer Nature Singapore
DOI
https://doi.org/10.1007/978-981-19-1111-8_16

Premium Partner