Validating the unit correctness of spreadsheet programs

被引:43
作者
Antoniu, T
Steckler, PA
Krishnamurthi, S
Neuwirth, E
Felleisen, M
机构
来源
ICSE 2004: 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS | 2004年
关键词
D O I
10.1109/ICSE.2004.1317466
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Financial companies, engineering firms and even scientists create increasingly larger spreadsheets and spreadsheet programs. The creators of large spreadsheets make errors and must track them down. One common class of errors concerns unit errors, because spreadsheets often employ formulas with physical or monetary units. In this paper we describe XeLda, our tool for unit checking Excel spreadsheets. The tool highlights cells if their formulas process values with incorrect units and if derived units clash with unit annotations. In addition, it draws arrows to the sources of the formulas for debugging. The tool is sensitive to many of the intricacies of Excel spreadsheets including tables, matrices, and even circular references. Using XeLda, we have detected errors in some published scientific spreadsheets.
引用
收藏
页码:439 / 448
页数:10
相关论文
共 23 条
[1]  
[Anonymous], 18 IEEE INT C AUT SO
[2]   Visually customizing inference rules about apples and oranges [J].
Burnett, M ;
Erwig, M .
IEEE 2002 SYMPOSIA ON HUMAN CENTRIC COMPUTING LANGUAGES AND ENVIRONMENTS, PROCEEDINGS, 2002, :140-148
[3]   Forms/3: A first-order visual language to explore the boundaries of the spreadsheet paradigm [J].
Burnett, M ;
Atwood, J ;
Djang, RW ;
Reichwein, J ;
Gottfried, H ;
Yang, S .
JOURNAL OF FUNCTIONAL PROGRAMMING, 2001, 11 :155-206
[4]  
BURNETT MM, 2003, 25 INT C SOFTW ENG
[5]  
ERWIG M, 2002, INT S PRACT ASP DECL, V2257, P173
[6]  
FILBY G, 1995, SPREADSHEETS SCI ENG
[7]   DrScheme: a programming environment for Scheme [J].
Findler, RB ;
Clements, J ;
Flanagan, C ;
Flatt, M ;
Krishnamurthi, S ;
Steckler, P ;
Felleisen, M .
JOURNAL OF FUNCTIONAL PROGRAMMING, 2002, 12 :159-182
[8]  
FLANAGAN C, 1996, P 1996 ACM SIGPLAN C, P23
[9]   UNITS OF MEASURE AS A DATA ATTRIBUTE [J].
GEHANI, N .
COMPUTER LANGUAGES, 1977, 2 (03) :93-111
[10]  
GOUBAULT J, 1994, JOURN FRANC LANG APP, P3