Generating counterexamples of model-based software product lines

被引:0
|
作者
João Bosco Ferreira Filho
Olivier Barais
Mathieu Acher
Jérôme Le Noir
Axel Legay
Benoit Baudry
机构
[1] Université Rennes 1,INRIA and IRISA
[2] INRIA,undefined
[3] Simula Research Lab,undefined
[4] Thales Research and Technology,undefined
关键词
Software product lines; Model-based engineering; Counterexamples;
D O I
暂无
中图分类号
学科分类号
摘要
In a model-based software product line (MSPL), the variability of the domain is characterized in a variability model and the core artifacts are base models conforming to a modeling language (also called metamodel). A realization model connects the features of the variability model to the base model elements, triggering operations over these elements based on a configuration. The design space of an MSPL is extremely complex to manage for the engineer, since the number of variants may be exponential and the derived product models have to be conforming to numerous well-formedness and business rules. In this paper, the objective is to provide a way to generate MSPLs, called counterexamples (also called antipatterns), that can produce invalid product models despite a valid configuration in the variability model. We describe the foundations and motivate the usefulness of counterexamples (e.g., inference of guidelines or domain-specific rules to avoid earlier the specification of incorrect mappings; testing oracles for increasing the robustness of derivation engines given a modeling language). We provide a generic process, based on the common variability language (CVL) to randomly search the space of MSPLs for a specific modeling language. We develop LineGen a tool on top of CVL and modeling technologies to support the methodology and the process. LineGen targets different scenarios and is flexible to work either with just a domain metamodel as input or also with pre-defined variability models and base models. We validate the effectiveness of this process for three formalisms at different scales (up to 247 metaclasses and 684 rules). We also apply the approach in the context of a real industrial scenario involving a large-scale metamodel.
引用
收藏
页码:585 / 600
页数:15
相关论文
共 50 条
  • [41] Managing complexity and variability of a model-based embedded software product line
    Polzer, Andreas
    Merschen, Daniel
    Botterweck, Goetz
    Pleuss, Andreas
    Thomas, Jacques
    Hedenetz, Bernd
    Kowalewski, Stefan
    [J]. INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2012, 8 (01) : 35 - 49
  • [42] On the Use of Test Cases in Model-Based Software Product Line Development
    Knapp, Alexander
    Roggenbach, Markus
    Schlingloff, Bernd-Holger
    [J]. 18TH INTERNATIONAL SOFTWARE PRODUCT LINE CONFERENCE (SPLC 2014), VOL 1, 2014, : 247 - 251
  • [43] PhaDOP: A Pharo framework for implementing software product lines using Delta-Oriented Programming and model-based engineering
    Niang, Boubou Thiam
    Kahn, Giacomo
    Ouzrout, Yacine
    Derras, Mustapha
    Laval, Jannik
    [J]. JOURNAL OF COMPUTER LANGUAGES, 2024, 80
  • [44] Generating Counterexamples for Model Checking by Transformation
    Hamilton, G. W.
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2016, (216): : 65 - 82
  • [45] Model-Based Test Design of Product Lines: Raising Test Design to the Product Line Level
    Lackner, Hartmut
    Thomas, Martin
    Wartenberg, Florian
    Weissleder, Stephan
    [J]. 2014 IEEE SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2014, : 51 - 60
  • [46] Symbolic Model Checking of Software Product Lines
    Classen, Andreas
    Heymans, Patrick
    Schobbens, Pierre-Yves
    Legay, Axel
    [J]. 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, : 321 - 330
  • [47] Modeling and model checking software product lines
    Gruler, Alexander
    Leucker, Martin
    Scheidemann, Kathrin
    [J]. FORMAL METHODS FOR OPEN OBJECT-BASED DISTRIBUTED SYSTEMS, PROCEEDINGS, 2008, 5051 : 113 - 131
  • [48] Multistage Model Transformations in Software Product Lines
    Azevedo, Sofia
    Machado, Ricardo J.
    Muthig, Dirk
    [J]. 2009 FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING ADVANCES (ICSEA 2009), 2009, : 565 - +
  • [49] A Hierarchical Variability Model for Software Product Lines
    Gurov, Dilian
    Ostvold, Bjarte M.
    Schaefer, Ina
    [J]. LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION, AND VALIDATION, 2012, 336 : 181 - +
  • [50] A formal model for Multi Software Product Lines
    Damiani, Ferruccio
    Lienhardt, Michael
    Paolini, Luca
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2019, 172 : 203 - 231