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 条
  • [41] Adaptive spam mail filtering using genetic algorithm
    Sanpakdee, U
    Walairacht, A
    Walairacht, S
    8th International Conference on Advanced Communication Technology, Vols 1-3: TOWARD THE ERA OF UBIQUITOUS NETWORKS AND SOCIETIES, 2006, : U441 - U445
  • [42] Distributed Genetic Algorithm using Automated Adaptive Migration
    Lee, Hyunjung
    Oh, Byonghwa
    Yang, Jihoon
    Kim, Seonho
    2009 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-5, 2009, : 1835 - 1840
  • [43] Adaptive impedance matching using quantum genetic algorithm
    Yang-hong Tan
    Sai-hua Chen
    Gen-miao Zhang
    Zhi-ting Xiong
    Journal of Central South University, 2013, 20 : 977 - 981
  • [44] Design of Jaumann absorbers using adaptive genetic algorithm
    Foroozesh, AR
    Cheldavi, A
    Hodjat, F
    2000 5TH INTERNATIONAL SYMPOSIUM ON ANTENNAS, PROPAGATION AND EM THEORY PROCEEDINGS, 2000, : 227 - 230
  • [45] An Adaptive Leukocyte Nucleus Segmentation Using Genetic Algorithm
    Huang, Der-Chen
    Hung, Kun-Ding
    Chan, Yung-Kuan
    IEEE INTERNATIONAL SYMPOSIUM ON INTELLIGENT SIGNAL PROCESSING AND COMMUNICATIONS SYSTEMS (ISPACS 2012), 2012,
  • [46] Adaptive learning of hypergame situations using a genetic algorithm
    Putro, US
    Kijima, K
    Takahashi, S
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART A-SYSTEMS AND HUMANS, 2000, 30 (05): : 562 - 572
  • [47] Adaptive impedance matching using quantum genetic algorithm
    Tan Yang-hong
    Chen Sai-hua
    Zhang Gen-miao
    Xiong Zhi-ting
    JOURNAL OF CENTRAL SOUTH UNIVERSITY, 2013, 20 (04) : 977 - 981
  • [48] Optimization of Sewer Networks Using an Adaptive Genetic Algorithm
    Haghighi, Ali
    Bakhshipour, Amin E.
    WATER RESOURCES MANAGEMENT, 2012, 26 (12) : 3441 - 3456
  • [49] Adaptive PID-control using a Genetic Algorithm
    Rand Afrikaans Univ, Auckland Park, South Africa
    International Conference on Knowledge-Based Intelligent Electronic Systems, Proceedings, KES, 1998, 2 : 133 - 138
  • [50] Optimization of Sewer Networks Using an Adaptive Genetic Algorithm
    Ali Haghighi
    Amin E. Bakhshipour
    Water Resources Management, 2012, 26 : 3441 - 3456