Publication | Closed Access
Type checking annotation-based product lines
175
Citations
59
References
2012
Year
EngineeringEntire Product LineFeatherweight Java CalculusVerificationSoftware EngineeringSoftware AnalysisFormal VerificationDependently Typed ProgrammingStatic CheckingProduct-line-aware Type SystemAnnotation-based Product LinesKnowledge DiscoverySoftware Product LineComputer ScienceType SystemStatic Program AnalysisSoftware DesignAutomated ReasoningProgram AnalysisSoftware TestingFormal MethodsProduct Line Engineering
Software product line engineering is an efficient means of generating 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 them all and ensure properties like type safety for the entire product line. We present a product-line-aware type system that can type check an entire software product line without generating each variant in isolation. Specifically, we extend the Featherweight Java calculus with feature annotations for product-line development and prove formally that all program variants generated from a well typed product line are well typed. Furthermore, we present a solution to the problem of typing mutually exclusive features. We discuss how results from our formalization helped implement our own product-line tool CIDE for full Java and report of our experience with detecting type errors in four existing software product line implementations.
| Year | Citations | |
|---|---|---|
Page 1
Page 1