Bug Localization Approach using Source Code Structure with Different Structure Fields

被引:0
作者
Swe, Kyaw Ei Ei [1 ]
Oo, Hnin Min [1 ]
机构
[1] Univ Comp Studies, Mandalay, Myanmar
来源
2018 IEEE/ACIS 16TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATION (SERA) | 2018年
关键词
bug localization; code structure; stack-trace; information retrieval; FAULT LOCALIZATION;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In bug localization approach, the information of the bug was used by developer to modify the source code where the errors occurred. To fix the source code that need to be correct is a problem for developer. Numerous automatic bug localization approaches by using information retrieval have been proposed. In this paper, we propose bug localization approach by combining structure of source code with different structure fields, similarity of bugs and stack-trace. It recommends relevance bug files to fix according to their highest scores. We additionally propose bug localization to consider the source code with three difference structure fields. In recent approaches source code files are consider as a single units. It may cause many noises when the source code file is large. We implement our approach on four open source projects (AspectJ, Eclipse and SWT). We then compute our approach in term of top-N rank, mean average precision (MAP) and mean reciprocal rank (MRR) evaluation metrics. The results show that the proposed system achieves significant results.
引用
收藏
页码:159 / 164
页数:6
相关论文
共 18 条
[1]  
[Anonymous], 2008, INTERACTIVE TECHNIQU, DOI DOI 10.1145/1394669.1394685
[2]  
Anvik J., 2006, P 28 INT C SOFTW ENG, P361, DOI DOI 10.1145/1134285.1134336
[3]   Reducing the Effort of Bug Report Triage: Recommenders for Development-Oriented Decisions [J].
Anvik, John ;
Murphy, Gail C. .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2011, 20 (03)
[4]  
Dilshener T, 2016, 13TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2016), P286, DOI [10.1109/MSR.2016.037, 10.1145/2901739.2901775]
[5]   Predicting Effectiveness of IR-Based Bug Localization Techniques [J].
Le, Tien-Duy B. ;
Thung, Ferdian ;
Lo, David .
2014 IEEE 25TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2014, :335-345
[6]   A survey of code-based change impact analysis techniques [J].
Li, Bixin ;
Sun, Xiaobing ;
Leung, Hareton ;
Zhang, Sai .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2013, 23 (08) :613-646
[7]   Bug localization using latent Dirichlet allocation [J].
Lukins, Stacy K. ;
Kraft, Nicholas A. ;
Etzkorn, Letha H. .
INFORMATION AND SOFTWARE TECHNOLOGY, 2010, 52 (09) :972-990
[8]   A Model for Spectra-Based Software Diagnosis [J].
Naish, Lee ;
Lee, Hua Jie ;
Ramamohanarao, Kotagiri .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2011, 20 (03)
[9]  
Rao S., 2011, 8 WORK C MIN SOFTW R, P43, DOI 10.1145/1985441.1985451
[10]  
Saha RK, 2013, IEEE INT CONF AUTOM, P345, DOI 10.1109/ASE.2013.6693093