Type checking annotation-based product lines
The DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Lecture Notes in Computer Science 1205
(1999) · Industrial Robot: An International Journal · doi:10.1108/ir.1999.04926fae.001 · Cited by 38,662
Kiczales, G. (1996) · ACM Computing Surveys · doi:10.1145/242224.242420 · Cited by 5,133
Software Architecture in Practice
Bass, L., Clements, P., & Kazman, R. (1997) · Cited by 4,995
Component software beyond object oriented programming
Szyperski, C., Gruntz, D., & Murer, S. (2002) · Cited by 4,576
Feature-Oriented Domain Analysis (FODA) Feasibility Study
Kang, K. C., Cohen, S. G., Hess, J. A., Novak, W. E., & Peterson, A. S. (1990) · Defense Technical Information Center (DTIC) · doi:10.21236/ada235785 · Cited by 4,282
Bergmans, L., & Lopes, C. V. (1999) · Lecture Notes in Computer Science · doi:10.1007/3-540-46589-8_17 · Cited by 2,949 · cited 1×
“2004], aspects [Kiczales et al. 1997], and others).”
Generative Programming: Methods, Tools, and Applications
Czarnecki, K., & Eisenecker, U. W. (2000) · Cited by 2,537
Software Product Line Engineering
Pohl, K., Böckle, G., & van der Linden, F. (2005) · Springer eBooks · doi:10.1007/3-540-28901-1 · Cited by 2,358 · cited 7×
“INTRODUCTION Software product line engineering is an ef.cient means of creating a family of related programs for a domain [Bass et al. 1998; Pohl et al. 2005].”
BackgroundMethodInfluentialTypes and Programming Languages
Pierce, B. C. (2002) · Cited by 2,226
Feature Models, Grammars, and Propositional Formulas
Batory, D. S. (2005) · Lecture notes in computer science · doi:10.1007/11554844_3 · Cited by 1,255
N degrees of separation: multi-dimensional separation of concerns
Tarr, P., Ossher, H., Harrison, W., & Sutton, S. M. (1999) · Proceedings of the 21st international conference on Software engineering · doi:10.1145/302405.302457 · Cited by 1,245
A Syntactic Approach to Type Soundness
Wright, A. K., & Felleisen, M. (1994) · Information and Computation · doi:10.1006/inco.1994.1093 · Cited by 1,136
Featherweight Java: a minimal core calculus for Java and GJ
Igarashi, A., Pierce, B. C., & Wadler, P. L. (2001) · ACM Transactions on Programming Languages and Systems · doi:10.1145/503502.503505 · Cited by 1,125
Johnson, R. E., & Foote, B. (1988) · Journal of Object-oriented Programming · Cited by 1,113
Java(TM) Language Specification, The (3rd Edition) (Java (Addison-Wesley))
Gosling, J., Joy, B., Steele, G. L., & Bracha, G. (2005) · Addison-Wesley Professional eBooks · Cited by 767
Automated Reasoning on Feature Models
Benavides, D., Trinidad, P., & Ruiz-Cortés, A. (2005) · Notes on Numerical Fluid Mechanics and Multidisciplinary Design · doi:10.1007/11431855_34 · Cited by 614
Granularity in software product lines
Kästner, C., Apel, S., & Kuhlemann, M. (2008) · Proceedings of the 13th international conference on Software engineering - ICSE '08 · doi:10.1145/1368088.1368131 · Cited by 497
Self-citationFlatt, M., Krishnamurthi, S., & Felleisen, M. (1998) · Proceedings of the 25th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '98 · doi:10.1145/268946.268961 · Cited by 487
Evolving software product lines with aspects: an empirical study on design stability
Figueiredo, E., & Cacho, N. (2008) · Proceedings of the 13th international conference on Software engineering - ICSE '08 · doi:10.1145/1368088.1368124 · Cited by 335
Reverse engineering feature models
She, S., Lotufo, R., Berger, T., Wąsowski, A., & Czarnecki, K. (2011) · Proceedings of the 33rd International Conference on Software Engineering · doi:10.1145/1985793.1985856 · Cited by 302
(1981) · Lecture Notes in Computer Science · doi:10.1007/bfb0035014 · Cited by 296 · cited 1×
“Conditional language constructs have been explored in object-oriented languages at least since CLU [Liskov et al. 1981] and have been studied, for example, in extensions to Cecil [Litvinov 1998], Java [Myers et al.”
BackgroundMetzger, A., Pohl, K., Heymans, P., Schobbens, P., & Saval, G. (2007) · IEEE International Requirements Engineering Conference (RE) · doi:10.1109/re.2007.61 · Cited by 236 · cited 2×
“Thus, we typically need an extra step to check actual variability in the implementation against the intended variability described in the feature model [Metzger et al. 2007; Thaker et al. 2007].”
MethodSAT-based analysis of feature models is easy
Mendonça, M., Wąsowski, A., & Czarnecki, K. (2009) · doi:10.5555/1753235.1753267 · Cited by 221
Safe composition of product lines
Thaker, S., Batory, D., Kitchin, D., & Cook, W. (2007) · Proceedings of the 6th international conference on Generative programming and component engineering · doi:10.1145/1289971.1289989 · Cited by 217 · cited 13×
“Thus, we typically need an extra step to check actual variability in the implementation against the intended variability described in the feature model [Metzger et al. 2007; Thaker et al. 2007].”
BackgroundMethodInfluentialComposition validation and subjectivity in GenVoca generators
Batory, D. S., & Geraci, B. J. (1997) · IEEE Transactions on Software Engineering · doi:10.1109/32.585497 · Cited by 174 · cited 1×
“To ensure correctness, testing a single program is no longer sufficient; out of millions of variants, errors may occur in a few variants that offer a certain feature or feature combination [Pohl et al. 2005; Thaker et al. 2007; Czarnecki and Pietroszek 2006; Batory and Geraci 1997].”
BackgroundType safety for feature-oriented product lines
Apel, S., Kästner, C., Größlinger, A., & Lengauer, C. (2010) · Automated Software Engineering · doi:10.1007/s10515-010-0066-8 · Cited by 131
Self-citationAtkins, D. L., Ball, T., Graves, T. L., & Mockus, A. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2002.1019478 · Cited by 82
The PURE family of object-oriented operating systems for deeply embedded systems
Beuche, D., Guerrouat, A., Papajewski, H., Schröder‐Preikschat, W., Spinczyk, O., & Spinczyk, U. (2003) · IEEE International Symposium on Real-Time Distributed Computing (ISORC) · doi:10.1109/isorc.1999.776349 · Cited by 56 · cited 2×
“thus does not reduce binary size as sometimes desired in product-line development, especially for embedded systems [Beuche et al., 1999; Lohmann et al., 2006; Rosenmüller et al., 2009].”
BackgroundContraint-based polymorphism in Cecil
Litvinov, V. (1998) · ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA) · doi:10.1145/286936.286979 · Cited by 29 · cited 4×
“, 1981] and have been studied, for example, in extensions to Cecil [Litvinov, 1998], Java [Myers et al.”
BackgroundMethodInfluentialDesign of large-scale polylingual systems
Grechanik, M., Batory, D. S., & Perry, D. E. (2004) · doi:10.5555/998675.999440 · Cited by 25
Verifying architectural design rules of the flight software product line
Ganesan, D., Lindvall, M., Ackermann, C., McComas, D. J., & Bartholomew, M. (2009) · Data Archiving and Networked Services (DANS) · doi:10.5555/1753235.1753258 · Cited by 22
Morphing: Structurally shaping a class by reflecting on others
Huang, S., & Smaragdakis, Y. (2011) · ACM Transactions on Programming Languages and Systems · doi:10.1145/1890028.1890029 · Cited by 21 · cited 1×
“In recent work, they introduced a newer metaprogramming language MorphJ with similar constructs that supports modular type checking and has been proven type sound [Huang and Smaragdakis 2010].”
BackgroundPure Subtype Systems: A Type Theory for Extensible Software
Hutchins, D. S. (2009) · OpenGrey (Institut de l'Information Scientifique et Technique) · Cited by 13
Cited by
A Classification and Survey of Analysis Strategies for Software Product Lines
Thüm, T., Apel, S., Kästner, C., Schaefer, I., & Saake, G. (2014) · ACM Computing Surveys · doi:10.1145/2580950 · Cited by 480
Self-citationVariability-aware parsing in the presence of lexical macros and conditional compilation
Kästner, C., Giarrusso, P. G., Rendel, T., Erdweg, S., Ostermann, K., & Berger, T. (2011) · Proceedings of the 2011 ACM international conference on Object oriented programming systems languages and applications · doi:10.1145/2048066.2048128 · Cited by 282
Self-citationToward variability-aware testing
Kästner, C., von Rhein, A., Erdweg, S., Pusch, J., Apel, S., Rendel, T., & Ostermann, K. (2012) · Proceedings of the 4th International Workshop on Feature-Oriented Software Development - FOSD '12 · doi:10.1145/2377816.2377817 · Cited by 63
“For example, most variability-aware type checkers described in the literature follow the white-box strategy [1, 7, 13, 25].”
BackgroundSelf-citation
Metadata
- Authors
- Kästner, C., Apel, S., Thüm, T., & Saake, G.
- Venue
- ACM Transactions on Software Engineering and Methodology
- Published
- 2012-06
- Volume
- 21
- Issue
- 3
- Pages
- 1-39
- ISSN
- 1049-331X (ISSN-L)
- 1557-7392
- OpenAlex
- W2070929035
- Cited by
- 175
- References
- 33
- FWCI
- 24.70
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.