FOCUS: A Recommender System for Mining API Function Calls and Usage PatternsTechnical Track
Software developers interact with APIs on a daily basis and, therefore, often face the need to learn how to use new APIs suitable for their purposes. Previous work has shown that recommending usage patterns to developers facilitates the learning process. Current approaches to usage pattern recommendation, however, still suffer from high redundancy and poor run-time performance. In this paper, we reformulate the problem of usage pattern recommendation in terms of a collaborative filtering recommender system. We present a new tool, FOCUS, which mines open-source project repositories to recommend API method invocations and usage patterns by analyzing how APIs are used in projects similar to the current project. We evaluate FOCUS on a large number of Java projects extracted from GitHub and Maven Central and find that it outperforms the state-of-the-art approach PAM with regards to success rate, accuracy, and execution time. Results indicate the suitability of context-aware collaborative-filtering recommender systems to provide API usage patterns.
Fri 31 MayDisplayed time zone: Eastern Time (US & Canada) change
16:00 - 17:20 | APIsNew Ideas and Emerging Results / Technical Track / Papers / Demonstrations at Duluth Chair(s): Chris Parnin NCSU | ||
16:00 20mTalk | FOCUS: A Recommender System for Mining API Function Calls and Usage PatternsTechnical Track Technical Track Phuong T. Nguyen University of L’Aquila, Juri Di Rocco Università di L'Aquila, Davide Di Ruscio University of L'Aquila, Lina Ochoa , Thomas Degueule CWI, Netherlands, Massimiliano Di Penta University of Sannio Pre-print | ||
16:20 20mTalk | DRONE: A Tool to Detect and Repair Directive Defects in Java APIs DocumentationDemos Demonstrations Yu Zhou , Xin Yan Nanjing University of Aeronautics and Astronautics, Taolue Chen Birkbeck, University of London, Sebastiano Panichella Zurich University of Applied Science/University of Zurich, Harald Gall University of Zurich | ||
16:40 20mTalk | MULAPI: A Tool for API Method and Usage Location RecommendationDemos Demonstrations Congying Xu Yangzhou University, Bosen Min Yangzhou University, Xiaobing Sun Yangzhou University, Jiajun Hu The Hong Kong University of Science and Technology, Bin Li Yangzhou University, Yucong Duan Hainan University | ||
17:00 10mTalk | API FluencyNIER New Ideas and Emerging Results Romain Robbes Free University of Bozen-Bolzano, Mircea F. Lungu University of Groningen, Andrea Janes | ||
17:10 10mTalk | Discussion Period Papers |