• DocumentCode
    3145545
  • Title

    Integrating code search into the development session

  • Author

    Lee, Mu-Woong ; Hwang, Seung-Won ; Kim, Sunghun

  • Author_Institution
    Pohang Univ. of Sci. & Technol. (POSTECH), Pohang, South Korea
  • fYear
    2011
  • fDate
    11-16 April 2011
  • Firstpage
    1336
  • Lastpage
    1339
  • Abstract
    To support rapid and efficient software development, we propose to demonstrate our tool, integrating code search into software development process. For example, a developer, right during writing a module, can find a code piece sharing the same syntactic structure from a large code corpus representing the wisdom of other developers in the same team (or in the universe of open-source code). While there exist commercial code search engines on the code universe, they treat software as text (thus oblivious of syntactic structure), and fail at finding semantically related code. Meanwhile, existing tools, searching for syntactic clones, do not focus on efficiency, focusing on “post-mortem” usage scenario of detecting clones “after” the code development is completed. In clear contrast, we focus on optimizing efficiency for syntactic code search and making this search “interactive” for large-scale corpus, to complement the existing two lines of research. From our demonstration, we will show how such interactive search supports rapid software development, as similarly claimed lately in SE and HCI communities. As an enabling technology, we design efficient index building and traversal techniques, optimized for code corpus and code search workload. Our tool can identify relevant code in the corpus of 1.7 million code pieces in a sub-second response time, without compromising any accuracy obtained by a state-of-the-art tool, as we report our extensive evaluation results in.
  • Keywords
    program compilers; search engines; software engineering; HCI community; SE community; code corpus; code piece sharing; code search integration; commercial code search engine; interactive search; large scale corpus; post mortem; software development; syntactic clone; syntactic structure; Buildings; Cloning; Indexes; Java; Programming; Search engines; Syntactics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering (ICDE), 2011 IEEE 27th International Conference on
  • Conference_Location
    Hannover
  • ISSN
    1063-6382
  • Print_ISBN
    978-1-4244-8959-6
  • Electronic_ISBN
    1063-6382
  • Type

    conf

  • DOI
    10.1109/ICDE.2011.5767948
  • Filename
    5767948