Back to Search Start Over

Measuring Software Maintainability with Naïve Bayes Classifier

Authors :
Nayyar Iqbal
Jun Sang
Jing Chen
Xiaofeng Xia
Source :
Entropy, Vol 23, Iss 2, p 136 (2021)
Publication Year :
2021
Publisher :
MDPI AG, 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ï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
Volume :
23
Issue :
2
Database :
Directory of Open Access Journals
Journal :
Entropy
Publication Type :
Academic Journal
Accession number :
edsdoj.2119462c457842d081514fd8d12323bb
Document Type :
article
Full Text :
https://doi.org/10.3390/e23020136