• DocumentCode
    3687041
  • Title

    An AST-Based Approach to Classifying Defects

  • Author

    Changsong Liu;Yangyang Zhao;Yibiao Yang;Hongmin Lu;Yuming Zhou;Baowen Xu

  • Author_Institution
    State Key Lab. for Novel Software Technol., Nanjing Univ., Nanjing, China
  • fYear
    2015
  • Firstpage
    14
  • Lastpage
    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
    "Software","Context","Feature extraction","Accuracy","Syntactics","Context modeling","Predictive models"
  • Publisher
    ieee
  • Conference_Titel
    Software Quality, Reliability and Security - Companion (QRS-C), 2015 IEEE International Conference on
  • Type

    conf

  • DOI
    10.1109/QRS-C.2015.15
  • Filename
    7322120