Empirical evaluation of code smells in open-source software (OSS) using Best Worst Method (BWM) and TOPSIS approach
International Journal of Quality & Reliability Management
ISSN: 0265-671X
Article publication date: 24 August 2021
Issue publication date: 22 February 2022
Abstract
Purpose
Code smells indicate deep software issues. They have been studied by researchers with different perspectives. The need to study code smells was felt from the perspective of software industry. The authors aim to evaluate the code smells on the basis of their scope of impact on widely used open-source software (OSS) projects.
Design/methodology/approach
The authors have proposed a methodology to identify and rank the smells in the source code of 16 versions of Apache Tomcat Software. Further, the authors have analyzed the categorized smells by calculating the weight of the smells using constant weights as well as Best Worst Method (BWM). Consequently, the authors have used Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) to determine the rank of versions using constant weights as well as BWM.
Findings
Version 1 of Apache Tomcat has least smell, and version 8 is reported to contain the maximum code smells. Notable differences in both the cases during the trend analysis are reported by the study. The findings also show that increase is observed in the number of code smells with the release of newer versions. This increment is observed till version 8, followed by a subtle marked depreciation in the number of code smells in further releases.
Originality/value
The focus is to analyze smells and rank several versions of Apache Tomcat, one of the most widely used software for code smell study. This study will act as a significant one for the researchers as it prioritizes the versions and will help in narrowing down the options of the software used to study code smell.
Keywords
Citation
Tandon, S., Kumar, V. and Singh, V.B. (2022), "Empirical evaluation of code smells in open-source software (OSS) using Best Worst Method (BWM) and TOPSIS approach", International Journal of Quality & Reliability Management, Vol. 39 No. 3, pp. 815-835. https://doi.org/10.1108/IJQRM-02-2021-0045
Publisher
:Emerald Publishing Limited
Copyright © 2021, Emerald Publishing Limited