Observable modified condition/decision coverage

Michael W Whalen, Gregory Gay, Dongjiang You, Mats Heimdahl, Matt Staats

Research output: Chapter in Book/Report/Conference proceedingConference contribution

29 Scopus citations

Abstract

In many critical systems domains, test suite adequacy is currently measured using structural coverage metrics over the source code. Of particular interest is the modified condition/decision coverage (MC/DC) criterion required for, e.g., critical avionics systems. In previous investigations we have found that the efficacy of such test suites is highly dependent on the structure of the program under test and the choice of variables monitored by the oracle. MC/DC adequate tests would frequently exercise faulty code, but the effects of the faults would not propagate to the monitored oracle variables. In this report, we combine the MC/DC coverage metric with a notion of observability that helps ensure that the result of a fault encountered when covering a structural obligation propagates to a monitored variable; we term this new coverage criterion Observable MC/DC (OMC/DC). We hypothesize this path requirement will make structural coverage metrics 1.) more effective at revealing faults, 2.) more robust to changes in program structure, and 3.) more robust to the choice of variables monitored. We assess the efficacy and sensitivity to program structure of OMC/DC as compared to masking MC/DC using four subsystems from the civil avionics domain and the control logic of a microwave. We have found that test suites satisfying OMC/DC are significantly more effective than test suites satisfying MC/DC, revealing up to 88% more faults, and are less sensitive to program structure and the choice of monitored variables.

Original languageEnglish (US)
Title of host publication2013 35th International Conference on Software Engineering, ICSE 2013 - Proceedings
Pages102-111
Number of pages10
DOIs
StatePublished - Oct 30 2013
Event2013 35th International Conference on Software Engineering, ICSE 2013 - San Francisco, CA, United States
Duration: May 18 2013May 26 2013

Publication series

NameProceedings - International Conference on Software Engineering
ISSN (Print)0270-5257

Other

Other2013 35th International Conference on Software Engineering, ICSE 2013
CountryUnited States
CitySan Francisco, CA
Period5/18/135/26/13

Fingerprint Dive into the research topics of 'Observable modified condition/decision coverage'. Together they form a unique fingerprint.

Cite this