Calcite: Completing Code Completion for Constructors Using Crowds

  • Authors:
  • Mathew Mooty;Andrew Faulring;Jeffrey Stylos;Brad A. Myers

  • Affiliations:
  • -;-;-;-

  • Venue:
  • VLHCC '10 Proceedings of the 2010 IEEE Symposium on Visual Languages and Human-Centric Computing
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Calcite is a new Eclipse plugin that helps address the difficulty of understanding and correctly using an API. Calcite finds the most popular ways to instantiate a given class or interface by using code examples. To allow the users to easily add these object instantiations to their code, Calcite adds items to the popup completion menu that will insert the appropriate code into the user’s program. Calcite also uses crowd sourcing to add to the menu instructions in the form of comments that help the user perform functions that people have identified as missing from the API. In a user study, Calcite improved users’ success rate by 40%.