On the value of static analysis for fault detection in software

Jiang Zheng, Laurie Williams, Nachiappan Nagappan, Will Snipes, J.P. Hudepohl, Mladen A. Vouk

IEEE Transactions on Software Engineering · 2006 · 281 citations · 32 references

Concepts

TL;DR

Static analysis tools can remove defects before release, offering a complementary approach to reviews and testing, yet no single fault‑detection technique addresses all concerns. The study investigates how automated static analysis can improve the economical production of high‑quality software by analyzing faults and failures in three large Nortel systems. The authors examined static‑analysis faults, test failures, and customer‑reported failures across those systems. Automated static analysis proves affordable, effectively detects assignment and checking faults, identifies key programmer errors that may lead to security vulnerabilities, pinpoints problematic modules, and complements other fault‑detection techniques for economical high‑quality software production.

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.

References

32