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 条
  • [21] Gene Ranking: A Novel Approach Using Multi-Objective Genetic Algorithm
    Das, Priyojit
    Saha, Sujay
    Ghosh, Anupam
    Dey, Kashi Nath
    2018 7TH INTERNATIONAL CONFERENCE ON RELIABILITY, INFOCOM TECHNOLOGIES AND OPTIMIZATION (TRENDS AND FUTURE DIRECTIONS) (ICRITO) (ICRITO), 2018, : 523 - 528
  • [22] A study on the discovery of relevant fuzzy rules using pseudobacterial genetic algorithm
    Nawa, NE
    Furuhashi, T
    Hashiyama, T
    Uchikawa, Y
    IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, 1999, 46 (06) : 1080 - 1089
  • [23] Environmental/economic dispatch using genetic algorithm and fuzzy number ranking method
    Zhang, Guangquan
    Zhang, Guoli
    Lu, Jie
    Lu, Haiyan
    APPLIED ARTIFICIAL INTELLIGENCE, 2006, : 59 - +
  • [24] Partial Rank Aggregation using Multiobjective Genetic Algorithm: Application in Ranking Genes
    Mandal, Monalisa
    Maity, Sheuli
    Mukhopadhyay, Anirban
    2015 EIGHTH INTERNATIONAL CONFERENCE ON ADVANCES IN PATTERN RECOGNITION (ICAPR), 2015, : 234 - 239
  • [25] Ranking pareto optimal solutions in genetic algorithm by using the undifferentiation interval method
    Montusiewicz, J
    IUTAM SYMPOSIUM ON EVOLUTIONARY METHODS IN MECHANICS, 2004, 117 : 265 - 276
  • [26] Online Identification of Photovoltaic Source Parameters by Using a Genetic Algorithm
    Petrone, Giovanni
    Luna, Massimiliano
    La Tona, Giuseppe
    Di Piazza, Maria Carmela
    Spagnuolo, Giovanni
    APPLIED SCIENCES-BASEL, 2018, 8 (01):
  • [27] Genetic algorithm for contaminant source characterization using imperfect sensors
    Preis, Ami
    Ostfeld, Avi
    CIVIL ENGINEERING AND ENVIRONMENTAL SYSTEMS, 2008, 25 (01) : 29 - 39
  • [28] Fuzzy Entropy Thresholding Method Using Adaptive Genetic Algorithm
    Zhang Xuming
    Yin Zhouping
    Xiong Youlun
    PROCEEDINGS OF THE SECOND INTERNATIONAL SYMPOSIUM ON TEST AUTOMATION & INSTRUMENTATION, VOLS 1-2, 2008, : 40 - 43
  • [29] Aerodynamic Optimization of Airfoils Using Adaptive Parameterization and Genetic Algorithm
    M. Ebrahimi
    A. Jahangirian
    Journal of Optimization Theory and Applications, 2014, 162 : 257 - 271
  • [30] Aerodynamic Optimization of Airfoils Using Adaptive Parameterization and Genetic Algorithm
    Ebrahimi, M.
    Jahangirian, A.
    JOURNAL OF OPTIMIZATION THEORY AND APPLICATIONS, 2014, 162 (01) : 257 - 271