Successfully reported this slideshow.
Upcoming SlideShare
×

# Detecting and Visualizing Inter-worksheet Smells in Spreadsheets

1,513 views

Published on

The slides for our ICSE 2012 paper on "Detecting and Visualizing Inter-worksheet Smells in Spreadsheets"

Published in: Technology, Education
• Full Name
Comment goes here.

Are you sure you want to Yes No

Are you sure you want to  Yes  No
• I think I had a little book somewhere about the risks of spreadsheet use, by Edward Yourdon (?!). I took a look at your sheets to remind me instead, thanx!

Are you sure you want to  Yes  No

### Detecting and Visualizing Inter-worksheet Smells in Spreadsheets

1. 1. Detecting and VisualizingInter-worksheet Smells in SpreadsheetsFelienne Hermans (@felienne)
2. 2. Code smells
3. 3. How did we get this idea?
4. 4. By studying what business does inpractice
5. 5. Excel is running companies!
6. 6. 50% of spreadsheets form the basis fordecisions
7. 7. Spreadsheet users lack great toolsupport
8. 8. We did not start coding!
9. 9. We performed 27 interviews
10. 10. We asked them:What annoys you?
11. 11. And what makes you happy?
12. 12. We found that especially support forunderstanding spreadsheets was missing
13. 13. Then we started coding
14. 14. Published at ICSE 2011
15. 15. Users started diagnosing with the dfd’s
16. 16. This led us to the idea of smells
17. 17. We took Fowler’s smells and adaptedthem to be applicable on spreadsheets
18. 18. Inappropriate Intimacy
19. 19. Inappropriate Intimacy
20. 20. Inappropriate Intimacy= number of couples between A and B
21. 21. Feature Envy
22. 22. Feature Envy
23. 23. Feature Envy (calculated on a cell)=number of external connections
24. 24. Middle man
25. 25. Middle man
26. 26. Middle man
27. 27. Middle man= number of MMFs on a worksheet
28. 28. Shotgun surgery
29. 29. Shotgun surgery
30. 30. Shotgun surgery=number of changing sheets and formulas
31. 31. Then we set thresholds for the metricsUsing the EUSES corpus as a bench mark
32. 32. Andimplementedit into ourvisualizationtoolkit Breviz
33. 33. We validated our implementation with acase study
34. 34. “Are those worksheets really thatconnected?”
35. 35. “Are you sure that arrow is correct?”
36. 36. “this formula annoys me, I have to goback to the other sheet so many times tolook up the references, it makes me dizzy”
37. 37. Interesting fact about Middle Man:Our definition was ‘wrong’
38. 38. We had not anticipated Middle Menwithin worksheets
39. 39. The most extreme case was a worksheeton which 220 formulas depended, spreadover 10 worksheets
40. 40. The owner immediately recognized therisk
41. 41. Conclusion: principles from softwareengineering transfer well to spreadsheets
42. 42. Detecting and VisualizingInter-worksheet Smells in SpreadsheetsFelienne Hermans (@felienne)