Using constraints to diagnose faulty spreadsheets

被引:26
作者
Abreu, Rui [1 ]
Hofer, Birgit [2 ]
Perez, Alexandre [1 ]
Wotawa, Franz [2 ]
机构
[1] Univ Porto, Dept Informat Engn, P-4100 Oporto, Portugal
[2] Graz Univ Technol, Inst Software Technol, A-8010 Graz, Austria
关键词
Spreadsheets; Debugging; Constraints; LOCALIZATION; PROGRAMS;
D O I
10.1007/s11219-014-9236-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Spreadsheets can be viewed as a highly flexible programming environment for end users. Spreadsheets are widely adopted for decision making and may have a serious economical impact for the business. However, spreadsheets are staggeringly prone to errors. Hence, approaches for aiding the process of pinpointing the faulty cells in a spreadsheet are of great value. We present a constraint-based approach, ConBug, for debugging spreadsheets. The approach takes as input a (faulty) spreadsheet and a test case that reveals the fault and computes a set of diagnosis candidates for the debugging problem. Therefore, we convert the spreadsheet and a test case to a constraint satisfaction problem. We perform an empirical evaluation with 78 spreadsheets from different sources, where we demonstrate that our approach is light-weight and efficient. From our experimental results, we conclude that ConBug helps end users to pinpoint faulty cells.
引用
收藏
页码:297 / 322
页数:26
相关论文
共 43 条
[1]   Header and unit inference for spreadsheets through spatial analyses [J].
Abraham, R ;
Erwig, M .
2004 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN CENTRIC COMPUTING: PROCEEDINGS, 2004, :165-172
[2]   UCheck: A spreadsheet type checker for end users [J].
Abraham, Robin ;
Erwig, Martin .
JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2007, 18 (01) :71-95
[3]  
Abraham R, 2007, PROC INT CONF SOFTW, P251
[4]   Mutation Operators for Spreadsheets [J].
Abraham, Robin ;
Erwig, Martin .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2009, 35 (01) :94-108
[5]  
Abreu R., 2012, 3 IEEE INT WORKSH PR
[6]  
Abreu R., 2012, XV Ibero-American Conference on Software Engineering (CibSE 2012), P1
[7]  
Abreu R., P TEST AC IND C PRAC, P89
[8]   Spectrum-based Multiple Fault Localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, :88-99
[9]  
Abreu Rui., 2009, Proceedings of the 2009 ACM Symposium on Applied Computing (SAC), Honolulu, Hawaii, USA, March 9-12, 2009, P409
[10]  
Ahmad Y, 2003, 18TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, P174