Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
2018 18th International Conference on Advances in ICT for Emerging Regions (ICTer), 2018, p.70-77
2018
Volltextzugriff (PDF)

Details

Autor(en) / Beteiligte
Titel
Bug Prediction Model using Code Smells
Ist Teil von
  • 2018 18th International Conference on Advances in ICT for Emerging Regions (ICTer), 2018, p.70-77
Ort / Verlag
IEEE
Erscheinungsjahr
2018
Quelle
IEEE Electronic Library (IEL)
Beschreibungen/Notizen
  • The term `Code Smells' was first coined in the book Refactoring: Improving the design of existing code by M Fowler in 1999. Code smells are poor design choices which have the potential to cause an error or failure in a computer program. The objective of this study is to use code smells as a candidate metric to build a bug prediction model. In this study we have built a bug prediction model using both source code metrics and code smell based metrics proposed in the literature. We used Naive Bayes, Random Forest and Logistic Regression as our candidate algorithms to build the model. We have trained our model against multiple versions of 13 different Java based open source projects. The trained model was used to predict bugs in a particular version of a project, within a particular project and among different projects. We were able to demonstrate, that code smell based metrics can significantly improve the accuracy of a bug prediction model when integrated with source code metrics. Random Forest algorithm based model showed higher accuracy within a version, within a project and among projects when compared to other algorithms.
Sprache
Englisch
Identifikatoren
eISSN: 2472-7598
DOI: 10.1109/ICTER.2018.8615550
Titel-ID: cdi_ieee_primary_8615550

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX