Fault localization through evaluation sequences

Research output: Journal Publications and Reviews (RGC: 21, 22, 62)21_Publication in refereed journalpeer-review

40 Scopus Citations
View graph of relations

Author(s)

  • Zhenyu Zhang
  • Bo Jiang
  • W. K. Chan
  • T. H. Tse
  • Xinming Wang

Related Research Unit(s)

Detail(s)

Original languageEnglish
Pages (from-to)174-187
Journal / PublicationJournal of Systems and Software
Volume83
Issue number2
Publication statusPublished - Feb 2010

Abstract

Predicate-based statistical fault-localization techniques find fault-relevant predicates in a program by contrasting the statistics of the evaluation results of individual predicates between failed runs and successful runs. While short-circuit evaluations may occur in program executions, treating predicates as atomic units ignores this fact, masking out various types of useful statistics on dynamic program behavior. In this paper, we differentiate the short-circuit evaluations of individual predicates on individual program statements, producing one set of evaluation sequences per predicate. We then investigate experimentally the effectiveness of using these sequences to locate faults by comparing existing predicate-based techniques with and without such differentiation. We use both the Siemens program suite and four real-life UNIX utility programs as our subjects. The experimental results show that the proposed use of short-circuit evaluations can, on average, improve predicate-based statistical fault-localization techniques while incurring relatively small performance overhead. © 2009 Elsevier Inc. All rights reserved.

Research Area(s)

  • Boolean expression, Evaluation sequence, Fault localization, Predicate

Citation Format(s)

Fault localization through evaluation sequences. / Zhang, Zhenyu; Jiang, Bo; Chan, W. K. et al.

In: Journal of Systems and Software, Vol. 83, No. 2, 02.2010, p. 174-187.

Research output: Journal Publications and Reviews (RGC: 21, 22, 62)21_Publication in refereed journalpeer-review