EUVIMEDEUVIMED entdecken
Crossref

Code Search: A Survey of Techniques for Finding Code

Luca Di Grazia, Michael Pradel

ACM Computing Surveys · 30.11.2023 · 55 (11) · 1-31

DOI: 10.1145/3565971 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Computing Surveys, online erschienen am 09.02.2023. Verfasst von Luca Di Grazia und 1 weiteren Autor:innen. Die Arbeit wurde bisher 61-mal zitiert (Crossref) und nennt 139 Literaturangaben. Gefördert von: European Research Council, German Research Foundation within the ConcSys and DeMoCo.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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.

Förderung

  • European Research Council
  • German Research Foundation within the ConcSys and DeMoCo

Zitieren

APA

Grazia, L. D., & Pradel, M. (2023). Code Search: A Survey of Techniques for Finding Code. ACM Computing Surveys, 55(11), 1-31. https://doi.org/10.1145/3565971

Vancouver

Grazia LD, Pradel M. Code Search: A Survey of Techniques for Finding Code. ACM Computing Surveys. 2023;55(11):1-31. doi:10.1145/3565971

BibTeX
@article{Grazia2023,
  author = {Grazia, Luca Di and Pradel, Michael},
  title = {Code Search: A Survey of Techniques for Finding Code},
  journal = {ACM Computing Surveys},
  year = {2023},
  volume = {55},
  number = {11},
  pages = {1--31},
  doi = {10.1145/3565971}
}
Kostenlos starten →