skip to main content
10.1109/WCRE.2011.69guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Code Search via Topic-Enriched Dependence Graph Matching

Published: 17 October 2011 Publication History

Abstract

Source code contains textual, structural, and semantic information, which can all be leveraged for effective search. Some studies have proposed semantic code search where users can specify query topics in a natural language. Other studies can search through system dependence graphs. In this paper, we propose a semantic dependence search engine that integrates both kinds of techniques and can retrieve code snippets based on expressive user queries describing both topics and dependencies. Users can specify their search targets in a free form format describing desired topics (i.e., high-level semantic or functionality of the target code); a specialized graph query language allows users to describe low-level data and control dependencies in code and thus helps to refine the queries described in the free format. Our empirical evaluation on a number of software maintenance tasks shows that our search engine can efficiently locate desired code fragments accurately.

Cited By

View all
  • (2023)Big Code Search: A BibliographyACM Computing Surveys10.1145/360490556:1(1-49)Online publication date: 26-Aug-2023
  • (2023)Code Search: A Survey of Techniques for Finding CodeACM Computing Surveys10.1145/356597155:11(1-31)Online publication date: 9-Feb-2023
  • (2020)Semantic code search via equational reasoningProceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/3385412.3386001(1066-1082)Online publication date: 11-Jun-2020
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
WCRE '11: Proceedings of the 2011 18th Working Conference on Reverse Engineering
October 2011
412 pages
ISBN:9780769545820

Publisher

IEEE Computer Society

United States

Publication History

Published: 17 October 2011

Author Tags

  1. Code search
  2. dependence graphs
  3. topic modellin

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Big Code Search: A BibliographyACM Computing Surveys10.1145/360490556:1(1-49)Online publication date: 26-Aug-2023
  • (2023)Code Search: A Survey of Techniques for Finding CodeACM Computing Surveys10.1145/356597155:11(1-31)Online publication date: 9-Feb-2023
  • (2020)Semantic code search via equational reasoningProceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/3385412.3386001(1066-1082)Online publication date: 11-Jun-2020
  • (2017)API usage pattern recommendation for software developmentJournal of Systems and Software10.1016/j.jss.2016.07.026129:C(127-139)Online publication date: 1-Jul-2017
  • (2015)Rethinking user interfaces for feature locationProceedings of the 2015 IEEE 23rd International Conference on Program Comprehension10.5555/2820282.2820304(151-162)Online publication date: 16-May-2015
  • (2015)Interactive code review for systematic changesProceedings of the 37th International Conference on Software Engineering - Volume 110.5555/2818754.2818771(111-122)Online publication date: 16-May-2015
  • (2014)Active code searchProceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering10.1145/2642937.2642947(677-682)Online publication date: 15-Sep-2014
  • (2014)Leveraging machine learning and information retrieval techniques in software evolution tasksACM SIGSOFT Software Engineering Notes10.1145/2557833.256058439:1(1-2)Online publication date: 11-Feb-2014

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media