2009 · 379 citations · 21 references
ComputingComputer ScienceMachine LearningProgramming LanguagesSoftware EngineeringApplication Programming InterfacesSoftware DesignStatic Code AnalysisSuggestion SystemsCode ComprehensionProgram ComprehensionStatic Type CheckingUser Study Evaluation
Current IDE code completion relies solely on static type systems, producing irrelevant suggestions that are alphabetically ordered rather than contextually relevant. The authors aim to develop intelligent code completion systems that learn from existing code repositories. They implemented three repository‑based systems, evaluated them quantitatively, integrated the best into Eclipse, and conducted a user study. Their experiments show that example‑learning code completion significantly outperforms mainstream systems in suggestion relevance, boosting developer productivity.
The suggestions made by current IDE's code completion features are based exclusively on static type system of the programming language. As a result, often proposals are made which are irrelevant for a particular working context. Also, these suggestions are ordered alphabetically rather than by their relevance in a particular context. In this paper, we present intelligent code completion systems that learn from existing code repositories. We have implemented three such systems, each using the information contained in repositories in a different way. We perform a large-scale quantitative evaluation of these systems, integrate the best performing one into Eclipse, and evaluate the latter also by a user study. Our experiments give evidence that intelligent code completion systems which learn from examples significantly outperform mainstream code completion systems in terms of the relevance of their suggestions and thus have the potential to enhance developers' productivity.
21
Pattern Recognition and Machine Learning
Journal of Electronic Imaging · 2007 · 22.1K citations
Nearest neighbor pattern classification
Thomas M. Cover, Peter E. Hart · IEEE Transactions on Information Theory · 1967 · 16.1K citations
Mining association rules between sets of items in large databases
Rakesh Agrawal, Tomasz Imieliński, Arun Swami · 1993 · 14.8K citations · Full text
A Study of Cross-Validation and Bootstrap for Accuracy Estimation and Model Selection
Ron Kohavi · 1995 · 10.7K citations · Full text
Pattern recognition and machine learning
Choice Reviews Online · 2007 · 2.7K citations