1994•Unpublished venueRequires access

Experiments on the effectiveness of dataflow- and control-flow-based test adequacy criteria

Monica Hutchins, H. D. Foster, Tarak Goradia, Thomas J. Ostrand

Open publisher page 784 citations

Abstract

This paper reports an experimental study investigating the effectiveness of two code-based test adequacy criteria for identifying sets of test cases that detect faults. The all-edges and all-DUs (modified all-uses) coverage criteria were applied to 130 faulty program versions derived from seven moderate size base programs by seeding realistic faults. We generated several thousand test sets for each faulty program and examined the relationship between fault detection and coverage. Within the limited domain of our experiments, test sets achieving coverage levels over 90 % usually showed signijicantly better fault detection than randomly chosen test sets of the same size. In addition, signijicant improvements in the effectiveness of coverage-based tests usually occurred as coverage increased from 90 % to 100%. However; the results also indicate that 100 % code coverage alone is not a reliable indicator of the effectiveness of a test set. We also found that tests based respectively on controljlow and dataflow criteria are frequently complementary in their effectiveness.

About this research paper

What this paper is about

This paper reports an experimental study investigating the effectiveness of two code-based test adequacy criteria for identifying sets of test cases that detect faults. The all-edges and all-DUs (modified all-uses) coverage criteria were applied to 130 faulty program versions derived from seven moderate size base programs by seeding realistic faults. We generated several thousand test sets for each faulty program and examined the relationship between fault detection and coverage. Within the limited domain of our experiments, test sets achieving coverage levels over 90 % usually showed signijicantly better fault detection than randomly chosen test sets of the same size. In addition, signijicant improvements in the effectiveness of coverage-based tests usually occurred as coverage increased from 90 % to 100%. However; the results also indicate that 100 % code coverage alone is not a reliable indicator of the effectiveness of a test set. We also found that tests based respectively on controljlow and dataflow criteria are frequently complementary in their effectiveness.

Why it matters

OpenAlex reports 784 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

This paper reports an experimental study investigating the effectiveness of two code-based test adequacy criteria for identifying sets of test cases that detect faults. The all-edges and all-DUs (modified all-uses) coverage criteria were applied to 130 faulty program versions derived from seven moderate size base programs by seeding realistic faults. We generated several thousand test sets for each faulty program and examined the relationship between fault detection and coverage. Within the limited domain of our experiments, test sets achieving coverage levels over 90 % usually showed signijicantly better fault detection than randomly chosen test sets of the same size. In addition, signijicant improvements in the effectiveness of coverage-based tests usually occurred as coverage increased from 90 % to 100%. However; the results also indicate that 100 % code coverage alone is not a reliable indicator of the effectiveness of a test set. We also found that tests based respectively on controljlow and dataflow criteria are frequently complementary in their effectiveness.

Key concepts: Dataflow, Computer science, Fault coverage, Code coverage, Control flow, Fault detection and isolation, Reliability engineering, Set (abstract data type)

Related papers

Back to paper searchBrowse research topicsOriginal source
Experiments on the effectiveness of dataflow- and control-flow-based test adequacy criteria — Research Paper | ScholarLens