cASpER: A Plug-in for Automated Code Smell Detection and Refactoring

M. D. Stefano, Michele Simone Gambardella, Fabiano Pecorelli, Fabio Palomba, A. D. Lucia
{"title":"cASpER: A Plug-in for Automated Code Smell Detection and Refactoring","authors":"M. D. Stefano, Michele Simone Gambardella, Fabiano Pecorelli, Fabio Palomba, A. D. Lucia","doi":"10.1145/3399715.3399955","DOIUrl":null,"url":null,"abstract":"During software evolution, code is inevitably subject to continuous changes that are often performed by developers within short and strict deadlines. As a consequence, good design practices are often sacrificed, possibly leading to the introduction of sub-optimal design or implementation solutions, the so-called code smells. Several studies have shown that the presence of code smells makes the source code more change- and fault-prone, reduces productivity, and causes greater rework and more significant design efforts for developers. Refactoring is the practice that developers may use to remove code smells without changing the external behavior of the source code. However, it requires much time and effort and is poorly automated, often leading developers to prefer keeping low-quality code instead of spending time in designing and performing refactoring operations. To mitigate this problem and support developers throughout the process of code smell identification and refactoring, in this paper we present cASpER, a IntelliJ IDEA plugin that provides visual and semi-automatic support for detection and refactoring four different types of code smells. Tool. Jetbrains: https://plugins.jetbrains.com/plugin/13659-casper Video. https://youtu.be/HBWF8fFJM8s","PeriodicalId":149902,"journal":{"name":"Proceedings of the International Conference on Advanced Visual Interfaces","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2020-09-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the International Conference on Advanced Visual Interfaces","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3399715.3399955","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

During software evolution, code is inevitably subject to continuous changes that are often performed by developers within short and strict deadlines. As a consequence, good design practices are often sacrificed, possibly leading to the introduction of sub-optimal design or implementation solutions, the so-called code smells. Several studies have shown that the presence of code smells makes the source code more change- and fault-prone, reduces productivity, and causes greater rework and more significant design efforts for developers. Refactoring is the practice that developers may use to remove code smells without changing the external behavior of the source code. However, it requires much time and effort and is poorly automated, often leading developers to prefer keeping low-quality code instead of spending time in designing and performing refactoring operations. To mitigate this problem and support developers throughout the process of code smell identification and refactoring, in this paper we present cASpER, a IntelliJ IDEA plugin that provides visual and semi-automatic support for detection and refactoring four different types of code smells. Tool. Jetbrains: https://plugins.jetbrains.com/plugin/13659-casper Video. https://youtu.be/HBWF8fFJM8s
cASpER:用于自动代码气味检测和重构的插件
在软件发展过程中,代码不可避免地受到持续变化的影响,这些变化通常是由开发人员在短而严格的期限内执行的。因此,良好的设计实践常常被牺牲,可能导致引入次优设计或实现解决方案,即所谓的代码气味。一些研究表明,代码气味的存在使源代码更容易发生更改和故障,降低了生产力,并导致开发人员进行更多的返工和更重要的设计工作。重构是开发人员在不改变源代码的外部行为的情况下消除代码异味的一种实践。然而,它需要大量的时间和精力,而且自动化程度很低,经常导致开发人员宁愿保留低质量的代码,也不愿花时间设计和执行重构操作。为了缓解这个问题,并在整个代码气味识别和重构过程中为开发人员提供支持,在本文中,我们介绍了cASpER,一个IntelliJ IDEA插件,它为检测和重构四种不同类型的代码气味提供了可视化和半自动的支持。工具。Jetbrains: https://plugins.jetbrains.com/plugin/13659-casper视频。https://youtu.be/HBWF8fFJM8s
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信