• DocumentCode
    2803176
  • Title

    Assessing the Relationship between Software Assertions and Faults: An Empirical Investigation

  • Author

    Kudrjavets, Gunnar ; Nagappan, Nachiappan ; Ball, Thomas

  • Author_Institution
    Microsoft Corp., Redmond, WA
  • fYear
    2006
  • fDate
    7-10 Nov. 2006
  • Firstpage
    204
  • Lastpage
    212
  • Abstract
    The use of assertions in software development is thought to help produce quality software. Unfortunately, there is scant empirical evidence in commercial software systems for this argument to date. This paper presents an empirical case study of two commercial software components at Microsoft Corporation. The developers of these components systematically employed assertions, which allowed us to investigate the relationship between software assertions and code quality. We also compare the efficacy of assertions against that of popular bug finding techniques like source code static analysis tools. We observe from our case study that with an increase in the assertion density in a file there is a statistically significant decrease in fault density. Further, the usage of software assertions in these components found a large percentage of the faults in the bug database
  • Keywords
    fault diagnosis; program debugging; program diagnostics; software fault tolerance; software quality; Microsoft Corporation; code quality; fault density; software assertions; software bugs; software components; software development; software faults; software quality; source code static analysis; Application software; Databases; NIST; Performance evaluation; Programming; Software performance; Software quality; Software standards; Software systems; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Reliability Engineering, 2006. ISSRE '06. 17th International Symposium on
  • Conference_Location
    Raleigh, NC
  • ISSN
    1071-9458
  • Print_ISBN
    0-7695-2684-5
  • Type

    conf

  • DOI
    10.1109/ISSRE.2006.14
  • Filename
    4021986