首页> 外文期刊>Journal of Visual Languages & Computing >Automatic detection of dimension errors in spreadsheets
【24h】

Automatic detection of dimension errors in spreadsheets

机译:自动检测电子表格中的尺寸错误

获取原文
获取原文并翻译 | 示例

摘要

We present a reasoning system for inferring dimension information in spreadsheets. This system can be used to check the consistency of spreadsheet formulas and thus is able to detect errors in spreadsheets.rnOur approach is based on three static analysis components. First, the spatial structure of the spreadsheet is analyzed to infer a labeling relationship among cells. Second, cells that are used as labels are lexically analyzed and mapped to potential dimensions. Finally, dimension information is propagated through spreadsheet formulas. An important aspect of the rule system defining dimension inference is that it works bi-directionally, that is, not only "downstream" from referenced arguments to the current cell, but also "upstream" in the reverse direction. This flexibility makes the system robust and turns out to be particularly useful in cases when the initial dimension information that can be inferred from headers is incomplete or ambiguous.rnWe have implemented a prototype system as an add-in to Excel. In an evaluation of this implementation we were able to detect dimension errors in almost 50% of the investigated spreadsheets, which shows (i) that the system works reliably in practice and (ii) that dimension information can be well exploited to uncover errors in spreadsheets.
机译:我们提供了一个推理系统,用于推断电子表格中的尺寸信息。该系统可用于检查电子表格公式的一致性,从而能够检测电子表格中的错误。我们的方法基于三个静态分析组件。首先,分析电子表格的空间结构以推断单元格之间的标记关系。其次,对用作标签的单元格进行词法分析,并将其映射到潜在维度。最后,维度信息通过电子表格公式传播。定义维推理的规则系统的一个重要方面是它是双向工作的,即,不仅是从引用自变量到当前单元格的“下游”,而且是反向的“上游”。这种灵活性使系统更强大,并且在可以从标题中推断出的初始尺寸信息不完整或模棱两可的情况下特别有用。我们已经实现了一个原型系统作为Excel的插件。在对该实现的评估中,我们能够检测到几乎50%的调查电子表格中的尺寸错误,这表明(i)该系统在实践中可靠运行,并且(ii)可以很好地利用尺寸信息来发现电子表格中的错误。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号