Survey of Code Search Based on Deep Learning

5Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Code writing is repetitive and predictable, inspiring us to develop various code intelligence techniques. This survey focuses on code search, that is, to retrieve code that matches a given natural language query by effectively capturing the semantic similarity between the query and code. Deep learning, being able to extract complex semantics information, has achieved great success in this field. Recently, various deep learning methods, such as graph neural networks and pretraining models, have been applied to code search with significant progress. Deep learning is now the leading paradigm for code search. In this survey, we provide a comprehensive overview of deep learning-based code search. We review the existing deep learning-based code search framework that maps query/code to vectors and measures their similarity. Furthermore, we propose a new taxonomy to illustrate the state-of-the-art deep learning-based code search in a three-step process: query semantics modeling, code semantics modeling, and matching modeling, which involves the deep learning model training. Finally, we suggest potential avenues for future research in this promising field.

Cite

CITATION STYLE

APA

Xie, Y., Lin, J., Dong, H., Zhang, L., & Wu, Z. (2023). Survey of Code Search Based on Deep Learning. ACM Transactions on Software Engineering and Methodology, 33(2). https://doi.org/10.1145/3628161

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free