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
来源
International Journal on Software Tools for Technology Transfer | 2015年 / 17卷
关键词
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 条
  • [21] Towards Software Product Lines Based Cloud Architectures
    Abu Matar, Mohammad
    Mizouni, Rabeb
    Alzahmi, Salwa
    2014 IEEE INTERNATIONAL CONFERENCE ON CLOUD ENGINEERING (IC2E), 2014, : 117 - 126
  • [22] Search Based Design of Software Product Lines Architectures
    Colanzi, Thelma Elita
    2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 1507 - 1510
  • [23] Assessing Software Product Line Testing via Model-based Mutation: An Application to Similarity Testing
    Henard, Christopher
    Papadakis, Mike
    Perrouin, Gilles
    Klein, Jacques
    Le Traon, Yves
    IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2013), 2013, : 188 - 197
  • [24] Towards an Architecture Model for Dynamic Software Product Lines Engineering
    dos Santos, Edilton Lima
    Machado, Ivan do Carmo
    2018 IEEE INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION (IRI), 2018, : 31 - 38
  • [25] Probabilistic software product lines
    Camacho, Carlos
    Llana, Luis
    Nunez, Alberto
    Bravetti, Mario
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2019, 107 : 54 - 78
  • [26] Granularity in Software Product Lines
    Kaestner, Christian
    Apel, Sven
    Kuhlemann, Martin
    ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 311 - 320
  • [27] Testing Software Product Lines
    da Mota Silveira Neto, Paulo Anselmo
    Runeson, Per
    Machado, Ivan do Carmo
    de Almeida, Eduardo Santana
    de Lemos Meira, Silvio Romero
    Engstrom, Emelie
    IEEE SOFTWARE, 2011, 28 (05) : 16 - 20
  • [28] A Classification of Product Sampling for Software Product Lines
    Varshosaz, Mahsa
    Al-Hajjaji, Mustafa
    Thum, Thomas
    Runge, Tobias
    Mousavi, Mohammad Reza
    Schaefer, Ina
    SPLC'18: PROCEEDINGS OF THE 22ND INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL 1, 2018, : 1 - 13
  • [29] The Pro-PD Process Model for Product Derivation within software product lines
    O'Leary, Padraig
    de Almeida, Eduardo Santana
    Richardson, Ita
    INFORMATION AND SOFTWARE TECHNOLOGY, 2012, 54 (09) : 1014 - 1028
  • [30] AoURN-based modeling and analysis of software product lines
    Gunter Mussbacher
    João Araújo
    Ana Moreira
    Daniel Amyot
    Software Quality Journal, 2012, 20 : 645 - 687