TY - GEN
T1 - Generative AI for Reengineering Variants into Software Product Lines
T2 - 27th ACM International Systems and Software Product Line Conference, SPLC 2023
AU - Acher, Mathieu
AU - Martinez, Jabier
N1 - Publisher Copyright:
© 2023 ACM.
PY - 2023/8/28
Y1 - 2023/8/28
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=85175977027&partnerID=8YFLogxK
U2 - 10.1145/3579028.3609016
DO - 10.1145/3579028.3609016
M3 - Conference contribution
AN - SCOPUS:85175977027
T3 - ACM International Conference Proceeding Series
SP - 57
EP - 66
BT - 27th ACM International Systems and Software Product Line Conference, SPLC 2023 - Proceedings
A2 - Arcaini, Paolo
A2 - ter Beek, Maurice H.
A2 - Perrouin, Gilles
A2 - Reinhartz-Berger, Iris
A2 - Machado, Ivan
A2 - Vergilio, Silvia Regina
A2 - Rabiser, Rick
A2 - Yue, Tao
A2 - Devroey, Xavier
A2 - Pinto, Monica
A2 - Washizaki, Hironori
PB - Association for Computing Machinery
Y2 - 28 August 2023 through 1 September 2023
ER -