ABSTRACT
Code Search Engines (CSE) can serve as powerful resources of open source code, as they can search in billions of lines of open source code available on the web. The strength of CSEs can be used for several tasks like searching relevant code samples, identifying hotspots, and finding bugs. However, the major limitations in using CSEs for these tasks are that the returned samples are too many and they are often partial. Our framework addresses the preceding limitations and thereby helps in using CSEs for these tasks. We showed the effectiveness of our framework with two tools developedbased on our framework.
- R. Holmes and G. Murphy. Using structural context to recommend source code examples. In Proc. of ICSE, pages 117--125, 2005. Google ScholarDigital Library
- D. Mandelin, L. Xu, R. Bodik, and D. Kimelman. Jungloid mining: helping to navigate the api jungle. In Proc. of PLDI, pages 48--61, 2005. Google ScholarDigital Library
- N. Sahavechaphan and K. Claypool. XSnippet: Mining For Sample Code. In Proc. of OOPSLA, pages 413--430, 2006. Google ScholarDigital Library
Index Terms
- Exploiting code search engines to improve programmer productivity
Recommendations
Learning to rank code examples for code search engines
Source code examples are used by developers to implement unfamiliar tasks by learning from existing solutions. To better support developers in finding existing solutions, code search engines are designed to locate and rank code examples relevant to user'...
Identifying the Concepts That Are Searchable with Keywords in Code Search Engines
New Frontiers in Artificial IntelligenceAbstractThe (extended position) paper discusses the reason why keyword-based search engines may not be effective in code search, and shows an case study where which kind of concepts in source code can be effectively searched by keyword code search ...
Analyzing and mining a code search engine usage log
This paper presents an analysis of a year long usage log of Koders, the first commercially available Internet-Scale code search engine ( http://www.koders.com ). The usage log comprises about ten million activities from more than three million users. ...
Comments