{"title":"MULAPI: A Tool for API Method and Usage Location Recommendation","authors":"Congying Xu, Bosen Min, Xiaobing Sun, Jiajun Hu, Bin Li, Yucong Duan","doi":"10.1109/ICSE-Companion.2019.00053","DOIUrl":null,"url":null,"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 featurerelated 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.","PeriodicalId":273100,"journal":{"name":"2019 IEEE/ACM 41st International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)","volume":"74 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE/ACM 41st International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSE-Companion.2019.00053","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10
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 featurerelated 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.