Preprocessors (e.g., cpp) provide simple means to manage software product variants by including/excluding required feature code to/from base program. Feature-related customizations occur at variation points in base program marked with preprocessing directives. Problems emerge when the number of inter-dependent features grows, and each feature maps to many variation points in many base program components. Component-based and architecture-centric techniques promoted by a Software Product Line approach to reuse help us contain the impact of some features in small number of base components. Still, accommodating other features into product variants requires fine granular code changes in many components, at many variation points. Fine granular code level changes are often handled by preprocessors, which becomes a source of well-known complications during component customization for reuse. In this paper, we show how some of the common preprocessing problems can be alleviated with a query-based environment that assists programmers in analysis of features handled with preprocessor's directives. We describe problems of preprocessing that can be aided by tool like ours, and problems that we believe are inherent in approaches that attempt to manage features in the base code.
机构:
Georgetown Univ, Washington, DC 20057 USA
New Orleans Reg Hurricane Protect Projec, Natl Acad Comm, New Orleans, LA USAGeorgetown Univ, Washington, DC 20057 USA
Dillon-Merrill, Robin L.
Parnell, Gregory S.
论文数: 0引用数: 0
h-index: 0
机构:
US Mil Acad, West Point, NY 10996 USAGeorgetown Univ, Washington, DC 20057 USA
Parnell, Gregory S.
Buckshaw, Donald L.
论文数: 0引用数: 0
h-index: 0
机构:Georgetown Univ, Washington, DC 20057 USA
Buckshaw, Donald L.
Hensley, William R., Jr.
论文数: 0引用数: 0
h-index: 0
机构:Georgetown Univ, Washington, DC 20057 USA
Hensley, William R., Jr.
Caswell, David J.
论文数: 0引用数: 0
h-index: 0
机构:
US Mil Acad, West Point, NY 10996 USAGeorgetown Univ, Washington, DC 20057 USA