Title :
Type-Checking Software Product Lines - A Formal Approach
Author :
Kästner, Christian ; Apel, Sven
Author_Institution :
Sch. of Comput. Sci., Univ. of Magdeburg, Magdeburg
Abstract :
A software product line (SPL) is an efficient means to generate a family of program variants for a domain from a single code base. However, because of the potentially high number of possible program variants, it is difficult to test all variants and ensure properties like type-safety for the entire SPL. While first steps to type-check an entire SPL have been taken, they are informal and incomplete. In this paper, we extend the Featherweight Java (FJ) calculus with feature annotations to be used for SPLs. By extending FJ´s type system, we guarantee that - given a well-typed SPL - all possible program variants are well- typed as well. We show how results from this formalization reflect and help implementing our own language-independent SPL tool CIDE.
Keywords :
Java; process algebra; type theory; Featherweight Java calculus; feature annotation; formal approach; program variants; software product lines; type checking; type safety; type system; Calculus; Computer science; Gears; Informatics; Java; Mathematics; Spatial databases; Testing; Transaction databases;
Conference_Titel :
Automated Software Engineering, 2008. ASE 2008. 23rd IEEE/ACM International Conference on
Conference_Location :
L´Aquila
Print_ISBN :
978-1-4244-2187-9
Electronic_ISBN :
1938-4300
DOI :
10.1109/ASE.2008.36