MULAPI: a tool for API method and usage location recommendation

Congying Xu,Bosen Min,Xiaobing Sun,Jiajun Hu,Bin Li,Yucong Duan
DOI: https://doi.org/10.1109/ICSE-Companion.2019.00053
2019-01-01
Abstract:Software is incrementally evolved as various new feature requests are implemented to meet users' requirements. To accelerate the incoming feature implementation, developers often utilize existing third-party APIs that encapsulate feature-related functionality into simple APIs. However, it is non-trivial for developers to choose which APIs to use and where to use them in a target program since the search space of APIs and their usage locations are usually large. In this paper, we introduce a tool, MULAPI, to facilitate the decision of suitable APIs at potential usage locations for implementing the incoming feature requests. MULAPI combines feature localization and information retrieval techniques to accomplish API recommendation and usage location. Empirical studies demonstrate that MULAPI can effectively recommend correct APIs and their usage locations with higher precision than state-of-the-art approaches. The video of our demo is available at https://youtu.be/s3Cs5ltqdvs.
What problem does this paper attempt to address?