Portfolio: finding relevant functions and their usage

Portfolio: finding relevant functions and their usage,10.1145/1985793.1985809,Collin McMillan,Mark Grechanik,Denys Poshyvanyk,Qing Xie,Chen Fu

Portfolio: finding relevant functions and their usage   (Citations: 3)
BibTex | RIS | RefWorks Download
Different studies show that programmers are more interested in finding definitions of functions and their uses than variables, statements, or arbitrary code fragments [30, 29, 31]. Therefore, programmers require support in finding relevant functions and determining how those functions are used. Unfortunately, existing code search engines do not provide enough of this support to developers, thus reducing the effectiveness of code reuse. We provide this support to programmers in a code search system called Portfolio that retrieves and visualizes relevant functions and their usages. We have built Portfolio using a combination of models that address surfing behavior of programmer and sharing related concepts among functions. We conducted an experiment with 49 professional programmers to compare Portfolio to Google Code Search and Koders using a standard methodology. The results show with strong statistical significance that users find more relevant functions with higher precision with Portfolio than with Google Code Search and Koders.
Cumulative Annual
View Publication
The following links allow you to view full publications. These links are maintained by other sources not affiliated with Microsoft Academic Search.
    • ...We demonstrate a code search system called Portfolio [13] that supports programmers in finding relevant functions that implement high-level requirements reflected in query terms (i.e., finding initial focus points), determining how these functions are used in a way that is highly relevant to the query (i.e., building on found focus points), and visualizing dependencies of the retrieved functions to show their usages...

    Collin McMillanet al. Portfolio: a search engine for finding functions and their usages

    • ...We built a source code search engine called Portfolio that helps programmers find chains of relevant functions which implement high-level concepts expressed in natural-language user queries [6]...
    • ...Please refer to our research paper on Portfolio [6] for more details...

    Collin McMillanet al. Finding relevant functions in millions of lines of code

    • ...In this paper, we cover our preliminary research in Section 2, including our source code search engine Portfolio [16]...
    • ...Our initial effort in this direction is the source code search engine Portfolio [16]...

    Collin McMillanet al. Searching, selecting, and synthesizing source code

Sort by: