DocumentCode
588601
Title
Detecting code smells in spreadsheet formulas
Author
Hermans, Frederik ; Pinzger, Martin ; Van Deursen, Arie
Author_Institution
Delft Univ. of Technol., Delft, Netherlands
fYear
2012
fDate
23-28 Sept. 2012
Firstpage
409
Lastpage
418
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.
Keywords
business data processing; data visualisation; software maintenance; software metrics; spreadsheet programs; EUSES spreadsheet corpus; business processes; code smells detection; maintainability issues; smelly formula detection; spreadsheet formulas; visualization technique; Complexity theory; Conferences; Industries; Measurement; Software maintenance; Visualization; code smells; refactoring; spreadsheets;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location
Trento
ISSN
1063-6773
Print_ISBN
978-1-4673-2313-0
Type
conf
DOI
10.1109/ICSM.2012.6405300
Filename
6405300
Link To Document