APIUaaS: A reference architecture for facilitating API usage from a data analytics perspective

1Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.

Abstract

Source code examples are key resources for software developers to learn application programming interfaces (APIs) and to understand corresponding usage patterns. Developers usually have to utilise, evaluate and understand code examples from multiple sources, which involve heavy manually processing efforts. To reduce such efforts, there has been growing interest in developing source code mining and recommendation systems. This study proposes API usage as a service (APIUaaS), a reference architecture for facilitating API usage, which allows infrastructures to be built for recommending proper API code examples based on semi-automatic data analytics. This reference architecture contains five logical layers and six global-level architectural concerns. API queries are accepted from programmers, and corresponding code example candidates are extracted from the data sources layer. The detailed structural links between API elements and source codes are captured and stored in the data model & code assets layer. During the recommendation phase, API usages mining, clustering and ranking algorithms are enabled in the knowledge discover & intelligent model layer. Services such as code assist and bug detection are assembled in the API usage services layer. Finally, the authors evaluate APIUaaS from three perspectives: Rationality, feasibility, and usability.

Cite

CITATION STYLE

APA

Zhao, J., & Liu, Y. (2019). APIUaaS: A reference architecture for facilitating API usage from a data analytics perspective. IET Software, 13(5), 466–478. https://doi.org/10.1049/iet-sen.2018.5355

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free