CSCC: Simple, Efficient, Context Sensitive Code Completion
Muhammad Asaduzzaman, Chanchal Kumar Roy, Kevin A. Schneider et al. · IEEE International Conference on Software Maintenance and Evolution (ICSME) · 2014
Code Completion helps developers learn APIs and frees them from remembering every detail. In this paper, we describe a novel technique called CSCC (Context Sensitive Code Completion) for improving the performance of API method call completion. CSCC is context sensitive in that it uses new sources of information as the context of a target method call. CSCC indexes method calls in code examples by their contexts. To recommend completion proposals, CSCC ranks candidate methods by the similarities between their contexts and the context of the target call. Evaluation using a set of subject systems and five popular state of-the-art techniques suggests that CSCC performs better than existing type or example-based code completion systems. We also investigate how the different contextual elements of the target call benefit CSCC.
Cited by 54 works. doi:10.1109/icsme.2014.29
Authors
References
- Introduction to information retrieval
- Similarity estimation techniques from rounding algorithms
- Similarity estimation techniques from rounding algorithms
- Detecting near-duplicates for web crawling
- An Introduction to Information Retrieval
- On the naturalness of software
- How are Java software developers using the Eclipse IDE?
- On the naturalness of software
- Learning from examples to improve code completion systems
- A statistical semantic language model for source code