arrow
返回

Method-level bug localization using hybrid multi-objective search

delete2021-03-01
delete13
PRE
AI
R
Rafi Almhana
Marouane Kessentini 封面图
Marouane Kessentini (Marouane Kessentini) *
M
Mohamed Wiem Mkaouer
DOI:10.1016/j.infsof.2020.106474delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Context: One of the time-consuming maintenance tasks is the localization of bugs especially in large software systems. Developers have to follow a tedious process to reproduce the abnormal behavior then inspect a large number of files. While several studies have been proposed for bugs localization, the majority of them are recommending classes/files as outputs which may still require high inspection effort. Furthermore, there is a significant difference between the natural language used in bug reports and the programming language which limits the efficiency of existing approaches since most of them are mainly based on lexical similarity. : In this paper, we propose an automated approach to find and rank the potential methods in order to localize the source of a bug based on a bug report description. Method: Our approach finds a good balance between minimizing the number of recommended classes and maximizing the relevance of the proposed solution using a hybrid multi-objective optimization algorithm combining local and global search. The relevance of the recommended code fragments is estimated based on the use of the history of changes and bug-fixing, and the lexical similarity between the bug report description and the API documentation. Our approach operates on two main steps. The first step is to find the best set of classes satisfying the two conflicting criteria of relevance and the number of classes to recommend using a global search based on NSGA-II. The second step is to locate the most appropriate methods to inspect, using a local multi objective search based on Simulated Annealing (MOSA) from the list of classes recommended by the first step. Results: We evaluated our system on 6 open source Java projects, using the version of the project before fixing the bug of many bug reports. Our hybrid multi-objective approach is able to successfully locate the true buggy methods within the top 10 recommendations for over 78% of the bug reports leading to a significant reduction of developers' effort comparing to class-level bug localization techniques. Conclusion: The experimental results show that the search-based approach significantly outperforms four state-of-the-art methods in recommending relevant files for bug reports.
Keyword:
Bugs localization
Fault localization
Search-based software engineering
Bug reports
Multi-objective search
Simulated annealing
Software maintenance
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
Bug Localization Model in Source Code Using Ontologies使用本体的源代码中的错误定位模型
err2023-01-01
err0
errOAAI
errDa Silva, Alisson Solitto; Garcia, Rogerio Eduardo; Botega, Leonardo Castro
err分享
err收藏
Search-based software library recommendation using multi-objective optimization使用多目标优化的基于搜索的软件库推荐
err2017-03-01
err62
PREAI
errOuni, Ali; Kula, Raula Gaikovina; Kessentini, Marouane; Ishio, Takashi; German, Daniel M.; Inoue, Katsuro
err分享
err收藏
Hybrid multi-objective cuckoo search with dynamical local search
err2017-07-04
err206
PREAI
errZhang, Maoqing; Wang, Hui; Cui, Zhihua; Chen, Jinjun
err分享
err收藏
err分享
err收藏

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
9.5K

机构

U
university of michigan system
学者数:
593
论文数: 1.5K
被引数: 6.3W
U
university of michigan
学者数:
5.5K
论文数: 2.1K
被引数: 4.3W
引用论文

引用论文

Using genetic algorithms to generate test sequences for complex timed systems
err2012-07-24
err17
PREAI
errNunez, Alberto; Merayo, Mercedes G.; Hierons, Robert M.; Nunez, Manuel
err分享
err收藏
The impact of IR-based classifier configuration on the performance and the effort of method-level bug localization
err2018-10-01
err25
errOAAI
errTantithamthavorn, Chakkrit; Abebe, Surafel Lemma; Hassan, Ahmed E.; Ihara, Akinori; Matsumoto, Kenichi
err分享
err收藏
err分享
err收藏
Search-based metamodel matching with structural and syntactic measures
err2014-11-01
err28
PREAI
errKessentini, Marouane; Ouni, Ali; Langer, Philip; Wirnmer, Manuel; Bechikh, Slim
err分享
err收藏
学者 查看更多内容