合并气味探测器:关于多种工具一致性的证据

Apostolos Ichtsis, N. Mittas, Apostolos Ampatzoglou, A. Chatzigeorgiou
{"title":"合并气味探测器:关于多种工具一致性的证据","authors":"Apostolos Ichtsis, N. Mittas, Apostolos Ampatzoglou, A. Chatzigeorgiou","doi":"10.1145/3524843.3528089","DOIUrl":null,"url":null,"abstract":"Technical Debt estimation relies heavily on the use of static anal-ysis tools looking for violations of pre-defined rules. Largely, Technical Debt principal is attributed to the presence of low-level code smells, unavoidably tying the effort for fixing the problems with mere coding inefficiencies. At the same time, despite their simple definition, the detection of most code smells is non-trivial and subjective, rendering the assessment of Technical Debt prin-cipal dubious. To this end, we have revisited the literature on code smell detection approaches backed by tools and developed an Eclipse plugin that incorporates six code smell detection ap-proaches. The combined application of various smell detectors can increase the certainty of identifying actual code smells that matter to the development team. We also conduct a case study to investigate the agreement among the employed code smell detec-tors. To our surprise the level of agreement is quite low even for relatively simple code smells, threating the validity of existing TD analysis tools and calling for increased attention to the precise specification of code and design level issues. Source code: https://github.com/apostolisich/SmellDetectorMerger","PeriodicalId":149335,"journal":{"name":"2022 IEEE/ACM International Conference on Technical Debt (TechDebt)","volume":"916 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Merging Smell Detectors: Evidence on the Agreement of Multiple Tools\",\"authors\":\"Apostolos Ichtsis, N. Mittas, Apostolos Ampatzoglou, A. Chatzigeorgiou\",\"doi\":\"10.1145/3524843.3528089\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Technical Debt estimation relies heavily on the use of static anal-ysis tools looking for violations of pre-defined rules. Largely, Technical Debt principal is attributed to the presence of low-level code smells, unavoidably tying the effort for fixing the problems with mere coding inefficiencies. At the same time, despite their simple definition, the detection of most code smells is non-trivial and subjective, rendering the assessment of Technical Debt prin-cipal dubious. To this end, we have revisited the literature on code smell detection approaches backed by tools and developed an Eclipse plugin that incorporates six code smell detection ap-proaches. The combined application of various smell detectors can increase the certainty of identifying actual code smells that matter to the development team. We also conduct a case study to investigate the agreement among the employed code smell detec-tors. To our surprise the level of agreement is quite low even for relatively simple code smells, threating the validity of existing TD analysis tools and calling for increased attention to the precise specification of code and design level issues. Source code: https://github.com/apostolisich/SmellDetectorMerger\",\"PeriodicalId\":149335,\"journal\":{\"name\":\"2022 IEEE/ACM International Conference on Technical Debt (TechDebt)\",\"volume\":\"916 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE/ACM International Conference on Technical Debt (TechDebt)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3524843.3528089\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE/ACM International Conference on Technical Debt (TechDebt)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3524843.3528089","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

技术债务评估在很大程度上依赖于使用静态分析工具来查找对预定义规则的违反。很大程度上,技术债务主要归因于低级代码气味的存在,不可避免地将修复问题的努力与编码效率低下联系在一起。与此同时,尽管它们的定义很简单,但大多数代码气味的检测都是非琐碎的和主观的,这使得技术债务的评估变得可疑。为此,我们重新查阅了有关工具支持的代码气味检测方法的文献,并开发了一个包含六种代码气味检测方法的Eclipse插件。各种气味检测器的组合应用程序可以增加识别对开发团队重要的实际代码气味的确定性。我们还进行了一个案例研究,以调查被雇用的代码气味探测器之间的协议。令我们惊讶的是,即使对于相对简单的代码气味,一致性水平也相当低,这威胁到现有TD分析工具的有效性,并要求人们更多地关注代码和设计级别问题的精确规范。源代码:https://github.com/apostolisich/SmellDetectorMerger
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Merging Smell Detectors: Evidence on the Agreement of Multiple Tools
Technical Debt estimation relies heavily on the use of static anal-ysis tools looking for violations of pre-defined rules. Largely, Technical Debt principal is attributed to the presence of low-level code smells, unavoidably tying the effort for fixing the problems with mere coding inefficiencies. At the same time, despite their simple definition, the detection of most code smells is non-trivial and subjective, rendering the assessment of Technical Debt prin-cipal dubious. To this end, we have revisited the literature on code smell detection approaches backed by tools and developed an Eclipse plugin that incorporates six code smell detection ap-proaches. The combined application of various smell detectors can increase the certainty of identifying actual code smells that matter to the development team. We also conduct a case study to investigate the agreement among the employed code smell detec-tors. To our surprise the level of agreement is quite low even for relatively simple code smells, threating the validity of existing TD analysis tools and calling for increased attention to the precise specification of code and design level issues. Source code: https://github.com/apostolisich/SmellDetectorMerger
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信