• DocumentCode
    11886
  • Title

    The Effects of Test-Driven Development on External Quality and Productivity: A Meta-Analysis

  • Author

    Rafique, Y. ; Misic, Vojislav

  • Author_Institution
    Ryerson Univ., Toronto, ON, Canada
  • Volume
    39
  • Issue
    6
  • fYear
    2013
  • fDate
    Jun-13
  • Firstpage
    835
  • Lastpage
    856
  • Abstract
    This paper provides a systematic meta-analysis of 27 studies that investigate the impact of Test-Driven Development (TDD) on external code quality and productivity. The results indicate that, in general, TDD has a small positive effect on quality but little to no discernible effect on productivity. However, subgroup analysis has found both the quality improvement and the productivity drop to be much larger in industrial studies in comparison with academic studies. A larger drop of productivity was found in studies where the difference in test effort between the TDD and the control group´s process was significant. A larger improvement in quality was also found in the academic studies when the difference in test effort is substantial; however, no conclusion could be derived regarding the industrial studies due to the lack of data. Finally, the influence of developer experience and task size as moderator variables was investigated, and a statistically significant positive correlation was found between task size and the magnitude of the improvement in quality.
  • Keywords
    program testing; software development management; software quality; TDD; code productivity; code quality; quality improvement; subgroup analysis; systematic meta analysis; test driven development; Computational modeling; Process control; Productivity; Programming; Size measurement; Testing; Test-driven development; agile software development; code quality; meta-analysis; programmer productivity;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2012.28
  • Filename
    6197200