{"title":"Empirical evaluation of code smells in open-source software (OSS) using Best Worst Method (BWM) and TOPSIS approach","authors":"Stuti Tandon, Vijay Kumar, V. Singh","doi":"10.1108/ijqrm-02-2021-0045","DOIUrl":null,"url":null,"abstract":"PurposeCode 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/approachThe 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.FindingsVersion 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/valueThe 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.","PeriodicalId":14193,"journal":{"name":"International Journal of Quality & Reliability Management","volume":" ","pages":""},"PeriodicalIF":2.7000,"publicationDate":"2021-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Quality & Reliability Management","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1108/ijqrm-02-2021-0045","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MANAGEMENT","Score":null,"Total":0}
引用次数: 0
Abstract
PurposeCode 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/approachThe 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.FindingsVersion 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/valueThe 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.
期刊介绍:
In today''s competitive business and industrial environment, it is essential to have an academic journal offering the most current theoretical knowledge on quality and reliability to ensure that top management is fully conversant with new thinking, techniques and developments in the field. The International Journal of Quality & Reliability Management (IJQRM) deals with all aspects of business improvements and with all aspects of manufacturing and services, from the training of (senior) managers, to innovations in organising and processing to raise standards of product and service quality. It is this unique blend of theoretical knowledge and managerial relevance that makes IJQRM a valuable resource for managers striving for higher standards.Coverage includes: -Reliability, availability & maintenance -Gauging, calibration & measurement -Life cycle costing & sustainability -Reliability Management of Systems -Service Quality -Green Marketing -Product liability -Product testing techniques & systems -Quality function deployment -Reliability & quality education & training -Productivity improvement -Performance improvement -(Regulatory) standards for quality & Quality Awards -Statistical process control -System modelling -Teamwork -Quality data & datamining