Back to Search Start Over

Measuring Software Maintainability with Naïve Bayes Classifier

Authors :
Xiaofeng Xia
Jun Sang
Nayyar Iqbal
Jing Chen
Source :
Entropy, Volume 23, Issue 2, Entropy, Vol 23, Iss 136, p 136 (2021)
Publication Year :
2021
Publisher :
Multidisciplinary Digital Publishing Institute, 2021.

Abstract

Software products in the market are changing due to changes in business processes, technology, or new requirements from the customers. Maintainability of legacy systems has always been an inspiring task for the software companies. In order to determine whether the software requires maintainability by reverse engineering or by forward engineering approach, a system assessment was done from diverse perspectives: quality, business value, type of errors, etc. In this research, the changes required in the existing software components of the legacy system were identified using a supervised learning approach. New interfaces for the software components were redesigned according to the new requirements and/or type of errors. Software maintainability was measured by applying a machine learning technique, i.e., Na&iuml<br />ve Bayes classifier. The dataset was designed based on the observations such as component state, successful or error type in the component, line of code of error that exists in the component, component business value, and changes required for the component or not. The results generated by the Waikato Environment for Knowledge Analysis (WEKA) software confirm the effectiveness of the introduced methodology with an accuracy of 97.18%.

Details

Language :
English
ISSN :
10994300
Database :
OpenAIRE
Journal :
Entropy
Accession number :
edsair.doi.dedup.....3da8e52e2a281564f11d3171f05f620a
Full Text :
https://doi.org/10.3390/e23020136