A method of software defects mining based on static analysis

  • Authors:
  • Xiaochen Lai;Kuanjiu Zhou;Likun Li;Lemin Tang;Yanshuang Yao;Liang Yu

  • Affiliations:
  • Faculty of Electronic Information and Electrical, Dalian University of Technology, Dalian, China,Faculty of Electronic Information and Electrical, Dalian University of Technology, Dalian, China;-;-;-;-;-

  • Venue:
  • IEA/AIE'12 Proceedings of the 25th international conference on Industrial Engineering and Other Applications of Applied Intelligent Systems: advanced research in applied artificial intelligence
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software defects are easy to cause when programming by C++ language, because of its features of flexibility and complexity, as well as its large number of undefined behaviors. According to "MISRA C++ 2008" safe subset, a method of software defects mining is raised based on static analysis technology. Source files can be converted into XML intermediate files, while rules in safe subset are expressed by XQuery expressions. And then match each rule to XML intermediate files to find the location of defects in source files. The experimental result of the prototype system shows that the software defects conflicting to safety rules can be mined effectively with low false alarm rate and low false negative rate.