Detecting Code Smells in Spreadsheet Formulas

Conference Paper (2012)
Author(s)

F.F.J. Hermans (TU Delft - Software Engineering)

Martin Pinzger (TU Delft - Software Engineering)

A. Deursen (TU Delft - Software Engineering)

Research Group
Software Engineering
Copyright
© 2012 F.F.J. Hermans, M. Pinzger, A. van Deursen
DOI related publication
https://doi.org/10.1109/ICSM.2012.6405300
More Info
expand_more
Publication Year
2012
Language
English
Copyright
© 2012 F.F.J. Hermans, M. Pinzger, A. van Deursen
Research Group
Software Engineering
Pages (from-to)
409-418
ISBN (print)
978-1-4673-2313-0
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Spreadsheets are used extensively in business processes around the world and just like software, spreadsheets are changed throughout their lifetime causing maintainability issues. This paper adapts known code smells to spreadsheet formulas. To that end we present a list of metrics by which we can detect smelly formulas and a visualization technique to highlight these formulas in spreadsheets. We implemented the metrics and visualization technique in a prototype tool to evaluate our approach in two ways. Firstly, we analyze the EUSES spreadsheet corpus, to study the occurrence of the formula smells. Secondly, we analyze ten real life spreadsheets, and interview the spreadsheet owners about the identified smells. The results of these evaluations indicate that formula smells are common and that they can reveal real errors and weaknesses in spreadsheet formulas.

Files

License info not available