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
关键词
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 条
  • [31] Fractal Image Compression Using Genetic Algorithm with Ranking Select Mechanism
    Kulkarni, Amita N.
    Gandhe, S. T.
    Dhulekar, P. A.
    Phade, G. M.
    2015 International Conference on Communication, Information & Computing Technology (ICCICT), 2015,
  • [32] Improving ranking of webpages using user behaviour, a Genetic algorithm approach
    Sameer, Venkata Udaya
    Balabantaray, Rakesh Chandra
    2014 FIRST INTERNATIONAL CONFERENCE ON NETWORKS & SOFT COMPUTING (ICNSC), 2014, : 1 - 4
  • [33] ADAPTIVE SOURCE-CODING USING THE GUAZZO ALGORITHM
    BATTAIL, G
    ANNALES DES TELECOMMUNICATIONS-ANNALS OF TELECOMMUNICATIONS, 1990, 45 (11-12): : 677 - 693
  • [34] An improved evolutionary algorithm for secured image using adaptive genetic algorithm
    Sharma, Monisha
    Kowar, M. K.
    Sharma, Manisha
    JOURNAL OF DISCRETE MATHEMATICAL SCIENCES & CRYPTOGRAPHY, 2008, 11 (06): : 673 - 683
  • [35] Nonlinear blind source separation using a genetic algorithm
    Tan, Y
    Wang, J
    PROCEEDINGS OF THE 2001 CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1 AND 2, 2001, : 859 - 866
  • [36] Estimation of Multiple Source Component using Genetic Algorithm
    Jo, Cheolwoo
    Kim, Jaehee
    WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, WCECS 2011, VOL I, 2011, : 515 - 518
  • [37] Adaptive impedance matching using quantum genetic algorithm
    谭阳红
    陈赛华
    张根苗
    熊智挺
    Journal of Central South University, 2013, 20 (04) : 977 - 981
  • [38] Design of complex adaptive structures using the genetic algorithm
    Bland, SM
    Sheng, LZ
    Kapania, RK
    COMPLEX ADAPTIVE STRUCTURES, 2001, 4512 : 212 - 223
  • [39] An adaptive pointing and correction algorithm using genetic approach
    1600, Science and Engineering Research Support Society, 20 Virginia Court, Sandy Bay, Tasmania, Australia (08):
  • [40] Adaptive PID-control using a genetic algorithm
    van Rensburg, PJ
    Shaw, IS
    vanWyk, JD
    1998 SECOND INTERNATIONAL CONFERENCE ON KNOWLEDGE-BASED INTELLIGENT ELECTRONIC SYSTEMS, KES '98, PROCEEDINGS, VOL 2, 1998, : 133 - +