An information theoretic notion of software testability

被引:1
|
作者
Patel, Krishna [1 ]
Hierons, Robert M. [1 ]
Clark, David [2 ]
机构
[1] Univ Sheffield, Dept Comp Sci, Sheffield S1 4DP, S Yorkshire, England
[2] UCL, Dept Comp Sci, London WC1E 6BT, England
基金
英国工程与自然科学研究理事会;
关键词
Software testability; Information theory; Failed error propagation; SQUEEZINESS;
D O I
10.1016/j.infsof.2021.106759
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: In software testing, Failed Error Propagation (FEP) is the situation in which a faulty program state occurs during the execution of the system under test (SUT) but this does not lead to incorrect output. It is known that FEP can adversely affect software testing and this has resulted in associated information theoretic measures. Objective: To devise measures that can be used to assess the testability of the SUT. By testability, we mean how likely it is that a faulty program state, that occurs during testing, will lead to incorrect output. Previous work has considered a single program point rather than an entire program. Method: New, more fine-grained, measures were devised. Experiments were used to evaluate these and the previously defined measures (Squeeziness and Normalised Squeeziness). The experiments assessed how well these measures correlated with an estimate of the probability of FEP occurring during testing. Mutants were used to estimate this probability. Results: A strong rank correlation was found between several of the measures and the probability of FEP. Importantly, this included the Normalised Squeeziness of the whole SUT, which is simpler to compute, or estimate, than most of the other measures considered. Additional experiments found that the measures were relatively insensitive to the choice of mutants and also test suite. Conclusion: There is scope to use information theoretic measures to estimate how prone an SUT is to FEP. As a result, there is potential to use such measures to prioritise testing or estimate how much testing an SUT might require.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] Information theoretic metrics for software architectures
    Shereshevsky, M
    Ammari, H
    Gradetsky, N
    Mili, A
    Ammar, HH
    25TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE, 2001, : 151 - 157
  • [2] Information-theoretic software clustering
    Andritsos, P
    Tzerpos, V
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2005, 31 (02) : 150 - 165
  • [3] A survey on software testability
    Garousi, Vahid
    Felderer, Michael
    Kilicaslan, Feyza Nur
    INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 108 : 35 - 64
  • [4] TESTABILITY OF SOFTWARE COMPONENTS
    FREEDMAN, RS
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (06) : 553 - 564
  • [5] Testability analysis of reactive software
    Nguyen, TB
    Robach, C
    Delaunay, M
    IWOTA 2004: 1ST INTERNATIONAL WORKSHOP ON TESTABILITY ASSESSMENT, PROCEEDINGS, 2004, : 15 - 25
  • [6] Learning to Predict Software Testability
    Nasrabadi, Morteza Zakeri
    Parsa, Saeed
    2021 26TH INTERNATIONAL COMPUTER CONFERENCE, COMPUTER SOCIETY OF IRAN (CSICC), 2021,
  • [7] SOFTWARE TESTABILITY - THE NEW VERIFICATION
    VOAS, JM
    MILLER, KW
    IEEE SOFTWARE, 1995, 12 (03) : 17 - 28
  • [8] An approach to software testability measurement
    Lin, JC
    Lin, SW
    Huang, L
    ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE AND INTERNATIONAL COMPUTER SCIENCE CONFERENCE, PROCEEDINGS, 1997, : 515 - 516
  • [9] A New Approach for Software Testability
    du Bousquet, Lydie
    TESTING - PRACTICE AND RESEARCH TECHNIQUES, 2010, 6303 : 207 - 210
  • [10] SEMANTIC METRICS FOR SOFTWARE TESTABILITY
    VOAS, JM
    MILLER, KW
    JOURNAL OF SYSTEMS AND SOFTWARE, 1993, 20 (03) : 207 - 216