Quality of Merge-Refactorings for Product Lines

Quality of Merge-Refactorings for Product Lines
复制标题

产品线合并重构的质量

DOI:
--
复制
发表时间:
2013
期刊:
Fundamental Approaches to Software Engineering
影响因子:
--
通讯作者:
M. Chechik
M. Chechik
中科院分区:
--
文献类型:
--
作者:
J. Rubin;M. Chechik

文献摘要

被引文献

相似文献

在本文中,我们考虑了将用统一建模语言描述的相关软件产品重构为注释性产品线表示的问题。我们的方法依赖于识别现有产品中的共性和变异性,并进一步将它们合并到产品线表示中,从而减少重复并促进重用。不同的合并策略可能会产生几个语义上正确但语法上不同的重构结果。根据重构的目标,一个结果可能优先于另一个结果。因此,我们建议使用句法质量函数来捕获目标,并使用该函数来指导合并策略。我们为包含类图和状态图的UML模型定义并实现了一个基于质量的合并重构框架,并报告了我们在三个案例研究中应用该框架的经验。
In this paper, we consider the problem of refactoring related software products specified in UML into annotative product line representations. Our approach relies on identifying commonalities and variabilities in existing products and further merging those into product line representations which reduce duplications and facilitate reuse. Varying merge strategies can lead to producing several semantically correct, yet syntactically different refactoring results. Depending on the goal of the refactoring, one result can be preferred to another. We thus propose to capture the goal using a syntactic quality function and use that function to guide the merge strategy. We define and implement a quality-based merge-refactoring framework for UML models containing class and statechart diagrams and report on our experience applying it on three case-studies.