Can faulty modules be predicted by warning messages of static code analyzer?

  • Authors:
  • Osamu Mizuno;Michi Nakai

  • Affiliations:
  • Kyoto Institute of Technology, Kyoto, Japan;Kyoto Institute of Technology, Kyoto, Japan

  • Venue:
  • Advances in Software Engineering - Special issue on Software Quality Assurance Methodologies and Techniques
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We have proposed a detection method of fault-pronemodules based on the spam filtering technique, "Fault-prone filtering." Faultprone filtering is a method which uses the text classifier (spam filter) to classify source code modules in software. In this study, we propose an extension to use warning messages of a static code analyzer instead of raw source code. Since such warnings include useful information to detect faults, it is expected to improve the accuracy of fault-prone module prediction. From the result of experiment, it is found that warning messages of a static code analyzer are a good source of fault-prone filtering as the original source code. Moreover, it is discovered that it is more effective than the conventional method (that is, without static code analyzer) to raise the coverage rate of actual faulty modules.