Evaluating Support for Features in Advanced Modularization Technologies [chapter]

Roberto E. Lopez-Herrejon, Don Batory, William Cook
2005 Lecture Notes in Computer Science  
A software product-line is a family of related programs. Each program is defined by a unique combination of features, where a feature is an increment in program functionality. Modularizing features is difficult, as feature-specific code often cuts across class boundaries. New modularization technologies have been proposed in recent years, but their support for feature modules has not been thoroughly examined. In this paper, we propose a variant of the expression problem as a canonical problem
more » ... product-line design. The problem reveals a set of technology-independent properties that feature modules should exhibit. We use these properties to evaluate five technologies: AspectJ, Hyper/J, Jiazzi, Scala, and AHEAD. The results suggest an abstract model of feature composition that is technology-independent and that relates compositional reasoning with algebraic reasoning 1 . 1. This research is sponsored in part by NSF's Science of Design Project #CCF-0438786. ogy evaluation. A few attempts have been made to compare technologies and evaluate their use to refactor and re-implement systems that are not part of a product family [13][19][30][37]. But for a few studies [16][52][35], the use of new technologies to modularize features in a product line is largely unexplored. In this paper we present a standard problem that exposes common and fundamental issues that are encountered in feature modularity in product-lines. The problem reveals technology-independent properties that feature modules should exhibit. We use these properties to evaluate solutions written in five novel modularization technologies: As-pectJ [1][25], Hyper/J [41][48], Jiazzi [31][32][52], Scala [45][38][39][40], and AHEAD [2][6] . The results suggest a technology-independent model of software composition where the definition and composition of features is governed by algebraic laws. The model provides a framework or set of criteria that a rigorous mathematical presentation should satisfy. Further, it helps reorient the focus on clean and mathematically justifiable abstractions when developing new tool-specific concepts. A Standard Problem: The Expressions Product-Line The Expressions Product-Line (EPL) is based on the extensibility problem also known as the "expression problem" [15] [50]. It is a fundamental problem of software design that consists of extending a data abstraction to support a mix of new operations and data representations. It has been widely studied within the context of programming language design, where the focus is achieving data type and operation extensibility in a type-safe manner. Rather than concentrating on that issue, we consider the design and synthesis aspects of the problem to produce a family of program variations. More concretely, what features are present in the problem? How can they be modularized? And how can they be composed to build all the programs of the product-line? 2.
doi:10.1007/11531142_8 fatcat:e6p74ubxczdclfg5iqscs6hmz4