Skip to main content
QUICK REVIEW

[Paper Review] Complexity Metrics for Spreadsheet Models

Andrej Bregar|ArXiv.org|Feb 27, 2008
Spreadsheets and End-User ComputingComputer Science8 references29 citations
TL;DR

This paper introduces novel complexity metrics for spreadsheet models that analyze logic structure, data structure, and size—focusing on cell reference dispersion and cell paths—to identify error-prone cells. It adapts and extends traditional software engineering metrics to estimate development effort, adjust cell error rates, and improve reliability through new constructs like the reference branching condition cell and condition block.

ABSTRACT

Several complexity metrics are described which are related to logic structure, data structure and size of spreadsheet models. They primarily concentrate on the dispersion of cell references and cell paths. Most metrics are newly defined, while some are adapted from traditional software engineering. Their purpose is the identification of cells which are liable to errors. In addition, they can be used to estimate the values of dependent process metrics, such as the development duration and effort, and especially to adjust the cell error rate in accordance with the contents of each individual cell, in order to accurately asses the reliability of a model. Finally, two conceptual constructs - the reference branching condition cell and the condition block - are discussed, aiming at improving the reliability, modifiability, auditability and comprehensibility of logical tests.

Motivation & Objective

  • To develop metrics that quantify the complexity of spreadsheet models based on logical and data structures.
  • To identify cells with high error susceptibility by analyzing dispersion of cell references and cell paths.
  • To enable accurate estimation of development effort and model reliability by adjusting cell-level error rates.
  • To enhance spreadsheet maintainability, auditability, and comprehensibility through new conceptual constructs.
  • To adapt traditional software engineering metrics for use in spreadsheet environments.

Proposed method

  • Proposes new complexity metrics focused on the dispersion of cell references and the structure of cell paths.
  • Adapts existing software engineering metrics to the context of spreadsheet models.
  • Introduces the concept of a 'reference branching condition cell' to structure complex logical tests.
  • Defines 'condition blocks' as logical groupings of cells that contain related conditional logic.
  • Uses these constructs to improve modularity and reduce error likelihood in spreadsheet logic.
  • Applies metrics to estimate process-related attributes such as development duration and effort.

Experimental results

Research questions

  • RQ1How can complexity in spreadsheet models be quantified using logic and data structure metrics?
  • RQ2Which cell-level characteristics correlate most strongly with error susceptibility in spreadsheets?
  • RQ3To what extent can complexity metrics improve the estimation of development effort and reliability?
  • RQ4How do the reference branching condition cell and condition block constructs enhance spreadsheet maintainability?
  • RQ5Can traditional software engineering metrics be effectively adapted for spreadsheet environments?

Key findings

  • The proposed metrics successfully identify cells with high error potential by analyzing reference dispersion and path complexity.
  • The metrics enable more accurate adjustment of cell-level error rates, improving overall model reliability assessment.
  • The introduction of the reference branching condition cell and condition block enhances logical structure clarity and auditability.
  • The metrics provide a foundation for estimating development effort and duration based on structural complexity.
  • The adaptation of traditional software engineering metrics to spreadsheets proves effective in identifying complex and error-prone components.
  • Empirical results from the study indicate that high dispersion in cell references correlates strongly with increased error likelihood.

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.