Skip to Main content Skip to Navigation
Conference papers

Identifying software components from object-oriented APIs based on dynamic analysis

Abstract : The reuse at the component level is generally more effective than the one at the object-oriented class level. This is due to the granularity level where components expose their functionalities at an abstract level compared to the fine-grained object-oriented classes. Moreover , components clearly define their dependencies through their provided and required interfaces in an explicit way that facilitates the understanding of how to reuse these components. Therefore, several component identification approaches have been proposed to identify components based on the analysis object-oriented software applications. Nevertheless, most of the existing component identification approaches did not consider co-usage dependencies between API classes to identify classes/methods that can be reused to implement a specific scenario. In this paper, we propose an approach to identify reusable software components in object-oriented APIs, based on the interactions between client applications and the targeted API. As we are dealing with actual clients using the API, dynamic analysis allows to better capture the instances of API usage. Approaches using static analysis are usually limited by the difficulty of handling dynamic features such as polymorphism and class loading. We evaluate our approach by applying it to three Java APIs with eight client applications from the DaCapo benchmark. DaCapo provides a set of pre-defined usage scenarios. The results show that our component identification approach has a very high precision.
Document type :
Conference papers
Complete list of metadatas

Cited literature [37 references]  Display  Hide  Download

https://hal-lirmm.ccsd.cnrs.fr/lirmm-01932804
Contributor : Abdelhak-Djamel Seriai <>
Submitted on : Friday, September 11, 2020 - 10:53:14 AM
Last modification on : Friday, September 11, 2020 - 11:18:02 AM

File

1803.06235.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Anas Shatnawi, Hudhaifa Shatnawi, Mohamed Aymen Saied, Zakarea Al-Shara, Houari Sahraoui, et al.. Identifying software components from object-oriented APIs based on dynamic analysis. ICPC: International Conference on Program Comprehension, May 2018, Gothenburg, Germany. pp.189-199, ⟨10.1145/3196321.3196349⟩. ⟨lirmm-01932804⟩

Share

Metrics

Record views

113

Files downloads

12