arrow
Return

A survey on machine learning techniques applied to source code

delete2024-03-01
delete16
delete
OA
AI
T
Tushar Sharma *
M
Maria Kechagia
S
Stefanos Georgiou
R
Rohit Tiwari
I
Indira Vats
H
Hadi Moazen
F
Federica Sarro
DOI:10.1016/j.jss.2023.111934delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
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 494 studies. 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. Editor's note: Open Science material was validated by the Journal of Systems and Software Open Science Board.
Keywords:
Machine learning for software engineering
Source code analysis
Deep learning
Datasets
Tools
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
8.4K

Organization

Q
queens university - canada
Scholars:
1.8W
Papers: 1.7W
Citations: 29
S
Sharif University of Technology
Scholars:
1.1W
Papers: 1.1W
Citations: 9.5K
U
University College London
Scholars:
7.9W
Papers: 6.2W
Citations: 15.7W
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305
D
Dalhousie University
Scholars:
2.0W
Papers: 1.8W
Citations: 2.3W
researcher View more organizations
Cited Papers

Cited Papers

Augmenting Java method comments generation with context information based on neural networks
err2019-10-01
err30
PREAI
errZhou, Yu; Yan, Xin; Yang, Wenhua; Chen, Taolue; Huang, Zhiqiu
errShare
errSave
Diffusion barrier properties of TaNx films prepared by plasma enhanced atomic layer deposition from PDMAT with N2 or NH3 plasma
err2008-10-01
err0
PREAI
errQi Xie; Jan Musschoot; Christophe Detavernier; Davy Deduytsche; Roland L Van Meirhaeghe; Sven Van den Berghe; Yu-Long Jiang; Guo-Ping Ru; Bing-Zong Li; Xin-Ping Qu
errShare
errSave
Machine learning aided Android malware classification
err2017-07-01
err184
errOAAI
errMilosevic, Nikola; Dehghantanha, Ali; Choo, Kitn-Kwang Raymond
errShare
errSave
The impact factors on the performance of machine learning-based vulnerability detection: A comparative study
err2020-10-01
err32
PREAI
errZheng, Wei; Gao, Jialiang; Wu, Xiaoxue; Liu, Fengyu; Xun, Yuxing; Liu, Guoliang; Chen, Xiang
errShare
errSave
researcher View more