Skip to main content
QUICK REVIEW

[Paper Review] Tabula: A Language to Model Spreadsheet Tables

Jorge Mendes, João Saraiva|arXiv (Cornell University)|Jul 10, 2017
Spreadsheets and End-User ComputingComputer Science9 references4 citations
TL;DR

This paper introduces Tabula, a domain-specific modeling language for spreadsheet tables that enhances expressiveness over prior model-driven approaches like ClassSheets by supporting type constraints, nested classes, and repetitions. It enables bidirectional synchronization between models and spreadsheets, reducing model complexity and improving maintainability, as demonstrated by a 20–26% reduction in classes and attributes when modeling a Microsoft budget template compared to ClassSheets.

ABSTRACT

Spreadsheets provide a flexible and easy to use software development environment, but that leads to error proneness. Work has been done to prevent errors in spreadsheets, including using models to specify distinct parts of a spreadsheet as it is done with model-driven software development. Previous model languages for spreadsheets offer a limited expressiveness, and cannot model several features present in most real world spreadsheets. In this paper, the modeling language Tabula is introduced. It extends previous spreadsheet models with features like type constraints and nested classes with repetitions. Tabula is not only more expressive than other models but it can also be extended with more features. Moreover, Tabula includes a bidirectional transformation engine that guarantees synchronization after an update either in the model or spreadsheet.

Motivation & Objective

  • To address the limitations of existing model-driven spreadsheet modeling languages, which lack expressiveness for real-world spreadsheet complexity.
  • To enable more natural and concise modeling of spreadsheet logic and layout, especially for nested and repetitive data structures.
  • To support bidirectional synchronization between models and spreadsheet instances to maintain consistency during updates.
  • To reduce error rates and improve maintainability by introducing a type system with constraints for spreadsheet cells.
  • To evaluate the expressiveness and efficiency of Tabula against existing models like ClassSheets using a real-world budget spreadsheet.

Proposed method

  • Tabula extends the visual notation of ClassSheets with support for nested classes and repetitions, enabling hierarchical modeling of complex spreadsheet structures.
  • It introduces a formal abstract representation that decouples layout from data structure, allowing for more flexible and scalable modeling.
  • The language includes a type system with constraints (e.g., positive numbers only) to restrict valid cell values and prevent semantic errors.
  • A bidirectional transformation engine synchronizes changes between the Tabula model and the actual spreadsheet, ensuring consistency whether the model or instance is updated.
  • The approach supports both static and dynamic modeling: models can either explicitly list months or use repetition constructs to represent them.
  • The method was evaluated by modeling a Microsoft-provided personal budget spreadsheet using both Tabula and ClassSheets, with quantitative metrics collected for comparison.

Experimental results

Research questions

  • RQ1Can Tabula model real-world spreadsheets more naturally and concisely than existing model-driven languages like ClassSheets?
  • RQ2To what extent does Tabula’s support for nested classes and repetitions reduce model complexity compared to ClassSheets?
  • RQ3How does the inclusion of type constraints in Tabula improve error prevention in spreadsheet development?
  • RQ4What is the impact of bidirectional synchronization on model-instance consistency in evolving spreadsheets?
  • RQ5Can Tabula’s dynamic modeling features (e.g., repetition) reduce the number of classes and attributes required to model repetitive spreadsheet structures?

Key findings

  • Tabula reduced the number of classes by 20–26% and attributes by a similar margin compared to the equivalent ClassSheet model when modeling a Microsoft personal budget spreadsheet.
  • The Tabula model for the budget spreadsheet used only 12 rows, compared to 42 rows in the ClassSheet model, significantly improving visual conciseness.
  • The Tabula model required only 54 formulas, compared to 194 in the ClassSheet model, indicating a substantial reduction in formula complexity.
  • The use of nested classes and repetition in Tabula eliminated the need to explicitly define each of the 11 expense types, which were required as separate attributes in the ClassSheet model.
  • The Tabula model supports extensibility: users can add new expense categories without modifying the model, unlike in ClassSheets where model changes are required.
  • The bidirectional transformation engine successfully maintained synchronization between model and spreadsheet after updates in either artifact, ensuring consistency.

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.