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 条
  • [31] Runtime Collaborative-Based Configuration of Software Product Lines
    Pereira, Juliana Alves
    PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 94 - 96
  • [32] AoURN-based modeling and analysis of software product lines
    Mussbacher, Gunter
    Araujo, Joao
    Moreira, Ana
    Amyot, Daniel
    SOFTWARE QUALITY JOURNAL, 2012, 20 (3-4) : 645 - 687
  • [33] Family-Based Deductive Verification of Software Product Lines
    Thuem, Thomas
    Schaefer, Ina
    Apel, Sven
    Hentschel, Martin
    ACM SIGPLAN NOTICES, 2013, 48 (03) : 11 - 20
  • [34] Generating counterexamples for multi-valued model-checking
    Gurfinkel, A
    Chechik, M
    FME 2003: FORMAL METHODS, PROCEEDINGS, 2003, 2805 : 503 - 521
  • [35] Lifting Datalog-Based Analyses to Software Product Lines
    Shahin, Ramy
    Chechik, Marsha
    Salay, Rick
    ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 39 - 49
  • [36] Spectrum-based fault localization in software product lines
    Arrieta, Aitor
    Segura, Sergio
    Markiegi, Urtzi
    Sagardui, Goiuria
    Etxeberria, Leire
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 100 : 18 - 31
  • [37] Potential Synergies of Theorem Proving and Model Checking for Software Product Lines
    Thuem, Thomas
    Meinicke, Jens
    Benduhn, Fabian
    Hentschel, Martin
    von Rhein, Alexander
    Saake, Gunter
    18TH INTERNATIONAL SOFTWARE PRODUCT LINE CONFERENCE (SPLC 2014), VOL 1, 2014, : 177 - 186
  • [38] ProVeLines A Product Line of Verifiers for Software Product Lines
    Cordy, Maxime
    Classen, Andreas
    Heymans, Patrick
    Schobbens, Pierre-Yves
    Legay, Axel
    PROCEEDINGS OF THE 17TH INTERNATIONAL SOFTWARE PRODUCT LINE CONFERENCE CO-LOCATED WORKSHOPS (SPLC'13 WORKSHOPS), 2013, : 141 - 146
  • [39] Key activities for product derivation in software product lines
    Rabiser, Rick
    O'Leary, Padraig
    Richardson, Ita
    JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (02) : 285 - 300
  • [40] Automatic and Incremental Product Optimization for Software Product Lines
    Demuth, Andreas
    Lopez-Herrejon, Roberto E.
    Egyed, Alexander
    2014 IEEE SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2014, : 31 - 40