GITFINDER ORK CODEGitSearch free-form search engine for GitHub: We instantiate the CoCaBu approach based on indices of Java files built from GitHub and Q&A posts from Stack Overflow to find the most relevant code examples for developer queries.CoCaBu approach to the vocabulary mismatch problem: We propose a technique for finding relevant code with freeform query terms that describe programming tasks, with no a-priori knowledge on the API keywords to search for.For this step, we crawl a large number of repositories and build upfront a code index of program elements in the source code. (c) Once the augmented query is constructed, CoCaBu searches source files for code locations that match the query terms. To accelerate this step in the search process, CoCaBu builds upfront a snippet index for Q&A posts. GITFINDER ORK GENERATORThe Code Query Generator then creates another query which includes not only the initial user query terms but also program elements. It mainly leverages code snippets in the previously identified posts. (b) CoCaBu then generates an augmented query based on the information in the relevant posts. The role of the Search Proxy is then to forward developer free-form queries to web search engines that can collect and rank entries in Q&A with the most relevant documents for the query. (a) For a given query, CoCaBu first searches for relevant posts in Q&A forums. I.e., a sentence written in a natural language: The search process begins with a free-form query from a user, Figure 1 provides an overview of our approach. The originality of CoCaBu is that it addresses the vocabulary mismatch problem, by expanding/enriching/re-targeting a user's free-form query, building on similar questions in Q&A sites so that a code search engine can find highly relevant code in source code repositories. This approach aims at improving the quality of code examples returned by Internet-scale code search engines by building a Code voCaBulary (CoCaBu). Īpproach: We propose a novel approach to augmenting user queries in a free-form code search scenario. This is known in the literature as the vocabulary mismatch problem. To improve the performance of search engines, the construction of the search space index as well as the mapping process of querying must address the challenge that "no single word can be chosen to describe a programming concept in the best way". Unfortunately, these Internet-scale code search engines have limited performance since they treat source code as natural language documents. To help developers search for source code, several Internet-scale code search engines, such as OpenHub and Codota have been proposed. GITFINDER ORK SOFTWAREMotivation: Code search is an important activity in software development since developers are regularly searching for code examples dealing with diverse programming concepts, APIs, and specific platform peculiarities.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |