• DocumentCode
    2329844
  • Title

    Code Search via Topic-Enriched Dependence Graph Matching

  • Author

    Wang, Shaowei ; Lo, David ; Jiang, Lingxiao

  • Author_Institution
    Sch. of Inf. Syst., Singapore Manage. Univ., Singapore, Singapore
  • fYear
    2011
  • fDate
    17-20 Oct. 2011
  • Firstpage
    119
  • Lastpage
    123
  • 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.
  • Keywords
    natural languages; query languages; query processing; search engines; software maintenance; source coding; code fragments; code snippet retrieval; control dependencies; expressive user queries; high-level semantic; low level data; natural language; query topics; semantic code search; semantic dependence search engine; software maintenance tasks; source code; specialized graph query language; topic enriched dependence graph matching; Decoding; Engines; Query processing; Reactive power; Search engines; Semantics; Syntactics; Code search; dependence graphs; topic modellin;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Reverse Engineering (WCRE), 2011 18th Working Conference on
  • Conference_Location
    Limerick
  • ISSN
    1095-1350
  • Print_ISBN
    978-1-4577-1948-6
  • Type

    conf

  • DOI
    10.1109/WCRE.2011.69
  • Filename
    6079834