【24h】

Refactoring meets spreadsheet formulas

机译:重构符合电子表格公式

获取原文

摘要

The number of end-users who write spreadsheet programs is at least an order of magnitude larger than the number of trained programmers who write professional software. We studied a corpus of 3691 spreadsheets and we found that their formulas are riddled with the same smells that plague professional software: hardcoded constants, duplicated expressions, unnecessary complexity, and unsanitized input. These make spreadsheets difficult to read and expensive to maintain. Like automated refactoring in the object-oriented domain, spreadsheet refactoring can be transformative. In this paper we present seven refactorings for spreadsheet formulas implemented in RefBook, a plugin for Microsoft Excel. To evaluate the usefulness of RefBook, we employed three kinds of empirical methods. First, we conducted a User Survey with 28 Excel users to find out whether they preferred the refactored formulas. Second, we conducted a Controlled Experiment with the same 28 participants to measure their productivity when doing manual refactorings. Third, we performed a Retrospective Case Study on the EUSES Spreadsheet Corpus with 3691 spreadsheets to determine how often we could apply the refactorings supported by RefBook. The results show: (i) users prefer the improved quality of refactored formulas, (ii) RefBook is faster and more reliable than manual refactoring, and (iii) the refactorings are widely applicable. On average RefBook is able to apply the refactorings in less than half the time that users performed the refactorings manually. 92.54% of users introduced errors or new smells into the spreadsheet or were unable to complete the task.
机译:编写电子表格程序的最终用户数量至少大于写作专业软件的培训程序员数量的数量级。我们研究了3691个电子表格的语料库,我们发现他们的公式用鼠标专业软件的相同闻起​​来:硬编码常数,重复表达,不必要的复杂性和不合理的输入。这些使电子表格难以阅读和昂贵。与面向对象域的自动重构一样,电子表格重构可以是变革的。在本文中,我们为Refbook中实现的电子表格公式提供了七个重构,Microsoft Excel的插件。为了评估重新预订的有用性,我们采用了三种经验方法。首先,我们用28个Excel用户进行了一个用户调查,以了解他们是否更喜欢重构公式。其次,我们在进行手动重构时进行了同一28名参与者的受控实验,以衡量其生产率。第三,我们对带有3691个电子表格的Euses电子表格语料库进行了回顾性案例研究,以确定我们如何应用重新预订支持的重构。结果表明:(i)用户更喜欢改进的重构公式质量,(ii)重新预订比手动重构更快,更可靠,(iii)重构广泛适用。在平均来的轮廓上,能够在用户手动执行重构的时间内不到一半应用重框。 92.54%的用户将错误或新闻到电子表格引入或无法完成任务。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号