Code recommendation based on a degree-of-interest model

Naoya Murakami,Hidehiko Masuhara,Tomoyuki Aotani
DOI: https://doi.org/10.1145/2593822.2593828
2014-01-01
Abstract:Code recommendation systems predict and present what the user is likely to write next by using the user's editing context, namely textual and semantic information about the programs being edited in a programming editor. Most existing systems however use information merely around the cursor position---i.e., the class/method definition at the cursor position---as the editing context. By including the code related to the current method/class, like the callers and callees of the method, recommendation could become more appropriate. We propose to use the user's editing activity for identifying code relevant to the current method/class. Specifically, we use a modified degree-of-interest model in the Mylyn task management tool, and incorporated the model in our repository-based code recommendation system, Selene. This paper reports the design of the system and the results of our initial experiments.
What problem does this paper attempt to address?