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 条
  • [21] Adaptive antenna arrays using a genetic algorithm
    Haupt, Randy L.
    Proceedings of the 2006 IEEE Mountain Workshop on Adaptive and Learning Systems, 2006, : 249 - 254
  • [22] Adaptive Decision Fusion using Genetic Algorithm
    Wang, Ji
    Acharya, Sayandeep
    Kam, Moshe
    2016 ANNUAL CONFERENCE ON INFORMATION SCIENCE AND SYSTEMS (CISS), 2016,
  • [23] ADAPTIVE IMAGE SEGMENTATION USING A GENETIC ALGORITHM
    BHANU, B
    LEE, S
    MING, J
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS, 1995, 25 (12): : 1543 - 1567
  • [24] Student Grouping Using Adaptive Genetic Algorithm
    Ciptayani, Putu Indah
    Dewi, Kadek Cahya
    Sentana, I. Wayan Budi
    2016 INTERNATIONAL ELECTRONICS SYMPOSIUM (IES), 2016, : 375 - 379
  • [25] Adaptive image segmentation using a genetic algorithm
    Bhanu, Bir
    Lee, Sungkee
    Ming, John
    IEEE Transactions on Systems, Man and Cybernetics, 1995, 25 (12): : 1543 - 1567
  • [26] Stereo matching using adaptive genetic algorithm
    Dai, Chunni
    Wu, Xiang
    Liu, Jingao
    2008 INTERNATIONAL CONFERENCE ON AUDIO, LANGUAGE AND IMAGE PROCESSING, VOLS 1 AND 2, PROCEEDINGS, 2008, : 1225 - 1228
  • [27] Using adaptive genetic algorithm to identify hysteresis
    Peng, Li
    Wang, Wei
    DCABES 2006 PROCEEDINGS, VOLS 1 AND 2, 2006, : 513 - 518
  • [28] Clustering problem using adaptive genetic algorithm
    Chen, QZ
    Han, JH
    Lai, YG
    He, WX
    Mao, KJ
    ADVANCES IN NATURAL COMPUTATION, PT 3, PROCEEDINGS, 2005, 3612 : 782 - 786
  • [29] ADAPTIVE IMAGE SEGMENTATION USING A GENETIC ALGORITHM
    BHANU, B
    LEE, S
    MING, J
    IMAGE UNDERSTANDING WORKSHOP /, 1989, : 1043 - 1055
  • [30] Ranking distribution grid improvement projects - A solution using genetic algorithm
    Valente, ALC
    Almeida, A
    Strauch, MT
    Araujo, RJP
    Pinho, RD
    2004 IEEE/PES TRANSMISSION & DISTRIBUTION CONFERENCE & EXPOSITION: LATIN AMERICA, 2004, : 117 - 122