Adaptive Ranking Relevant Source Files for Bug Reports Using Genetic Algorithm

被引:0
作者
Thi Mai Anh Bui [1 ]
Nhat Hai Nguyen [1 ]
机构
[1] Hanoi Univ Sci & Technol, Sch Informat & Commun Technol, Hanoi, Vietnam
来源
NEW TRENDS IN INTELLIGENT SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES | 2021年 / 337卷
关键词
Bug localization; Genetic algorithm; bug report; semantic features; lexical features; LOCALIZATION;
D O I
10.3233/FAIA210042
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Precisely locating buggy files for a given bug report is a cumbersome and time-consuming task, particularly in a large-scale project with thousands of source files and bug reports. An efficient bug localization module is desirable to improve the productivity of the software maintenance phase. Many previous approaches rank source files according to their relevance to a given bug report based on simple lexical matching scores. However, the lexical mismatches between natural language expressions used to describe bug reports and technical terms of software source code might reduce the bug localization system's accuracy. Incorporating domain knowledge through some features such as the semantic similarity, the fixing frequency of a source file, the code change history and similar bug reports is crucial to efficiently locating buggy files. In this paper, we propose a bug localization model, BugLocGA that leverages both lexical and semantic information as well as explores the relation between a bug report and a source file through some domain features. Given a bug report, we calculate the ranking score with every source files through a weighted sum of all features, where the weights are trained through a genetic algorithm with the aim of maximizing the performance of the bug localization model using two evaluation metrics: mean reciprocal rank (MRR) and mean average precision (MAP). The empirical results conducted on some widely-used open source software projects have showed that our model outperformed some state of the art approaches by effectively recommending relevant files where the bug should be fixed.
引用
收藏
页码:430 / 443
页数:14
相关论文
共 50 条
[41]   Intelligent Routing in MANET Using Self-Adaptive Genetic Algorithm [J].
Nareshkumar, R. M. ;
Phanikumar, S. ;
Singh, Manoj Kumar .
ADVANCES IN SYSTEMS, CONTROL AND AUTOMATION, 2018, 442 :595-603
[42]   Rule Acquisition in Data Mining Using a Self Adaptive Genetic Algorithm [J].
Indira, K. ;
Kanmani, S. ;
Sethia, D. Gaurav ;
Kumaran, S. ;
Prabhakar, J. .
TRENDS IN COMPUTER SCIENCE, ENGINEERING AND INFORMATION TECHNOLOGY, 2011, 204 :171-+
[43]   Parameter Optimisation of Artificial Pancreas Adaptive Controller using Genetic Algorithm [J].
Sekaj, Ivan ;
Tarnik, Marian ;
Goga, Rudolf .
INES 2015 - IEEE 19TH INTERNATIONAL CONFERENCE ON INTELLIGENT ENGINEERING SYSTEMS, 2015, :195-200
[44]   Cervical cancer prognosis using genetic algorithm and adaptive boosting approach [J].
Manoj Sharma .
Health and Technology, 2019, 9 :877-886
[45]   Discovery of Interesting Association Rules Using Genetic Algorithm with Adaptive Mutation [J].
Kabir, Mir Md. Jahangir ;
Xu, Shuxiang ;
Kang, Byeong Ho ;
Zhao, Zongyuan .
NEURAL INFORMATION PROCESSING, PT II, 2015, 9490 :96-105
[46]   Reversible Logic Circuit Synthesis and Optimization using Adaptive Genetic Algorithm [J].
Sasamal, Trailokya Nath ;
Singh, Ashutosh Kumar ;
Mohan, Anand .
PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON ECO-FRIENDLY COMPUTING AND COMMUNICATION SYSTEMS, 2015, 70 :407-413
[47]   COMPUTING AN ADAPTIVE MESH IN FLUID PROBLEMS USING NEURAL NETWORK AND GENETIC ALGORITHM WITH ADAPTIVE RELAXATION [J].
El Emam, Nameer N. ;
Shaheed, Rasheed Abdul .
INTERNATIONAL JOURNAL ON ARTIFICIAL INTELLIGENCE TOOLS, 2008, 17 (06) :1089-1108
[48]   Heat Exchanger Ranking Program Using Genetic Algorithm and epsilon-NTU Method for Optimal Design [J].
Lee, Soon Ho ;
Kim, Minsung ;
Ha, Man Yeong ;
Park, Sang-Hu ;
Min, June Kee .
TRANSACTIONS OF THE KOREAN SOCIETY OF MECHANICAL ENGINEERS B, 2014, 38 (11) :925-933
[49]   The inversion of anelastic coefficient, source parameters and site respond using genetic algorithm [J].
刘杰 ;
郑斯华 ;
黄玉龙 .
Acta Seismologica Sinica(English Edition), 2003, (02) :226-232
[50]   Source localization using electric and magnetic point dipoles with modified genetic algorithm [J].
Koivisto, Paivi K. ;
Sten, Johan C. -E. .
INTERNATIONAL JOURNAL OF NUMERICAL MODELLING-ELECTRONIC NETWORKS DEVICES AND FIELDS, 2009, 22 (04) :335-350