Measuring Software Maintainability with Naïve Bayes Classifier
Open Access
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%.Keywords
Funding Information
- Chongqing Graduate Tutor Team Construction Project (ydstd1821)
This publication has 20 references indexed in Scilit:
- A methodology for the classification of quality of requirements using machine learning techniquesInformation and Software Technology, 2015
- Detecting defects in software requirements specificationAlexandria Engineering Journal, 2014
- Defining and validating metrics for assessing the understandability of entity–relationship diagramsData & Knowledge Engineering, 2007
- Introduction to Machine Learning and Software Engineering2005
- A validation of the component-based method for software size estimationIEEE Transactions on Software Engineering, 2000
- Inferring declarative requirements specifications from operational scenariosIEEE Transactions on Software Engineering, 1998
- Case-Based Knowledge Management Tools for Software DevelopmentAutomated Software Engineering, 1997
- Inductive specification recovery: Understanding software by learning from example behaviorsAutomated Software Engineering, 1995
- The IEEE standard for software maintenanceACM SIGSOFT Software Engineering Notes, 1994
- A pattern recognition approach for software engineering data analysisIEEE Transactions on Software Engineering, 1992