arrow
Return

API usage pattern recommendation for software development

delete2017-07-01
delete43
PRE
AI
H
Haoran Niu *
I
Iman Keivanloo
Y
Ying Zou
DOI:10.1016/j.jss.2016.07.026delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Application Programming Interfaces (APIs) facilitate pragmatic reuse and improve the productivity of software development. An API usage pattern documents a set of method calls from multiple API classes to achieve a reusable functionality. Existing approaches often use frequent-sequence mining to extract API usage patterns. However, as reported by earlier studies, frequent-sequence mining may not produce a complete set of usage patterns. In this paper, we explore the possibility of mining API usage patterns without relying on frequent-pattern mining. Our approach represents the source code as a network of object usages where an object usage is a set of method calls invoked on a single API class. We automatically extract usage patterns by clustering the data based on the co-existence relations between object usages. We conduct an empirical study using a corpus of 11,510 Android applications. The results demonstrate that our approach can effectively mine API usage patterns with high completeness and low redundancy. We observe 18% and 38% improvement on F-measure and response time respectively comparing to usage pattern extraction using frequent-sequence mining. (C) 2016 Elsevier Inc. All rights reserved.
Keywords:
Usage pattern
Object usage
Clustering
Improving reusability of software libraries through usage pattern mining
err2018-11-01
err41
errOAAI
errSaied, Mohamed Aymen; Ouni, Ali; Sahraoui, Houari; Kula, Raula Gaikovina; Inoue, Katsuro; Lo, David
errShare
errSave
Web API evolution patterns: A usage-driven approach
err2023-04-01
err7
errOAAI
errKoci, Rediana; Franch, Xavier; Jovanovic, Petar; Abello, Alberto
errShare
errSave
MULAPI: Improving API method recommendation with API usage location
err2018-08-01
err38
PREAI
errXu, Congying; Sun, Xiaobing; Li, Bin; Lu, Xintong; Guo, Hongjing
errShare
errSave
Graph Link-Based Prediction for API Usage Recommendation
err2026-05-01
err0
PREAI
errGuo, Junxia; Tao, Yingjie; Lai, Baoqiang; Yu, Bowen; Li, Zheng
errShare
errSave
Understanding the API usage in Java
err2016-05-01
err45
PREAI
errQiu, Dong; Li, Bixin; Leung, Hareton
errShare
errSave
Reverse engineering reusable software components from object-oriented APIs
err2017-09-01
err26
errOAAI
errShatnawi, Anas; Seriai, Abdelhak-Djamel; Sahraoui, Houari; Alshara, Zakarea
errShare
errSave

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
1.0W

Organization

Q
queens university - canada
Scholars:
1.8W
Papers: 1.7W
Citations: 2.1W
Cited Papers

Cited Papers

Comparative Gait Analysis in Progressive Supranuclear Palsy and Parkinson's Disease
err2016-06-09
err0
PREAI
errNoriko Hatanaka; Kota Sato; Nozomi Hishikawa; Mami Takemoto; Yasuyuki Ohta; Toru Yamashita; Koji Abe
errShare
errSave
errShare
errSave