arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.19240cs.SE
收藏

基于深度学习的代码异味检测的数据准备:一项系统文献综述

Data Preparation for Deep Learning based Code Smell Detection: A Systematic Literature Review

Fengji Zhang, Zexian Zhang, Jacky Wai Keung, Xiangru Tang, Zhen Yang, Xiao Yu, Wenhua Hu

AI总结:

本系统文献综述分析了36篇相关论文,探讨了基于深度学习的代码异味检测中的数据准备技术,总结了数据集构建的关键考量、七大挑战与解决方案,并提出了提升数据质量的建议。

摘要:

代码异味检测(CSD)在提升软件质量和可维护性方面发挥着至关重要的作用。并且,深度学习(DL)技术凭借其卓越的性能,已成为CSD的一种极具前景的方法。然而,基于DL的CSD方法的有效性严重依赖于训练数据的质量。尽管其十分重要,但鲜少有人关注对数据准备过程的分析。本系统文献综述分析了基于DL的CSD方法中所使用的数据准备技术。我们筛选了截至2023年12月发表的36篇相关论文,并对构建CSD数据集时的关键考量因素进行了全面分析,包括数据需求、收集、标注和清洗。我们还总结了文献中的七个主要挑战及相应的解决方案。最后,我们为准备和获取高质量CSD数据提供了可操作的建议,强调了数据多样性、标准化和可访问性的重要性。本综述为研究人员和从业者充分发挥DL技术在CSD中的潜力提供了有价值的见解。

英文摘要:

Code Smell Detection (CSD) plays a crucial role in improving software quality and maintainability. And Deep Learning (DL) techniques have emerged as a promising approach for CSD due to their superior performance. However, the effectiveness of DL-based CSD methods heavily relies on the quality of the training data. Despite its importance, little attention has been paid to analyzing the data preparation process. This systematic literature review analyzes the data preparation techniques used in DL-based CSD methods. We identify 36 relevant papers published by December 2023 and provide a thorough analysis of the critical considerations in constructing CSD datasets, including data requirements, collection, labeling, and cleaning. We also summarize seven primary challenges and corresponding solutions in the literature. Finally, we offer actionable recommendations for preparing and accessing high-quality CSD data, emphasizing the importance of data diversity, standardization, and accessibility. This survey provides valuable insights for researchers and practitioners to harness the full potential of DL techniques in CSD.

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

↑