Title :
On the value of static analysis for fault detection in software
Author :
Zheng, Jiang ; Williams, Laurie ; Nagappan, Nachiappan ; Snipes, Will ; Hudepohl, John P. ; Vouk, Mladen A.
Author_Institution :
Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
fDate :
4/1/2006 12:00:00 AM
Abstract :
No single software fault-detection technique is capable of addressing all fault-detection concerns. Similarly to software reviews and testing, static analysis tools (or automated static analysis) can be used to remove defects prior to release of a software product. To determine to what extent automated static analysis can help in the economic production of a high-quality product, we have analyzed static analysis faults and test and customer-reported failures for three large-scale industrial software systems developed at Nortel Networks. The data indicate that automated static analysis is an affordable means of software fault detection. Using the orthogonal defect classification scheme, we found that automated static analysis is effective at identifying assignment and checking faults, allowing the later software production phases to focus on more complex, functional, and algorithmic faults. A majority of the defects found by automated static analysis appear to be produced by a few key types of programmer errors and some of these types have the potential to cause security vulnerabilities. Statistical analysis results indicate the number of automated static analysis faults can be effective for identifying problem modules. Our results indicate static analysis tools are complementary to other fault-detection techniques for the economic production of a high-quality software product.
Keywords :
fault diagnosis; program diagnostics; software quality; Nortel Networks; automated static analysis; code inspection; high-quality software product; industrial software system; orthogonal defect classification scheme; programmer error; security vulnerability; software fault-detection; static analysis tool; Automatic testing; Computer industry; Failure analysis; Fault detection; Fault diagnosis; Large-scale systems; Production systems; Software testing; Software tools; System testing; Code inspections; walkthroughs.;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.2006.38