A model of refactoring physically and virtually separated features
Open Access
- 4 October 2009
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 45 (2) , 157-166
Abstract
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.Keywords
This publication has 28 references indexed in Scilit:
- Guaranteeing Syntactic Correctness for All Product Line Variants: A Language-Independent Approach2009
- Refactoring Feature ModulesLecture Notes in Computer Science, 2009
- Granularity in software product lines2008
- Safe composition of product lines2007
- Feature oriented refactoring of legacy applications2006
- Classbox/J2005
- Feature Models, Grammars, and Propositional Formulas2005
- Scaling step-wise refinementIEEE Transactions on Software Engineering, 2004
- Modeling Crosscutting in Aspect-Oriented Mechanisms2003
- An empirical analysis of c preprocessor useIEEE Transactions on Software Engineering, 2002