A model of refactoring physically and virtually separated features

A model of refactoring physically and virtually separated features
复制标题

DOI:
10.1145/1621607.1621632
复制
发表时间:
2009-10
期刊:
--
影响因子:
--
通讯作者:
Christian Kästner;S. Apel;Martin Kuhlemann
Christian Kästner;S. Apel;Martin Kuhlemann
中科院分区:
其他
文献类型:
--
作者:
Christian Kästner;S. Apel;Martin Kuhlemann

文献摘要

被引文献

相似文献

使用类细化和方法细化的物理分离和使用#ifdef或锡德注释的虚拟分离是两种竞争的软件产品线实现方法,具有互补的优势。虽然这两种方法主要是单独讨论的,但我们努力整合以利用各自的优势。在本文中,我们通过提供一个支持物理和虚拟分离的模型,并通过描述两个方向的重构,为这样的集成奠定了基础。我们证明重构是完全的,所以每个虚拟分离的产品线都可以自动转换为物理分离的产品线(用细化替换注释),反之亦然。为了证明我们的方法的可行性,我们已经实现了我们的工具锡德的重构,并进行了四个案例研究。
Physical separation with class refinements and method refinements à la AHEAD and virtual separation using annotations à la #ifdef or CIDE are two competing implementation approaches for software product lines with complementary advantages. Although both approaches have been mainly discussed in isolation, we strive for an integration to leverage the respective advantages. In this paper, we lay the foundation for such an integration by providing a model that supports both physical and virtual separation and by describing refactorings in both directions. We prove the refactorings complete, so every virtually separated product line can be automatically transformed into a physically separated one (replacing annotations by refinements) and vice versa. To demonstrate the feasibility of our approach, we have implemented the refactorings in our tool CIDE and conducted four case studies.