A Semi-Automatic Approach for Extracting Software Product Lines

作者:Valente Marco Tulio*; Borges Virgilio; Passos Leonardo
来源:IEEE Transactions on Software Engineering, 2012, 38(4): 737-754.
DOI:10.1109/TSE.2011.57

摘要

The extraction of nontrivial software product lines (SPL) from a legacy application is a time-consuming task. First, developers must identify the components responsible for the implementation of each program feature. Next, they must locate the lines of code that reference the components discovered in the previous step. Finally, they must extract those lines to independent modules or annotate them in some way. To speed up product line extraction, this paper describes a semi-automatic approach to annotate the code of optional features in SPLs. The proposed approach is based on an existing tool for product line development, called CIDE, that enhances standard IDEs with the ability to associate background colors with the lines of code that implement a feature. We have evaluated and successfully applied our approach to the extraction of optional features from three nontrivial systems: Prevayler (an in-memory database system), JFreeChart (a chart library), and ArgoUML (a UML modeling tool).

  • 出版日期2012-8