Paper record

W3140738358

A Case Study Implementing Features Using AspectJ

Christian Kästner, Sven Apel, Don S. Batory

Year
2007
Venue
International Software Product Line Conference (SPLC)
References
42
Cited by
216

Details and counts from OpenAlex.

Abstract

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 noticeable 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.