Calcite: Completing Code Completion for Constructors Using Crowds
Authors:
- Mathew MootyMMMathew Mooty
- Andrew FaulringAFAndrew Faulring
- Jeffrey StylosJSJeffrey Stylos
- Brad A. MyersBMBrad A. Myers
- 1 September 2010
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 19436092,p. 15-22
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%.Keywords
This publication has 8 references indexed in Scilit:
- Improving API documentation using API usage information2009
- Automatically locating framework extension examples2008
- Semi-automating small-scale source code reuse via structural correspondence2008
- Parseweb2007
- XSnippet2006
- Jungloid mining2005
- Using structural context to recommend source code examples2005
- Supporting reuse by delivering task-relevant and personalized information2002