Abstract

AbstractApplication programming interfaces (APIs) play an important role in the increasingly competitive mobile application development industry, as they can greatly improve the efficiency of app development. However, finding proper APIs is often time‐consuming for the gap between the knowledge of APIs and app features. To solve this problem, we give an approach to summarize the wisdom of developers contained in the products in app stores and establish the system of API knowledge indexed by app features for the API recommendation. First, we extract features from the app descriptions and define the feature framework. Second, we parse the APK files of apps to gain the methods in code and APIs called by them and further introduce such API knowledge into the feature framework by utilizing method names as bridges. Finally, according to features in developers' queries, we locate corresponding feature nodes in the API knowledge system and recommend related API knowledge to developers. We conduct experiments based on 38,952 apps from five categories on Google Play, and the experimental results show that our approach has a good recommendation effect for the queries on app features.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call