Title :
SNIPR: Complementing code search with code retargeting capabilities
Author :
Sanchez, Huascar A.
Author_Institution :
Comput. Sci. Dept., Univ. of California, Santa Cruz, Santa Cruz, CA, USA
Abstract :
This paper sketches a research path that seeks to examine the search for suitable code problem, based on the observation that when code retargeting is included within a code search activity, developers can justify the suitability of these results upfront and thus reduce their searching efforts looking for suitable code. To support this observation, this paper introduces the Snippet Retargeting Approach, or simply SNIPR. SNIPR complements code search with code retargeting capabilities. These capabilities´ intent is to help expedite the process of determining if a found example is a best fit. They do that by allowing developers to explore code modification ideas in place, without requiring to leave the search interface. With SNIPR, developers engage in a virtuous loop where they find code, retarget code, and select only code choices they can justify as suitable. This assures immediate feedback on retargeted examples and thus saves valuable time searching for appropriate code.
Keywords :
program compilers; SNIPR; code problem; code retargeting capabilities; code search activity; complementing code search; research path; snippet retargeting approach; Conferences; Presses; Programming; Prototypes; Search engines; Search problems; Software engineering;
Conference_Titel :
Software Engineering (ICSE), 2013 35th International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4673-3073-2
DOI :
10.1109/ICSE.2013.6606733