Software Product Line Conference, International (2007)
Sept. 10, 2007 to Sept. 14, 2007
Christian Kastner , University of Magdeburg, Germany
Sven Apel , University of Passau, Germany
Don Batory , University of Texas at Austin
Software product lines aim to create highly configurable programs from a set of features. Common belief and recent studies suggest that aspects are well-suited for implementing features. We evaluate the suitability of AspectJ with respect to this task by a case study that refactors the embedded database system Berkeley DB into 38 features. Contrary to our initial expectations, the results were not encouraging. As the number of aspects in a feature grows, there is a no- ticeable decrease in code readability and maintainability. Most of the unique and powerful features of AspectJ were not needed. We document where AspectJ is unsuitable for implementing features of refactored legacy applications and explain why
S. Apel, D. Batory and C. Kastner, "A Case Study Implementing Features Using AspectJ," Software Product Line Conference, International(SPLC), Kyoto, Japan, 2007, pp. 223-232.