skip to main content
10.1145/1173706.1173738acmconferencesArticle/Chapter ViewAbstractPublication PagesgpceConference Proceedingsconference-collections
Article

Verifying feature-based model templates against well-formedness OCL constraints

Published:22 October 2006Publication History

ABSTRACT

Feature-based model templates have been recently proposed as a approach for modeling software product lines. Unfortunately, templates are notoriously prone to errors that may go unnoticed for long time. This is because such an error is usually exhibited for some configurations only, and testing all configurations is typically not feasible in practice. In this paper, we present an automated verification procedure for ensuring that no ill-structured template instance will be generated from a correct configuration. We present the formal underpinnings of our proposed approach, analyze its complexity, and demonstrate its practical feasibility through a prototype implementation.

References

  1. M. Antkiewicz and K. Czarnecki. FeaturePlugin: Feature modeling plug-in for Eclipse. In OOPSLA'04 Eclipse Technology eXchange (ETX) Workshop, 2004. Paper at http://swen.uwaterloo.ca/~kczarnec/etx04.pdf; software at gp.uwaterloo.ca/fmp. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. D. S. Batory. Feature models, grammars, and propositional formulas. In Software Product Lines Conference (SPLC), volume 3714 of LNCS, pages 7--20. Springer-Verlag, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. K. Czarnecki and M. Antkiewicz. Mapping features to models: A template approach based on superimposed variants. In Generative Programming and Component Enginering (GPCE), volume 3676 of LNCS, pages 422--437. Springer-Verlag, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. K. Czarnecki, S. Helsen, and U. Eisenecker. Formalizing cardinality-based feature models and their specialization. Software Process Improvement and Practice, 10(1):7--29, 2005.Google ScholarGoogle ScholarCross RefCross Ref
  5. K. Czarnecki and C. H. P. Kim. Cardinality-based feature modeling and constraints: a progress report. In International Workshop on Software Factories, San Diego, California, Oct 2005. Paper available at http://www.ece.uwaterloo.ca/~kczarnec/sf05.pdf.Google ScholarGoogle Scholar
  6. M. de Jonge and J. Visser. Grammars as feature diagrams. In ICSR7 Workshop on Generative Programming, pages 23--24, 2002. http://www.cwi.nl/events/2002/GP2002/GP2002.html. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. é. Gagnon. Sablecc: An object-oriented compiler framework. Master's thesis, School of Computer Science, McGill University, Montreal, Mar. 1998. http://sablecc.org.Google ScholarGoogle Scholar
  8. J. Greenfield and K. Short. Software Factories: Assembling Applications with Patterns, Models, Frameworks, and Tools. Wiley, Indianapolis, IN, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. S. Huang, D. Zook, and Y. Smaragdakis. Statically safe program generation with safegen. In Generative Programming and Component Enginering (GPCE), volume 3676 of LNCS, pages 422--437. Springer-Verlag, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. Q. Lau. Domain analysis of e-commerce systems using feature-based model templates. Master's thesis, University of Waterloo, Ontario, Canada, Jan. 2006. http://gp.uwaterloo.ca.Google ScholarGoogle Scholar
  11. Object Management Group. Meta-Object Facility, 2002. http://www.omg.org/technology/documents/formal/mof.htm.Google ScholarGoogle Scholar
  12. Object Management Group. Model-Driven Architecture, 2004. http://www.omg.org/mda.Google ScholarGoogle Scholar
  13. Object Management Group. Unified Modeling Language 2.0, 2005. http://www.omg.org/docs/formal/05-07-04.pdf.Google ScholarGoogle Scholar
  14. OMG. UML 2.0 OCL Specification, 2003. http://www.omg.org/docs/ptc/03-10-14.pdf.Google ScholarGoogle Scholar
  15. M. Richters. A Precise Approach to Validating UML Models and OCL Constraints. PhD thesis, Universität Bremen, 2002. Logos Verlag, Berlin, BISS Monographs, No. 14.Google ScholarGoogle Scholar
  16. Technische Universität Dresden. Dresden OCL Toolkit, 2005. http://dresden-ocl.sourceforge.net/.Google ScholarGoogle Scholar
  17. T. van der Storm. Variability and component composition. In International Conference on Software Reuse (ICSR8), volume 3107 of LNCS, pages 157--166. Springer-Verlag, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  18. J. Whaley. JavaBDD, 2003-2006. Library available at SourceForge, http://javabdd.sourceforge.net/.Google ScholarGoogle Scholar

Index Terms

  1. Verifying feature-based model templates against well-formedness OCL constraints

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          GPCE '06: Proceedings of the 5th international conference on Generative programming and component engineering
          October 2006
          310 pages
          ISBN:1595932372
          DOI:10.1145/1173706

          Copyright © 2006 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 22 October 2006

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          Overall Acceptance Rate56of180submissions,31%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader