An AST-Based Approach to Classifying Defects
Authors:
- Changsong LiuCLChangsong Liu
- Yangyang ZhaoYZYangyang Zhao
- Yibiao YangYYYibiao Yang
- Hongmin LuHLHongmin Lu
- Yuming ZhouYZYuming Zhou
- Baowen XuBXBaowen Xu
- 1 August 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 14-21
Abstract
During software development life cycle, a large number of defects could be discovered and reported. Defect classification is essential, as it can help developers better understand the distribution of the defect types and hence help reduce the effort of root cause analysis. In this paper, we proposed an approach to automatically classifying software defects using various features extracted from the Abstract Syntax Tree (AST) of the source code. We evaluated our approach by classifying 1174 defects from MapReduce, Tomcat, and Solr. The experimental results show that the proposed approach can predict interface defects and control/logic defects well.Keywords
This publication has 14 references indexed in Scilit:
- Automatic Defect Categorization2012
- An overview of ensemble methods for binary classifiers in multi-class problems: Experimental study on one-vs-one and one-vs-all schemesPattern Recognition, 2011
- Pitch-density-based features and an SVM binary tree approach for multi-class audio classification in broadcast newsMultimedia Systems, 2010
- Toward an understanding of bug fix patternsEmpirical Software Engineering, 2008
- Change Distilling:Tree Differencing for Fine-Grained Source Code Change ExtractionIEEE Transactions on Software Engineering, 2007
- A software engineering view of user interface design1996
- Orthogonal defect classification-a concept for in-process measurementsIEEE Transactions on Software Engineering, 1992
- The errors of texSoftware: Practice and Experience, 1989
- Collecting and categorizing software error data in an industrial environmentJournal of Systems and Software, 1984
- Software errors and complexity: an empirical investigation0Communications of the ACM, 1984