RMIT University
Browse

Code coverage of adaptive random testing

Download (1.6 MB)
journal contribution
posted on 2024-11-23, 08:32 authored by Tsong Yueh Chen, Fei Ching Kuo, Huai Liu, Eric Wong
Random testing is a basic software testing technique that can be used to assess the software reliability as well as to detect software failures. Adaptive random testing has been proposed to enhance the failure-detection capability of random testing. Previous studies have shown that adaptive random testing can use fewer test cases than random testing to detect the first software failure. In this paper, we evaluate and compare the performance of adaptive random testing and random testing from another perspective, that of code coverage. As shown in various investigations, a higher code coverage not only brings a higher failure-detection capability, but also improves the effectiveness of software reliability estimation. We conduct a series of experiments based on two categories of code coverage criteria: structure-based coverage, and fault-based coverage. Adaptive random testing can achieve higher code coverage than random testing with the same number of test cases. Our experimental results imply that, in addition to having a better failure-detection capability than random testing, adaptive random testing also delivers a higher effectiveness in assessing software reliability, and a higher confidence in the reliability of the software under test even when no failure is detected.

History

Related Materials

  1. 1.
    DOI - Is published in 10.1109/TR.2013.2240898
  2. 2.
    ISSN - Is published in 00189529

Journal

IEEE Transactions on Reliability

Volume

62

Issue

1

Start page

226

End page

237

Total pages

12

Publisher

IEEE

Place published

USA

Language

English

Copyright

© 2013 IEEE

Notes

© 2013 IEEE. Reprinted, with permission, from Chen, T, Kuo, F, Liu, H and Wong, E 2013, 'Code coverage of adaptive random testing', IEEE Transactions on Reliability, vol. 62, no. 1, pp. 226-237.

Former Identifier

2006040944

Esploro creation date

2020-06-22

Fedora creation date

2013-05-13

Open access

  • Yes

Usage metrics

    Scholarly Works

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC