Covering Arrays for Efficient Fault Characterization in Complex Configuration Spaces

  • Authors:
  • Cemal Yilmaz;Myra B. Cohen;Adam A. Porter

  • Affiliations:
  • -;IEEE;IEEE

  • Venue:
  • IEEE Transactions on Software Engineering
  • Year:
  • 2006

Quantified Score

Hi-index 0.01

Visualization

Abstract

Many modern software systems are designed to be highly configurable so they can run on and be optimized for a wide variety of platforms and usage scenarios. Testing such systems is difficult because, in effect, you are testing a multitude of systems, not just one. Moreover, bugs can and do appear in some configurations, but not in others. Our research focuses on a subset of these bugs that are "option-related”—those that manifest with high probability only when specific configuration options take on specific settings. Our goal is not only to detect these bugs, but also to automatically characterize the configuration subspaces (i.e., the options and their settings) in which they manifest. To improve efficiency, our process tests only a sample of the configuration space, which we obtain from mathematical objects called covering arrays. This paper compares two different kinds of covering arrays for this purpose and assesses the effect of sampling strategy on fault characterization accuracy. Our results strongly suggest that sampling via covering arrays allows us to characterize option-related failures nearly as well as if we had tested exhaustively, but at a much lower cost. We also provide guidelines for using our approach in practice.