Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Evaluating the efficacy of test-driven development: industrial case studies
Bhat T., Nagappan N.  Empirical software engineering (Proceedings of the 2006 ACM/IEEE International Symposium on Empirical Software Engineering, Rio de Janeiro, Brazil, Sep 21-22, 2006)356-363.2006.Type:Proceedings
Date Reviewed: Jun 22 2007

Test-driven development (TDD) reduces defect density by at least a factor of two at the expense of increasing coding time by 15 to 35 percent. Finally, we have measures on which to base project management decisions. Or do we? The measures derive from two industrial case studies at Microsoft called project A and project B. Defect densities from these two projects were compared with defect densities from comparable projects that employed a non-TDD methodology. Managers supplied the estimates of how much employing TDD had increased coding time.

However, we do not know about the operational profiles of the software. Would using the comparable projects more extensively have resulted in the discovery of more defects? Also, we do not know about other software quality assurance activities. What did the test teams do? Developer ability can vary considerably. Yet, project A had six developers, while its comparable project had two. Complexity typically correlates with lines of code (LOC). Yet, project B was one-fifth the size of its comparable project in terms of source LOC. Finally, we do not know about defect severity. Do measured improvements rely on the inclusion of minor defects?

The notion of comparable project used by the authors is fatally flawed, and too much is unknown about the data. The reader cannot simply accept that TDD reduces defect density by at least a factor of two. This paper will only interest those researching test-driven development.

Reviewer:  Andy Brooks Review #: CR134457 (0805-0483)
Bookmark and Share
  Featured Reviewer  
 
Performance Measures (D.2.8 ... )
 
 
Process Metrics (D.2.8 ... )
 
 
Testing And Debugging (D.2.5 )
 
Would you recommend this review?
yes
no
Other reviews under "Performance Measures": Date
Applied software measurement
Jones C., McGraw-Hill, Inc., New York, NY, 1991. Type: Book (9780070328136)
Aug 1 1992
The measurement of locality and the behaviour of programs
Bunt R., Murphy J. The Computer Journal 27(3): 238-253, 1984. Type: Article
Feb 1 1985
Estimating the fault rate function
Jennings T. IBM Systems Journal 31(2): 300-312, 1992. Type: Article
May 1 1994
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy