arrow
返回

Code Search: A Survey of Techniques for Finding Code

delete2023-02-09
delete17
delete
OA
AI
L
Luca Di Grazia *
M
Michael Pradel
DOI:10.1145/3565971delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The immense amounts of source code provide ample challenges and opportunities during software development. To handle the size of code bases, developers commonly search for code, e.g., when trying to find where a particular feature is implemented or when looking for code examples to reuse. To support developers in finding relevant code, various code search engines have been proposed. This article surveys 30 years of research on code search, giving a comprehensive overview of challenges and techniques that address them. We discuss the kinds of queries that code search engines support, how to preprocess and expand queries, different techniques for indexing and retrieving code, and ways to rank and prune search results. Moreover, we describe empirical studies of code search in practice. Based on the discussion of prior work, we conclude the article with an outline of challenges and opportunities to be addressed in the future.
Keyword:
Code search
code retrieval
API
learning
survey

期刊

ACM Computing Surveys 封面图
ACM Computing Surveys
IF:
28
论文数:
2.4K
被引数:
3.5W

机构

U
University of Stuttgart
学者数:
1.1W
论文数: 9.4K
被引数: 1.3W
引用论文

引用论文

Neuroscience research in Africa: Current status
err2016-06-01
err0
errOAAI
errFoad Abd-Allah; Najib Kissani; Anthony William; Mohammed Ibrahim Oraby; Ramez Reda Moustafa; Ehab Shaker; Mohamed Soliman El-Tamawy; Raad Shakir
err分享
err收藏
Continental smokers couple mantle degassing and distinctive microbiology within continents
err2016-02-01
err0
errOAAI
errLaura J. Crossey; Karl E. Karlstrom; Brandon Schmandt; Ryan R. Crow; Daniel R. Colman; Brandi Cron; Cristina D. Takacs-Vesbach; Clifford N. Dahm; Diana E. Northup; David R. Hilton; Jason W. Ricketts; Anthony R. Lowry
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
The postnatal development of the spinal cord of the dog
err2004-10-08
err0
PREAI
errMichael W. Fox; Ottilie R. Inman; Williamina A. Himwich
err分享
err收藏
Ion mobility-mass spectrometry separation of steroid structural isomers and epimers
err2016-12-20
err0
PREAI
errChristopher D. Chouinard; Christopher R. Beekman; Robin H. J. Kemperman; Harrison M. King; Richard A. Yost
err分享
err收藏
How Well Do Search Engines Support Code Retrieval on the Web?
err2011-12-01
err75
errOAAI
errSim, Susan Elliott; Umarji, Medha; Ratanotayanon, Sukanya; Lopes, Cristina V.
err分享
err收藏
A test-driven approach to code search and its application to the reuse of auxiliary functionality
err2011-04-01
err35
errOAAI
errLazzarini Lemos, Otavio Augusto; Bajracharya, Sushil; Ossher, Joel; Masiero, Paulo Cesar; Lopes, Cristina
err分享
err收藏
学者 查看更多内容