Assessing the relationship between software assertions and faults: An empirical investigation

被引:0
|
作者
Kudrjavets, Gunnar [1 ]
Nagappan, Nachiappan [2 ]
Ball, Thomas [2 ]
机构
[1] Microsoft Corp, Redmond, WA 98052 USA
[2] Microsoft Res, Redmond, WA 98052 USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:204 / +
页数:2
相关论文
共 50 条
  • [1] An Empirical Investigation of Relationship between Software Metrics
    Kaur, Sandeep
    Kaur, Kanwaljeet
    Kaur, Navjot
    2015 SECOND INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING AND COMMUNICATION ENGINEERING ICACCE 2015, 2015, : 639 - 643
  • [2] Empirical investigation of the relationship between spectra differences and regression faults
    Harrold, Mary Jean
    Rothermel, Gregg
    Sayre, Kent
    Wu, Rui
    Yi, Liu
    Software Testing Verification and Reliability, 2000, 10 (03) : 171 - 194
  • [3] An empirical investigation of the relationship between spectra differences and regression faults
    Harrold, MJ
    Rothermel, G
    Sayre, K
    Wu, R
    Yi, L
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2000, 10 (03): : 171 - 194
  • [4] On the Relationship of Inconsistent Software Clones and Faults: An Empirical Study
    Wagner, Stefan
    Abdulkhaleq, Asim
    Kaya, Kamer
    Paar, Alexander
    2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 1, 2016, : 79 - 89
  • [5] An empirical investigation of the important relationship between software review meetings process and outcomes
    Wong, YK
    Wilson, D
    PROCEEDINGS OF THE IASTED INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2004, : 422 - 427
  • [6] Assessing the Relationship between Entrepreneurship and Economic Development in the MENA Region: An Empirical Investigation
    Benghalem, Abdelhadi
    Maliki, Samir
    Kertous, Mourad
    Hilmi, Nathalie
    WORLD JOURNAL OF ENTREPRENEURSHIP MANAGEMENT AND SUSTAINABLE DEVELOPMENT, 2022, 18 (05) : 555 - 573
  • [7] ON THE RELATIONSHIP BETWEEN THE OBJECT-ORIENTED PARADIGM AND SOFTWARE REUSE - AN EMPIRICAL-INVESTIGATION
    LEWIS, JA
    HENRY, SM
    KAFURA, DG
    SCHULMAN, RS
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1992, 5 (04): : 35 - 41
  • [8] On Adequacy of Assertions in Automated Test Suites: An Empirical Investigation
    Zhi, Junji
    Garousi, Vahid
    IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2013), 2013, : 382 - 391
  • [9] EMPIRICAL INVESTIGATION OF RELATIONSHIP BETWEEN CONSERVATISM AND SUPERSTITION
    BOSHIER, R
    BRITISH JOURNAL OF SOCIAL AND CLINICAL PSYCHOLOGY, 1973, 12 (SEP): : 262 - 267
  • [10] An empirical investigation of the relationship between workload and performance
    Bruggen, Alexander
    MANAGEMENT DECISION, 2015, 53 (10) : 2377 - 2389