arrow
返回

Automatically identifying code features for software defect prediction: Using AST N-grams

delete2019-02-01
delete65
delete
OA
AI
T
Thomas Shippey
D
David Bowes
T
Tracy Hall *
DOI:10.1016/j.infsof.2018.10.001delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Context Identifying defects in code early is important. A wide range of static code metrics have been evaluated as potential defect indicators. Most of these metrics offer only high level insights and focus on particular pre-selected features of the code. None of the currently used metrics clearly performs best in defect prediction. Objective: We use Abstract Syntax Tree (AST) n-grams to identify features of defective Java code that improve defect prediction performance. Method: Our approach is bottom-up and does not rely on pre-selecting any specific features of code. We use non-parametric testing to determine relationships between AST n-grams and faults in both open source and commercial systems. We build defect prediction models using three machine learning techniques. Results: We show that AST n-grams are very significantly related to faults in some systems, with very large effect sizes. The occurrence of some frequently occurring AST n-grams in a method can mean that the method is up to three times more likely to contain a fault. AST n-grams can have a large effect on the performance of defect prediction models. Conclusions: We suggest that AST n-grams offer developers a promising approach to identifying potentially defective code.
Keyword:
FAULTS
SYSTEM
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

L
Lancaster University
学者数:
9.5K
论文数: 1.1W
被引数: 1.7W
U
University of Hertfordshire
学者数:
4.0K
论文数: 4.4K
被引数: 6.8K
U
University of Central Lancashire
学者数:
2.9K
论文数: 2.9K
被引数: 3.5K
学者 查看更多机构
引用论文

引用论文

A Framework for Evaluating the Results of the SZZ Approach for Identifying Bug-Introducing Changes
err2017-07-01
err139
PREAI
errda Costa, Daniel Alencar; McIntosh, Shane; Shang, Weiyi; Kulesza, Uira; Coelho, Roberta; Hassan, Ahmed E.
err分享
err收藏
Local versus Global Lessons for Defect Prediction and Effort Estimation
err2013-06-01
err169
PREAI
errMenzies, Tim; Butcher, Andrew; Cok, David; Marcus, Andrian; Layman, Lucas; Shull, Forrest; Turhan, Burak; Zimmermann, Thomas
err分享
err收藏
On the relative value of cross-company and within-company data for defect prediction
err2009-01-07
err519
PREAI
errTurhan, Burak; Menzies, Tim; Bener, Ayse B.; Di Stefano, Justin
err分享
err收藏
Comparing the effectiveness of several modeling methods for fault prediction
err2009-06-10
err86
PREAI
errWeyuker, Elaine J.; Ostrand, Thomas J.; Bell, Robert M.
err分享
err收藏
Increasing diversity: Natural language measures for software fault prediction
err2009-11-01
err18
PREAI
errBinkley, David; Feild, Henry; Lawrie, Dawn; Pighin, Maurizio
err分享
err收藏
学者 查看更多内容