Detecting Code Smells in Spreadsheet Formulas

FFJ Hermans, M Pinzger, A van Deursen

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

73 Citations (Scopus)
2 Downloads (Pure)

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.
Original languageEnglish
Title of host publicationProceedings of the International Conference on Software Maintenance (ICSM)
EditorsP Tonella, M Di Penta, JI Maletic
Place of PublicationLos Alamitos
PublisherIEEE Society
Pages409-418
Number of pages10
ISBN (Print)978-1-4673-2313-0
DOIs
Publication statusPublished - 2012
EventInternational Conference on Software Maintenance (ICSM) 2012 - Los Alamitos
Duration: 23 Sept 201230 Sept 2012

Publication series

Name
PublisherIEEE

Conference

ConferenceInternational Conference on Software Maintenance (ICSM) 2012
Period23/09/1230/09/12

Keywords

  • Conf.proc. > 3 pag

Fingerprint

Dive into the research topics of 'Detecting Code Smells in Spreadsheet Formulas'. Together they form a unique fingerprint.

Cite this