Skip to Main content Skip to Navigation
Journal articles

API library-based identification and documentation of usage patterns

Hamzeh Eyal-Salman 1, 2 
1 MAREL - Models And Reuse Engineering, Languages
LIRMM - Laboratoire d'Informatique de Robotique et de Microélectronique de Montpellier
Abstract : Application programming interfaces (APIs) are important sources for supporting source code reuse as each API provides a large set of pre-implemented functionalities that support programmers to achieve their daily work in different contexts. However, APIs provide huge number of classes and methods that hinder programmers to understand and use APIs. Numerous client-based approaches have been proposed for facilitating APIs usage through identifying frequent usage pattern. Although they represent significant efforts for helping APIs understanding, the client applications are not available for either newly released APIs libraries or APIs that are not widely used. In this paper, a non-client-based approach for frequent usage patterns identification and documentation is proposed. The approach incorporates hierarchical clustering algorithm and API's source code information. An experimental evaluation is conducted using four widely used APIs. For all studied APIs, the results show that the proposed approach is comparable with client-based approaches in terms of usage patterns cohesion.
Document type :
Journal articles
Complete list of metadata
Contributor : Isabelle Gouat Connect in order to contact the contributor
Submitted on : Thursday, September 23, 2021 - 11:38:58 AM
Last modification on : Friday, August 5, 2022 - 3:03:19 PM
Long-term archiving on: : Friday, December 24, 2021 - 8:09:03 PM


Files produced by the author(s)




Hamzeh Eyal-Salman. API library-based identification and documentation of usage patterns. International Journal of Computer Applications in Technology, Inderscience, 2018, 58 (1), pp.63-79. ⟨10.1504/IJCAT.2018.094065⟩. ⟨lirmm-03124055⟩



Record views


Files downloads