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 条
  • [41] THE NOTION OF THE VALUE OF INFORMATION
    TAYLOR, RS
    PROCEEDINGS OF THE AMERICAN SOCIETY FOR INFORMATION SCIENCE, 1982, 19 : 379 - 379
  • [42] Software Testability (Its Benefits, Limitations, and Facilitation)
    Mona, Jammel
    NEXT GENERATION OF INTERNET OF THINGS, 2023, 445 : 287 - 298
  • [43] Measuring and improving software testability at the design level
    Zakeri-Nasrabadi, Morteza
    Parsa, Saeed
    Jafari, Sadegh
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 174
  • [44] NOTION OF INFORMATION AGING
    POLUSHKIN, VA
    NAUCHNO-TEKHNICHESKAYA INFORMATSIYA SERIYA 2-INFORMATSIONNYE PROTSESSY I SISTEMY, 1977, (04): : 10 - 11
  • [45] On the Notion of "An Information Need"
    Hoenkamp, Eduard
    ADVANCES IN INFORMATION RETRIEVAL THEORY, 2009, 5766 : 354 - +
  • [46] Testability of software in service-oriented architecture
    Tsai, W. T.
    Gao, Jerry
    Wei, Xiao
    Chen, Yinong
    30TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL 2, SHORT PAPERS/WORKSHOPS/FAST ABSTRACTS/DOCTORAL SYMPOSIUM, PROCEEDINGS, 2006, : 163 - +
  • [47] Software testability measurement for intelligent assertion placement
    Jeffrey Voas
    Software Quality Journal, 1997, 6 : 327 - 336
  • [48] Evaluation of testability enhancement using software prototype
    Bareisa, E.
    Jusas, V.
    Motiejunas, K.
    Seinauskas, R.
    IET COMPUTERS AND DIGITAL TECHNIQUES, 2012, 6 (03): : 166 - 172
  • [49] Testability and Software Robustness: A Systematic Literature Review
    Hassan, Mohammad Mahdi
    Afzal, Wasif
    Blom, Martin
    Lindstrom, Birgitta
    Andler, Sten F.
    Eldh, Sigrid
    PROCEEDINGS 41ST EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS SEAA 2015, 2015, : 341 - 348
  • [50] Design for testability in hardware-software systems
    Vranken, HPE
    Witteman, MF
    vanWuijtswinkel, RC
    IEEE DESIGN & TEST OF COMPUTERS, 1996, 13 (03): : 79 - 87