Mining for Framework Instantiation Pattern Interplays

Research output: Chapter in Book/Report/Conference proceedingConference paperResearch

Abstract

Software frameworks define generic application blueprints which can be instantiated into an application through application-specific instantiation actions such as overriding a method or providing an object that implements an interface. In case the framework’s documentation falls short, developers may use other instantiations of the same framework as a guide to the required instantiation actions. In this paper, we propose an automated approach to mining framework instantiation patterns from existing open-source instantiations. The approach leverages a graph-based representation to capture the common ways of implementing instantiation actions as well as their interplays, so called instantiation interplays. As a case study, we mined for patterns in a set of 2,028 Java projects that instantiate four of the most popular Java frameworks. We also classify the extracted interplays according to the different contexts in which they occur. We found that our approach discovers relevant practices and interplays that are not covered by previous approaches. Our results will allow developers to have a better understanding of the frameworks they instantiate.
Original languageEnglish
Title of host publicationProceedings - 2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation, SCAM 2022
PublisherIEEE
Pages121-131
Number of pages11
VolumeCFP22SRC-ART
ISBN (Electronic)978-1-6654-9609-4
ISBN (Print)121-131
DOIs
Publication statusPublished - 2022
Event2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation (SCAM) - Limassol, Cyprus
Duration: 3 Oct 20224 Oct 2022
Conference number: 22

Publication series

NameProceedings - 2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation, SCAM 2022

Conference

Conference2022 IEEE 22nd International Working Conference on Source Code Analysis and Manipulation (SCAM)
Abbreviated titleSCAM 2022
Country/TerritoryCyprus
CityLimassol
Period3/10/224/10/22

Bibliographical note

Funding Information:
This research was partially funded by the Excellence of Science project 30446992 SECO-Assist financed by F.R.S.-FNRS and FWO-Vlaanderen.

Publisher Copyright:
© 2022 IEEE.

Copyright:
Copyright 2023 Elsevier B.V., All rights reserved.

Keywords

  • pattern mining
  • software libraries
  • software reuse
  • software frameworks
  • software repositories

Fingerprint

Dive into the research topics of 'Mining for Framework Instantiation Pattern Interplays'. Together they form a unique fingerprint.

Cite this