Software Product Line Refactoring Templates
Laís Neves, Leopoldo Teixeira, Demóstenes Sena, Vander Alves, Uirá Kulesza and Paulo Borba
Abstract for GPCE'2011
The adoption of a product line strategy can bring significant productivity and time to market improvements. On the other hand, evolving a product line is risky because it might impact many products and their users. So, when evolving a product line to introduce new features or to improve its design, it is important to make sure that the behavior of existing products is not affected. In fact, to preserve the behavior of existing products one usually has to analyze different artifacts, like feature models, configuration knowledge and the product line assets. To better understand this process, in this paper we discover and analyze concrete product line evolution scenarios and, based on the results of this study, we describe a number of safe evolution transformation templates that developers can use when working with product lines. For each template, we show examples of their use in existing product lines. We evaluate the templates by also analyzing the evolution of two different product lines and demonstrating that they can express the corresponding modifications and then help to avoid the mistakes that we identified during our analyses.
Safe Evolution Templates for GPCE'2011
- Template 2 - Refactor Asset
- Template 3 - Add New Optional Feature
- Template 4 - Add New Mandatory Feature
- Template 5 - Replace Feature Expression
- Template 6 - Add New Alternative Feature
- Template 7 - Add New OR Feature
- Template 8 - Delete Asset
--
LaisNeves - 20 May 2011 --
LaisNeves - 01 Mar 2011