This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
2012 16th European Conference on Software Maintenance and Reengineering
Identifier-Based Context-Dependent API Method Recommendation
Szeged, Hungary
March 27-March 30
ISBN: 978-0-7695-4666-7
Reuse recommendation systems support the developer by suggesting useful API methods, classes or code snippets based on code edited in the IDE. Existing systems based on structural information, such as type and method usage, are not effective in case of general purpose types such as String. To alleviate this, we propose a recommendation system based on identifiers that utilizes the developer's intention embodied in names of variables, types and methods. We investigate the impact of several variation points of our recommendation algorithm and evaluate the approach for recommending methods from the Java and Eclipse APIs in 9 open source systems. Furthermore, we compare our recommendations to those of a structure-based recommendation system and describe a metric for predicting the expected precision of a recommendation. Our findings indicate that our approach performs significantly better than the structure-based approach.
Index Terms:
software reuse, recommendation system, identifier, data mining
Citation:
Lars Heinemann, Veronika Bauer, Markus Herrmannsdoerfer, Benjamin Hummel, "Identifier-Based Context-Dependent API Method Recommendation," csmr, pp.31-40, 2012 16th European Conference on Software Maintenance and Reengineering, 2012
Usage of this product signifies your acceptance of the Terms of Use.