Portfolio: finding relevant functions and their usage

By Collin McMillan, Mark Grechanik, Denys Poshyvanyk, Qing Xie, Chen Fu. International Conference on Software Engineering, 2011

375 citations recorded by the source corpus.

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.

Subfields: Computer Networks and Communications, Information Systems, Information Systems and Management

View Paper: https://www.semanticscholar.org/paper/e819aa348aa29df6afb681d3fdd7f8c8d7560384

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Networks and Communications

  1. Hongyu Zhang
  2. Sunghun Kim
  3. Xiaodong Gu
  4. Anh Tuan Nguyen
  5. Collin McMillan
  6. Tien Nhut Nguyen
  7. Hoan Anh Nguyen
  8. Armando Solar-Lezama

In Information Systems

  1. Hongyu Zhang
  2. Charles Sutton
  3. Premkumar T. Devanbu
  4. Miltiadis Allamanis
  5. Denys Poshyvanyk
  6. Tien Nhut Nguyen
  7. Anh Tuan Nguyen
  8. Swarat Chaudhuri

In Information Systems and Management

  1. Hongyu Zhang
  2. Collin McMillan
  3. Sunghun Kim
  4. Xiaodong Gu
  5. Armando Solar-Lezama
  6. Alexander LeClair
  7. James Koppel
  8. Siyuan Jiang

Citations in the corpus