• DocumentCode
    3031131
  • 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
  • fYear
    2008
  • fDate
    15-19 Sept. 2008
  • Firstpage
    258
  • Lastpage
    267
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering, 2008. ASE 2008. 23rd IEEE/ACM International Conference on
  • Conference_Location
    L´Aquila
  • ISSN
    1938-4300
  • Print_ISBN
    978-1-4244-2187-9
  • Electronic_ISBN
    1938-4300
  • Type

    conf

  • DOI
    10.1109/ASE.2008.36
  • Filename
    4639329