arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2110.09610cs.SEcs.LG
收藏

用于Source Code分析的机器学习技术综述

A Survey on Machine Learning Techniques for Source Code Analysis

Dalhousie University(达尔豪斯大学);University College London(伦敦大学学院);Queen’s University(女王大学);DevOn;J.S.S. Academy of Technical Education(J.S.S.技术教育学院)

Tushar Sharma, Maria Kechagia, Stefanos Georgiou, Rohit Tiwari, Indira Vats, Hadi Moazen, Federica Sarro

摘要:

机器学习技术的进步鼓励研究人员将这些技术应用于使用源代码分析的无数软件工程任务,例如测试和漏洞检测。如此大量的研究阻碍了社区了解当前的研究景观。本文旨在总结当前应用机器学习进行源代码分析的知识。我们回顾了属于12类软件工程任务的研究,以及相应的机器学习技术,工具和数据集,已被应用于解决这些问题。为此,我们进行了广泛的文献检索,并确定了2011年至2021年间发表的479项主要研究。我们总结了我们的观察和发现的帮助下,确定的研究。我们的研究结果表明,机器学习技术在源代码分析任务中的使用正在不断增加。我们综合了每个任务的常用步骤和整体工作流程,并总结了所采用的机器学习技术。我们确定了一个全面的可用数据集和工具列表,可用于此背景下。最后,本文讨论了在这一领域所面临的挑战,包括标准数据集的可用性,再现性和可复制性,以及硬件资源。

英文摘要:

The advancements in machine learning techniques have encouraged researchers to apply these techniques to a myriad of software engineering tasks that use source code analysis, such as testing and vulnerability detection. Such a large number of studies hinders the community from understanding the current research landscape. This paper aims to summarize the current knowledge in applied machine learning for source code analysis. We review studies belonging to twelve categories of software engineering tasks and corresponding machine learning techniques, tools, and datasets that have been applied to solve them. To do so, we conducted an extensive literature search and identified 479 primary studies published between 2011 and 2021. We summarize our observations and findings with the help of the identified studies. Our findings suggest that the use of machine learning techniques for source code analysis tasks is consistently increasing. We synthesize commonly used steps and the overall workflow for each task and summarize machine learning techniques employed. We identify a comprehensive list of available datasets and tools useable in this context. Finally, the paper discusses perceived challenges in this area, including the availability of standard datasets, reproducibility and replicability, and hardware resources.

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

↑