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 条
  • [1] Generating counterexamples of model-based software product lines
    Ferreira Filho, Joao Bosco
    Barais, Olivier
    Acher, Mathieu
    Le Noir, Jerome
    Legay, Axel
    Baudry, Benoit
    [J]. INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2015, 17 (05) : 585 - 600
  • [2] Model-based safety analysis of software product lines
    de Oliveira, Andre Luiz
    Braga, Rosana T. V.
    Masiero, Paulo Cesar
    Papadopoulos, Yiannis
    Habli, Ibrahim
    Kelly, Tim
    [J]. INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2016, 8 (5-6) : 412 - 426
  • [3] A novel model-based testing approach for software product lines
    Damiani, Ferruccio
    Faitelson, David
    Gladisch, Christoph
    Tyszberowicz, Shmuel
    [J]. SOFTWARE AND SYSTEMS MODELING, 2017, 16 (04): : 1223 - 1251
  • [4] Addressing Metamodel Revisions in Model-Based Software Product Lines
    Font, Jaime
    Arcega, Lorena
    Haugen, Oystein
    Cetina, Carlos
    [J]. ACM SIGPLAN NOTICES, 2016, 51 (03) : 161 - 170
  • [5] A novel model-based testing approach for software product lines
    Ferruccio Damiani
    David Faitelson
    Christoph Gladisch
    Shmuel Tyszberowicz
    [J]. Software & Systems Modeling, 2017, 16 : 1223 - 1251
  • [6] Addressing Metamodel Revisions in Model-Based Software Product Lines
    Font, Jaime
    Arcega, Lorena
    Haugen, Oystein
    Cetina, Carlos
    [J]. GPCE'15: PROCEEDINGS OF THE 2015 ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES, 2015, : 161 - 170
  • [7] Automating the Extraction of Model-based Software Product Lines from Model Variants
    Martinez, Jabier
    Ziadi, Tewfik
    Bissyande, Tegawende F.
    Klein, Jacques
    le Traon, Yves
    [J]. 2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, : 396 - 406
  • [8] Model-Based Security Analysis of Feature-Oriented Software Product Lines
    Peldszus, Sven
    Strueber, Daniel
    Juerjens, Jan
    [J]. PROCEEDINGS OF THE 17TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES (GPCE'18), 2018, : 93 - 106
  • [9] Feature Location in Model-Based Software Product Lines Through a Genetic Algorithm
    Font, Jaime
    Arcega, Lorena
    Haugen, Oystein
    Cetina, Carlos
    [J]. SOFTWARE REUSE: BRIDGING WITH SOCIAL-AWARENESS, 2016, 9679 : 39 - 54
  • [10] Introducing Software Product Lines in Model-Based Design Processes: an Industrial Experience
    Amalfitano, Domenico
    De Simone, Vincenzo
    Fasolino, Anna Rita
    Lubrano, Mario
    Scala, Stefano
    [J]. 2016 13TH WORKING IEEE/IFIP CONFERENCE ON SOFTWARE ARCHITECTURE (WICSA), 2016, : 287 - 290