Withdraw
Loading…
Refactoring meets spreadsheet formulas
Badame, Sandro
Loading…
Permalink
https://hdl.handle.net/2142/31155
Description
- Title
- Refactoring meets spreadsheet formulas
- Author(s)
- Badame, Sandro
- Issue Date
- 2012-05-22T00:31:32Z
- Director of Research (if dissertation) or Advisor (if thesis)
- Dig, Daniel
- Department of Study
- Computer Science
- Discipline
- Computer Science
- Degree Granting Institution
- University of Illinois at Urbana-Champaign
- Degree Name
- M.S.
- Degree Level
- Thesis
- Keyword(s)
- refactoring
- end-user
- spreadsheets
- Microsoft Excel
- code smells
- Abstract
- 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 complex- ity, and unsanitized input. These make spreadsheets difficult to read and expensive to maintain. Like refactoring of object-oriented code, refactoring of spreadsheet formulas can be transformative. In this paper we present seven refactorings for spreadsheet formulas imple- mented in RefBook, a plugin for Microsoft Excel. To evaluate the usefulness of RefBook, we employed three kinds of empirical methods. First, we per- formed a Retrospective Case Study on the EUSES Spreadsheet Corpus with 3691 spreadsheets to determine how often we could apply the refactorings supported by RefBook. Second, we conducted a User Survey with 28 Excel users to find out whether they preferred the refactored formulas. Third, we conducted a Controlled Experiment with the same 28 participants to measure their productivity when doing manual refactorings. The results show: (i) the refactorings are widely applicable, (ii) users prefer the refactored formulas, and (iii) RefBook is faster and safer than manual refactoring. 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 where unable to complete the task.
- Graduation Semester
- 2012-05
- Permalink
- http://hdl.handle.net/2142/31155
- Copyright and License Information
- Copyright 2012 Sandro Badame
Owning Collections
Dissertations and Theses - Computer Science
Dissertations and Theses from the Dept. of Computer ScienceGraduate Dissertations and Theses at Illinois PRIMARY
Graduate Theses and Dissertations at IllinoisManage Files
Loading…
Edit Collection Membership
Loading…
Edit Metadata
Loading…
Edit Properties
Loading…
Embargoes
Loading…