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 条
  • [31] IMPROVING SOFTWARE TESTABILITY BY OBSERVABILITY AND CONTROLLABILITY MEASURES
    GUPTA, SC
    SINHA, MK
    INFORMATION PROCESSING '94, VOL I: TECHNOLOGY AND FOUNDATIONS, 1994, 51 : 147 - 154
  • [32] Evaluating evolutionary testability with software-measurements
    Lammermann, F
    Baresel, A
    Wegener, J
    GENETIC AND EVOLUTIONARY COMPUTATION GECCO 2004 , PT 2, PROCEEDINGS, 2004, 3103 : 1350 - 1362
  • [33] Testability Analysis of Data-Flow Software
    Thanh Binh Nguyen
    Delaunay, Michel
    Robach, Chantal
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 116 : 213 - 225
  • [34] A Systematic Review of Software Testability Measurement Techniques
    Sharma, Rashmi
    Saha, Anju
    2018 INTERNATIONAL CONFERENCE ON COMPUTING, POWER AND COMMUNICATION TECHNOLOGIES (GUCON), 2018, : 292 - 296
  • [35] Software testability measurement for intelligent assertion placement
    Voas, J
    SOFTWARE QUALITY JOURNAL, 1997, 6 (04) : 327 - 335
  • [36] Testability-oriented hardware/software partitioning
    LeTraon, Y
    AlHayek, G
    Robach, C
    INTERNATIONAL TEST CONFERENCE 1996, PROCEEDINGS, 1996, : 725 - 731
  • [37] Study on the relationship between software testability and reliability
    Zhao, Liang
    Wang, Jian-Min
    Sun, Jia-Guang
    Jisuanji Xuebao/Chinese Journal of Computers, 2007, 30 (06): : 986 - 992
  • [38] Measuring Software Testability Modulo Test Quality
    Terragni, Valerio
    Salza, Pasquale
    Pezze, Mauro
    2020 IEEE/ACM 28TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC, 2020, : 241 - 251
  • [39] Improving the Testing and Testability of Software Product Lines
    Cabral, Isis
    Cohen, Myra B.
    Rothermel, Gregg
    SOFTWARE PRODUCT LINES: GOING BEYOND, 2010, 6287 : 241 - 255
  • [40] An Estimation of Software Testability using Fuzzy Logic
    Garg, Umang
    Singhal, Abhishek
    2016 6TH INTERNATIONAL CONFERENCE - CLOUD SYSTEM AND BIG DATA ENGINEERING (CONFLUENCE), 2016, : 95 - 100