arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2004.10777cs.SE
收藏

代码气味和重构:挑战和观察的三级系统评价

Code Smells and Refactoring: A Tertiary Systematic Review of Challenges and Observations

Guilherme Lacerda, Fabio Petrillo, Marcelo Pimenta, Yann Gael Gueheneuc

摘要:

在本文中,我们提出了一个三级系统的文献综述,以前的调查,二级系统的文献综述,和系统的映射。我们确定了关于代码气味和重构的主要观察结果(我们知道的)和挑战(我们不知道的)。我们发现代码气味和重构与质量属性有很强的关系,即,具有可理解性、可维护性、可测试性、复杂性、功能性和可重用性。我们认为,代码气味和重构可以被认为是一个硬币的两面。此外,我们还确定了重构如何影响质量属性,而不是代码气味。我们还讨论了这项工作的从业人员,研究人员和教师的影响。我们确定了13个开放的问题,可以指导未来的研究工作。因此,我们想强调在当前软件工程研究中代码气味和重构之间的差距。我们希望这项工作能够帮助软件工程研究社区在未来的代码气味和重构工作中进行合作。

英文摘要:

In this paper, we present a tertiary systematic literature review of previous surveys, secondary systematic literature reviews, and systematic mappings. We identify the main observations (what we know) and challenges (what we do not know) on code smells and refactoring. We show that code smells and refactoring have a strong relationship with quality attributes, i.e., with understandability, maintainability, testability, complexity, functionality, and reusability. We argue that code smells and refactoring could be considered as the two faces of a same coin. Besides, we identify how refactoring affects quality attributes, more than code smells. We also discuss the implications of this work for practitioners, researchers, and instructors. We identify 13 open issues that could guide future research work. Thus, we want to highlight the gap between code smells and refactoring in the current state of software-engineering research. We wish that this work could help the software-engineering research community in collaborating on future work on code smells and refactoring.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑