Using stratified sampling for fault injection

  • Authors:
  • Regina Lúcia O. de Moraes;Eliane Martins;Elaine C. Catapani Poletti;Naaliel Vicente Mendes

  • Affiliations:
  • Superior Centre of Technological Education (CESET), State University of Campinas (UNICAMP);Institute of Computing (IC), State University of Campinas (UNICAMP);Superior Centre of Technological Education (CESET), State University of Campinas (UNICAMP);Superior Centre of Technological Education (CESET), State University of Campinas (UNICAMP)

  • Venue:
  • LADC'05 Proceedings of the Second Latin-American conference on Dependable Computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In a previous work we validated an ODBMS component injecting errors in the application’s interface. The aim was to observe the robustness of the component when the application that interacted with it failed. In this work we tackle the injection of errors directly into the interfaces among the target component’s classes. As the component under test has several classes, we use stratified sampling to reduce the amount of injections without losing the ability to detect faults. Strata are defined based on a complexity metric, Weighted Methods in a Class – WMC. Experiments show that this metric alone is not sufficient to select strata for testing purposes.