Bug Localization in Model-Based Systems in the Wild

被引:7
作者
Arcega, Lorena [1 ]
Font, Jaime [1 ]
Haugen, Oystein [2 ]
Cetina, Carlos [1 ]
机构
[1] Univ San Jorge, Esculea Arquitectura & Tecnol, Zaragoza, Spain
[2] Ostfold Univ Coll, Fac Comp Sci, Halden, Norway
关键词
Bug localization; models at runtime; model-driven engineering; FEATURE LOCATION; ALGORITHMS; GUIDE; TESTS;
D O I
10.1145/3472616
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The companies that have adopted the Model-Driven Engineering (MDE) paradigm have the advantage of working at a high level of abstraction. Nevertheless, they have the disadvantage of the lack of tools available to perform bug localization at the model level. In addition, in anMDE context, a bug can be related to different MDE artefacts, such as design-time models, model transformations, or run-time models. Starting the bug localization in the wrong place or with the wrong tool can lead to a result that is unsatisfactory. We evaluate how to apply the existing model-based approaches in order to mitigate the effect of starting the localization in the wrong place. We also take into account that software engineers can refine the results at different stages. In our evaluation, we compare different combinations of the application of bug localization approaches and human refinement. The combination of our approaches plus manual refinement obtains the best results. We performed a statistical analysis to provide evidence of the significance of the results. The conclusions obtained from this evaluation are: humans have to be involved at the right time in the process (or results can even get worse), and artefact-independence can be achieved without worsening the results.
引用
收藏
页数:32
相关论文
共 57 条
[1]  
Affenzeller M, 2009, NUMER INSIGHT, P1, DOI 10.1201/9781420011326
[2]   Bug Localization with Combination of Deep Learning and Information Retrieval [J].
An Ngoc Lam ;
Anh Tuan Nguyen ;
Hoan Anh Nguyen ;
Nguyen, Tien N. .
2017 IEEE/ACM 25TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2017, :218-229
[3]  
[Anonymous], 2010, PROC INT C SOFTW MAI, DOI [10.1109/ICSM.2010.5609691, DOI 10.1109/ICSM.2010.5609691]
[4]   Evolutionary Algorithm for Bug Localization in the Reconfigurations of Models at Runtime [J].
Arcega, Lorena ;
Font, Jaime ;
Cetina, Carlos .
21ST ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2018), 2018, :90-100
[5]   An approach for bug localization in models using two levels: model and metamodel [J].
Arcega, Lorena ;
Font, Jaime ;
Haugen, Oystein ;
Cetina, Carlos .
SOFTWARE AND SYSTEMS MODELING, 2019, 18 (06) :3551-3576
[6]  
Arcega Lorena, 2019, THESIS U OSLO
[7]   A Hitchhiker's guide to statistical tests for assessing randomized algorithms in software engineering [J].
Arcuri, Andrea ;
Briand, Lionel .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2014, 24 (03) :219-250
[8]   Parameter tuning or default values? An empirical investigation in search-based software engineering [J].
Arcuri, Andrea ;
Fraser, Gordon .
EMPIRICAL SOFTWARE ENGINEERING, 2013, 18 (03) :594-623
[9]  
Baker J. E, 1987, Proceedings of the first international conference on genetic algorithms and their applications, V206, P14, DOI DOI 10.1007/S10489-006-0018-Y
[10]   Models@run.time: a guided tour of the state of the art and research challenges [J].
Bencomo, Nelly ;
Goetz, Sebastian ;
Song, Hui .
SOFTWARE AND SYSTEMS MODELING, 2019, 18 (05) :3049-3082