To read this content please select one of the options below:

A study on application programming interface recommendation: state-of-the-art techniques, challenges and future directions

Muhammad Sajid Nawaz (Department of Computer Science, COMSATS University Islamabad (CUI), Islamabad, Pakistan)
Saif Ur Rehman Khan (Department of Computer Science, COMSATS University Islamabad (CUI), Islamabad, Pakistan)
Shahid Hussain (Department of Computer Science and Software Engineering, Penn State University, University Park, Pennsylvania, USA)
Javed Iqbal (Department of Computer Science, COMSATS University Islamabad (CUI), Islamabad, Pakistan)

Library Hi Tech

ISSN: 0737-8831

Article publication date: 18 August 2022

Issue publication date: 1 June 2023

571

Abstract

Purpose

This study aims to identify the developer’s objectives, current state-of-the-art techniques, challenges and performance evaluation metrics, and presents outlines of a knowledge-based application programming interfaces (API) recommendation system for the developers. Moreover, the current study intends to classify current state-of-the-art techniques supporting automated API recommendations.

Design/methodology/approach

In this study, the authors have performed a systematic literature review of studies, which have been published between the years 2004–2021 to achieve the targeted research objective. Subsequently, the authors performed the analysis of 35 primary studies.

Findings

The outcomes of this study are: (1) devising a thematic taxonomy based on the identified developers’ challenges, where mashup-oriented APIs and time-consuming process are frequently encountered challenges by the developers; (2) categorizing current state-of-the-art API recommendation techniques (i.e. clustering techniques, data preprocessing techniques, similarity measurements techniques and ranking techniques); (3) designing a taxonomy based on the identified objectives, where accuracy is the most targeted objective in API recommendation context; (4) identifying a list of evaluation metrics employed to assess the performance of the proposed techniques; (5) performing a SWOT analysis on the selected studies; (6) based on the developer’s challenges, objectives and SWOT analysis, presenting outlines of a recommendation system for the developers and (7) delineating several future research dimensions in API recommendations context.

Research limitations/implications

This study provides complete guidance to the new researcher in the context of API recommendations. Also, the researcher can target these objectives (accuracy, response time, method recommendation, compatibility, user requirement-based API, automatic service recommendation and API location) in the future. Moreover, the developers can overcome the identified challenges (including mashup-oriented API, Time-consuming process, learn how to use the API, integrated problem, API method usage location and limited usage of code) in the future by proposing a framework or recommendation system. Furthermore, the classification of current state-of-the-art API recommendation techniques also helps the researchers who wish to work in the future in the context of API recommendation.

Practical implications

This study not only facilitates the researcher but also facilitates the practitioners in several ways. The current study guides the developer in minimizing the development time in terms of selecting relevant APIs rather than following traditional manual selection. Moreover, this study facilitates integrating APIs in a project. Thus, the recommendation system saves the time for developers, and increases their productivity.

Originality/value

API recommendation remains an active area of research in web and mobile-based applications development. The authors believe that this study acts as a useful tool for the interested researchers and practitioners as it will contribute to the body of knowledge in API recommendations context.

Keywords

Citation

Nawaz, M.S., Khan, S.U.R., Hussain, S. and Iqbal, J. (2023), "A study on application programming interface recommendation: state-of-the-art techniques, challenges and future directions", Library Hi Tech, Vol. 41 No. 2, pp. 355-385. https://doi.org/10.1108/LHT-02-2022-0103

Publisher

:

Emerald Publishing Limited

Copyright © 2022, Emerald Publishing Limited

Related articles