Generative AI for Reengineering Variants into Software Product Lines: An Experience Report - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2023

Generative AI for Reengineering Variants into Software Product Lines: An Experience Report

Résumé

The migration and reengineering of existing variants into a software product line (SPL) is an error-prone and time-consuming activity. Many extractive approaches have been proposed, spanning different activities from feature identification and naming to the synthesis of reusable artefacts. In this paper, we explore how large language model (LLM)-based assistants can support domain analysts and developers. We revisit four illustrative cases of the literature where the challenge is to migrate variants written in different formalism (UML class diagrams, Java, GraphML, statecharts). We systematically report on our experience with ChatGPT-4, describing our strategy to prompt LLMs and documenting positive aspects but also failures. We compare the use of LLMs with state-of-the-art approach, BUT4Reuse. While LLMs offer potential in assisting domain analysts and developers in transitioning software variants into SPLs, their intrinsic stochastic nature and restricted ability to manage large variants or complex structures necessitate a semiautomatic approach, complete with careful review, to counteract inaccuracies.
Fichier principal
Vignette du fichier
FromVariants2SPLWithLLM (2).pdf (643.95 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04160693 , version 1 (12-07-2023)

Licence

Identifiants

Citer

Mathieu Acher, Jabier Martinez. Generative AI for Reengineering Variants into Software Product Lines: An Experience Report. SPLC 2023 - 27th ACM International Systems and Software Product Lines Conference, Aug 2023, Tokyo, Japan. pp.1-9, ⟨10.1145/3579028.3609016⟩. ⟨hal-04160693⟩
268 Consultations
531 Téléchargements

Altmetric

Partager

More