Detecting Code Smells in Spreadsheet Formulas

Conference Paper (2012)
Author(s)

FFJ Hermans (TU Delft - Software Engineering)

M Pinzger (TU Delft - Software Engineering)

A van Deursen (TU Delft - Software Engineering)

Research Group
Software Engineering
DOI related publication
https://doi.org/10.1109/ICSM.2012.6405300
More Info
expand_more
Publication Year
2012
Language
English
Research Group
Software Engineering
Pages (from-to)
409-418
Publisher
IEEE
ISBN (print)
978-1-4673-2313-0
Event
International Conference on Software Maintenance (ICSM) 2012 (2012-09-23 - 2012-09-30), Los Alamitos
Downloads counter
184
Collections
Institutional Repository
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