arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.10896cs.SE
收藏

基于软件移植的软件产品线工程

Software Product Line Engineering via Software Transplantation

Leandro O. Souza, Earl T. Barr, Justyna Petke, Eduardo S. Almeida, Paulo Anselmo M. S. Neto

AI总结:

针对软件产品线(SPL)构建与维护成本高、现有工具需人工整合的问题,提出自动化方法Foundry,通过软件移植实现特征提取与迁移,实验显示其迁移速度比SPL专家人工操作快4.8倍。

摘要:

对于生产相关产品的公司而言,软件产品线(Software Product Line,SPL)是一种软件复用方法,能够缩短上市时间、提升软件质量,实现大幅成本削减。但这些收益并非凭空可得:通常需要花费数年时间对代码库进行重新架构和再工程以支持SPL,且一旦采用,还必须进行持续维护。当前的SPL实践依赖一系列为不同再工程阶段定制的工具,开发人员必须对这些工具的输出进行协调与整合。我们提出Foundry,这是一种通用自动化方法,利用软件移植来加快向SPL的转换及SPL的维护工作。Foundry可助力特征提取与迁移,能够高效、重复地移植在多个文件中实现的一系列特征。我们使用Foundry构建了两个有效的产品线,以自动化方式整合了三个真实系统中的特征。此外,我们开展了一项实验,将Foundry的特征迁移效果与人工工作进行对比。结果表明,Foundry跨代码库自动迁移特征的平均速度,比一组SPL专家完成该任务的平均时间快4.8倍。

英文摘要:

For companies producing related products, a Software Product Line (SPL) is a software reuse method that improves time-to-market and software quality, achieving substantial cost reductions.These benefits do not come for free. It often takes years to re-architect and re-engineer a codebase to support SPL and, once adopted, it must be maintained. Current SPL practice relies on a collection of tools, tailored for different reengineering phases, whose output developers must coordinate and integrate. We present Foundry, a general automated approach for leveraging software transplantation to speed conversion to and maintenance of SPL. Foundry facilitates feature extraction and migration. It can efficiently, repeatedly, transplant a sequence of features, implemented in multiple files. We used Foundry to create two valid product lines that integrate features from three real-world systems in an automated way. Moreover, we conducted an experiment comparing Foundry's feature migration with manual effort. We show that Foundry automatically migrated features across codebases 4.8 times faster, on average, than the average time a group of SPL experts took to accomplish the task.

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

↑