• DocumentCode
    1888492
  • Title

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

  • Author

    Hutchins, Monica ; Foster, Herb ; Goradia, Tarak ; Ostrand, Thomas

  • Author_Institution
    Siemens Corp. Res. Inc., Princeton, NJ, USA
  • fYear
    1994
  • fDate
    16-21 May 1994
  • Firstpage
    191
  • Lastpage
    200
  • 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 significantly better fault detection than randomly chosen test sets of the same size. In addition, significant 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 control-flow and dataflow criteria are frequency complementary in their effectiveness
  • Keywords
    program testing; software engineering; control-flow-based test adequacy criteria; coverage criteria; dataflow-based test adequacy criteria; faulty program versions; test sets; Control systems; Costs; Data analysis; Educational institutions; Fault detection; Fault diagnosis; Investments; Monitoring; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 1994. Proceedings. ICSE-16., 16th International Conference on
  • Conference_Location
    Sorrento
  • ISSN
    0270-5257
  • Print_ISBN
    0-8186-5855-X
  • Type

    conf

  • DOI
    10.1109/ICSE.1994.296778
  • Filename
    296778