Exploring API method parameter recommendations
Muhammad Asaduzzaman, Chanchal Kumar Roy, Samiul Monir et al. · IEEE International Conference on Software Maintenance and Evolution (ICSME) · 2015
A number of techniques have been developed that support method call completion. However, there has been little research on the problem of method parameter completion. In this paper, we first present a study that helps us to understand how developers complete method parameters. Based on our observations, we developed a recommendation technique, called Parc, that collects parameter usage context using a source code localness property that suggests that developers tend to collocate related code fragments. Parc uses previous code examples together with contextual and static type analysis to recommend method parameters. Evaluating our technique against the only available state-of-the-art tool using a number of subject systems and different Java libraries shows that our approach has potential. We also explore the parameter recommendation support provided by the Eclipse Java Development Tools (JDT). Finally, we discuss limitations of our proposed technique and outline future research directions.
Cited by 34 works. doi:10.1109/icsm.2015.7332473
Authors
References
- Similarity estimation techniques from rounding algorithms
- Similarity estimation techniques from rounding algorithms
- Detecting near-duplicates for web crawling
- How are Java software developers using the Eclipse IDE?
- Learning from examples to improve code completion systems
- What Makes APIs Hard to Learn? Answers from Developers
- A field study of API learning obstacles
- How Program History Can Improve Code Completion
- On the localness of software
- Automatic method completion