Title :
Calcite: Completing Code Completion for Constructors Using Crowds
Author :
Mooty, Mathew ; Faulring, Andrew ; Stylos, Jeffrey ; Myers, Brad A.
Author_Institution :
Sch. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA, USA
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 :
application program interfaces; program compilers; API; Calcite; Eclipse plugin; code completion; crowd sourcing; popup completion menu; user perform functions; user program; Context; Databases; Documentation; Electronic mail; Java; Production facilities; Web pages; API Documentation; Crowdsourcing; Eclipse; Natural Programming;
Conference_Titel :
Visual Languages and Human-Centric Computing (VL/HCC), 2010 IEEE Symposium on
Conference_Location :
Leganes
Print_ISBN :
978-1-4244-8485-0
DOI :
10.1109/VLHCC.2010.12