i-nth logo

Authors

Yirsaw Ayalew & Roland Mittermeir

Abstract

Spreadsheet programs, artifacts developed by non-programmers, are used for a variety of important tasks and decisions. Yet a significant proportion of them have severe quality problems. To address this issue, our previous work presented an interval-based testing methodology for spreadsheets.

Interval-based testing rests on the observation that spreadsheets are mainly used for numerical computations. It also incorporates ideas from symbolic testing and interval analysis.

This paper addresses the issue of efficiently debugging spreadsheets. Based on the interval-based testing methodology, this paper presents a technique for tracing faults in spreadsheet programs.

The fault tracing technique proposed uses the dataflow information and cell marks to identify the most influential faulty cell(s) for a given formula cell containing a propagated fault.

Sample

Architecture of the interval-based testing methodology
Architecture of the interval-based testing methodology

Interval-based testing requires the user to specify the intervals expected for the desired input and formula cells respectively:

  • For numeric input cells, the user specifies the range of reasonable values in the form of intervals, which serve as input domains.
  • For formula cells, the user specifies the expected outcome of the formula again in the form of intervals.

Publication

2003, EuSpRIG

Full article

Spreadsheet debugging