用关键度量值(CMV)分析软件度量与异味的关系

Mansi Agnihotri, A. Chug
{"title":"用关键度量值(CMV)分析软件度量与异味的关系","authors":"Mansi Agnihotri, A. Chug","doi":"10.1145/3474124.3474193","DOIUrl":null,"url":null,"abstract":"User requirements for a software system frequently evolve with time, and developers sometimes make incorrect implementation choices while meeting such requirements. These choices tend to introduce system flaws, i.e., bad smells in the program's source code. Bad smells do not disturb the normal functioning of a system, but they might worsen the software quality by increasing its complexity. Software metrics play a significant role in the analysis of object-oriented properties of a system. Also, change in software metrics’ values are often used to predict bad smells in a code. In the current study, an investigation has been conducted on four open-source projects. The concept of Critical Metric Value (CMV) has been introduced in the current study, and its impact on the occurrence of five selected bad smells has been examined to establish a relationship between software metrics and bad smells. CMV is that value of any software metric that is considered an outlier when compared to the rest of the metric values. The selected bad smells have been categorized as Null, Only, and Multiple based on the presence of CMV in a class. This study shows that 37.3% of the total classes have been affected by bad smells. Long statement bad smell pre-dominantly affects the selected systems as it is present in 25.74% classes. The experiment's findings show that 82.5% of the total bad smells occur in a class that consists of at least one CMV. The current study helps to establish a relationship between the bad smells and critical software metrics.","PeriodicalId":144611,"journal":{"name":"2021 Thirteenth International Conference on Contemporary Computing (IC3-2021)","volume":"117 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-08-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Analyzing the Relationship between Software Metrics and Bad Smells Using Critical Metric Value (CMV)\",\"authors\":\"Mansi Agnihotri, A. Chug\",\"doi\":\"10.1145/3474124.3474193\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"User requirements for a software system frequently evolve with time, and developers sometimes make incorrect implementation choices while meeting such requirements. These choices tend to introduce system flaws, i.e., bad smells in the program's source code. Bad smells do not disturb the normal functioning of a system, but they might worsen the software quality by increasing its complexity. Software metrics play a significant role in the analysis of object-oriented properties of a system. Also, change in software metrics’ values are often used to predict bad smells in a code. In the current study, an investigation has been conducted on four open-source projects. The concept of Critical Metric Value (CMV) has been introduced in the current study, and its impact on the occurrence of five selected bad smells has been examined to establish a relationship between software metrics and bad smells. CMV is that value of any software metric that is considered an outlier when compared to the rest of the metric values. The selected bad smells have been categorized as Null, Only, and Multiple based on the presence of CMV in a class. This study shows that 37.3% of the total classes have been affected by bad smells. Long statement bad smell pre-dominantly affects the selected systems as it is present in 25.74% classes. The experiment's findings show that 82.5% of the total bad smells occur in a class that consists of at least one CMV. The current study helps to establish a relationship between the bad smells and critical software metrics.\",\"PeriodicalId\":144611,\"journal\":{\"name\":\"2021 Thirteenth International Conference on Contemporary Computing (IC3-2021)\",\"volume\":\"117 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-08-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 Thirteenth International Conference on Contemporary Computing (IC3-2021)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3474124.3474193\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 Thirteenth International Conference on Contemporary Computing (IC3-2021)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3474124.3474193","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

用户对软件系统的需求经常随着时间的推移而变化,开发人员有时会在满足这些需求的同时做出错误的实现选择。这些选择倾向于引入系统缺陷,例如,程序源代码中的异味。不好的气味不会干扰系统的正常功能,但它们可能会增加软件的复杂性,从而使软件质量恶化。软件度量在分析系统的面向对象属性方面起着重要的作用。此外,软件度量值的变化通常用于预测代码中的不良气味。在本研究中,对四个开源项目进行了调查。在当前的研究中引入了关键度量值(CMV)的概念,并研究了其对五种选定的不良气味发生的影响,以建立软件度量与不良气味之间的关系。CMV是任何软件度量的值,与其他度量值相比,它被认为是一个离群值。根据类中CMV的存在,所选择的不良气味被分类为Null, Only和Multiple。这项研究表明,37.3%的班级受到难闻气味的影响。长语句异味主要影响所选系统,因为它存在于25.74%的类中。实验结果表明,82.5%的臭味发生在至少有一种CMV的班级里。当前的研究有助于建立不良气味和关键软件度量之间的关系。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Analyzing the Relationship between Software Metrics and Bad Smells Using Critical Metric Value (CMV)
User requirements for a software system frequently evolve with time, and developers sometimes make incorrect implementation choices while meeting such requirements. These choices tend to introduce system flaws, i.e., bad smells in the program's source code. Bad smells do not disturb the normal functioning of a system, but they might worsen the software quality by increasing its complexity. Software metrics play a significant role in the analysis of object-oriented properties of a system. Also, change in software metrics’ values are often used to predict bad smells in a code. In the current study, an investigation has been conducted on four open-source projects. The concept of Critical Metric Value (CMV) has been introduced in the current study, and its impact on the occurrence of five selected bad smells has been examined to establish a relationship between software metrics and bad smells. CMV is that value of any software metric that is considered an outlier when compared to the rest of the metric values. The selected bad smells have been categorized as Null, Only, and Multiple based on the presence of CMV in a class. This study shows that 37.3% of the total classes have been affected by bad smells. Long statement bad smell pre-dominantly affects the selected systems as it is present in 25.74% classes. The experiment's findings show that 82.5% of the total bad smells occur in a class that consists of at least one CMV. The current study helps to establish a relationship between the bad smells and critical software metrics.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信