Open Access System for Information Sharing

Login Library

 

Article
Cited 6 time in webofscience Cited 7 time in scopus
Metadata Downloads

Surfacing code in the dark: an instant clone search approach SCIE SCOPUS

Title
Surfacing code in the dark: an instant clone search approach
Authors
Park, JWLee, MWRoh, JWHwang, SWKim, S
Date Issued
2014-12
Publisher
Springer
Abstract
In this paper, we study how to "surface" code for instant reference. A traditional mode of surfacing code has been treating code as text and applying keyword search techniques. However, many prior work observes the limitation of such approach: (1) semantic description of code is limited to comments and (2) syntactic keyword is often not selective enough. In contrast, we discuss enabling techniques and scenarios of instant semantic-based surfacing. For example, developers, during a development session, may reference the existing code sharing similar semantics, using his code so far as a query. In addition to such semantic-based surfacing, we also enhance keyword-based surfacing with semantics, by instantly adding semantic tags for code submitted to the repository. To achieve this goal, we first propose scalable indexing structures on vector abstractions of code. Our experimental results show our techniques outperform a state-of-the-art tool in efficiency without compromising accuracy. We then deploy our technique for instant search and tagging scenarios: For instant code search scenario, we demonstrate an instant clone search tool using our techniques, supporting sub-second search over 54 million LOC. For instant code tagging scenario, we propose an automatic instant code tagging algorithm to mine the meaningful tags from clones.
Keywords
Code indexing; Instant code search; Instant code tagging; Software development; DISTANCE
URI
https://oasis.postech.ac.kr/handle/2014.oak/13655
DOI
10.1007/S10115-013-0677-Z
ISSN
0219-1377
Article Type
Article
Citation
KNOWLEDGE AND INFORMATION SYSTEMS, vol. 41, no. 3, page. 727 - 759, 2014-12
Files in This Item:
There are no files associated with this item.

qr_code

  • mendeley

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

Related Researcher

Researcher

황승원HWANG, SEUNG WON
Dept of Computer Science & Enginrg
Read more

Views & Downloads

Browse