Skip to main content
QUICK REVIEW

[Paper Review] Spreadsheet Debugging

Yirsaw Ayalew, Roland T. Mittermeir|arXiv (Cornell University)|Jan 28, 2008
Spreadsheets and End-User ComputingComputer Science18 references24 citations
TL;DR

This paper presents a fault tracing technique for spreadsheet debugging that leverages dataflow analysis and cell marking to identify the most influential faulty cells responsible for propagated errors in formula cells. Building on interval-based testing, the method efficiently isolates root causes of numerical inaccuracies in non-programmer-developed spreadsheets, significantly improving debugging precision and reducing manual effort in error localization.

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.

Motivation & Objective

  • To address the widespread issue of quality problems in spreadsheets developed by non-programmers.
  • To reduce the time and effort required to locate faulty cells in spreadsheet programs with propagated errors.
  • To enhance the effectiveness of interval-based testing by enabling precise fault tracing through dataflow and cell marking.
  • To support non-programmers in debugging complex spreadsheets without requiring programming expertise.

Proposed method

  • The method uses interval-based testing as a foundation, relying on numerical ranges to detect anomalies in spreadsheet computations.
  • It applies dataflow analysis to propagate error information backward from formula cells with faults to identify potentially faulty source cells.
  • Cell marks are used to track and highlight cells that contribute to error propagation, enabling visual and algorithmic identification of influential faulty cells.
  • The approach combines symbolic testing concepts with interval analysis to improve precision in fault localization.
  • Fault tracing is performed by analyzing dependencies and propagation paths in the spreadsheet's formula network.
  • The technique is designed to be efficient and scalable for real-world spreadsheet applications.

Experimental results

Research questions

  • RQ1How can the root cause of a propagated fault in a spreadsheet formula cell be efficiently identified?
  • RQ2What role do dataflow relationships and cell markings play in isolating faulty cells?
  • RQ3To what extent does interval-based testing support effective fault tracing in spreadsheets?
  • RQ4Can non-programmers benefit from automated fault tracing without requiring programming knowledge?

Key findings

  • The fault tracing technique successfully identifies the most influential faulty cells responsible for propagated errors in spreadsheet formulas.
  • Cell marking significantly improves the precision of fault localization by highlighting cells with high influence on error propagation.
  • The integration of dataflow analysis with interval-based testing enhances the accuracy and efficiency of debugging in spreadsheet environments.
  • The method reduces manual debugging effort by narrowing down potential fault sources to a small set of candidate cells.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.