arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28989cs.SEcs.PL
收藏

广义软件产品线提取

Generalized Software Product Line Extraction

Università degli Studi di Milano(米兰大学)

Federico Bruzzone, Walter Cazzola, Luca Favalli

AI总结:

提出一种与工作台无关的通用协议,通过轻量级依赖单元“原子”从现有软件制品中提取特征模型,并配置和派生软件产品,适用于多种软件产品线。

摘要:

软件产品线(SPL)工程已成功应用于软件开发,通过将软件系统作为模块化特征的组合来获得。然而,现有的SPL工程方法通常绑定到特定的技术空间(如编程语言和组合器)和集成开发环境(IDE),并依赖于对底层技术空间做出强假设的提取机制。这种紧密耦合阻碍了异构开发环境的复用、演进和采用。我们提出了一种通用的、与工作台无关的协议,用于从现有软件制品中提取特征模型,以及配置和派生软件产品。该协议遵循自底向上的方法,基于称为“原子”的轻量级依赖单元,并围绕SPL服务器(与工作台无关)和SPL客户端(具有工作台特定的后端和通用前端)组织提取和配置过程。该协议对底层软件制品假设很少,因此适用于各种SPL。通过一个原型实现展示了该方法的适用性,其中多个子系统可以自由交互和替换而不影响其他子系统。特别地,我们关注该协议在语言产品线(LPL)背景下的应用,展示了其在具体场景中的适用性,同时保持工作台无关性。从底层到顶层,该实现包括:Neverlang语言制品、Java SPL客户端后端、用Go和Prolog编写的无关且可复用的SPL服务器,以及JavaScript SPL客户端前端。

英文摘要:

Software product line (SPL) engineering has been successfully applied to software development by obtaining software systems as compositions of modular features. Existing approaches to SPL engineering, however, are typically bound to a specific technological space (such as, a programming language and a composer) and integrated development environment (IDE), and rely on extraction mechanisms that make strong assumptions on the underlying technological space. This tight coupling hinders reuse, evolution, and adoption of heterogeneous development environments. We propose a general, workbench-agnostic protocol for extracting feature models from existing software artifacts and for configuring and deriving software products. The protocol follows a bottom-up approach based on lightweight dependency units called "atoms", and organizes the extraction and configuration process around an SPL server (workbench-independent) and an SPL client with a workbench-specific backend and a generic frontend. The protocol makes few assumptions on the underlying software artifacts and is therefore applicable to varied SPLs. The applicability of this approach is presented through a prototypical implementation of the architecture in which several subsystems interact and can be swapped freely without affecting the others. In particular, we focus on the application of such a protocol in the context of language product lines (LPLs), demonstrating its applicability to concrete scenarios while preserving workbench-agnosticism. From bottom to top, the implementation comprises: Neverlang language artifacts, a Java SPL client backend, an agnostic and reusable SPL server written in Go and Prolog, and a JavaScript SPL client frontend.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑