Detecting and VisualizingInter-worksheet Smells in SpreadsheetsFelienne Hermans (@felienne)
Code smells
How did we get this idea?
By studying what business does inpractice
Excel is running companies!
50% of spreadsheets form the basis fordecisions
Spreadsheet users lack great toolsupport
We did not start coding!
We performed 27 interviews
We asked them:What annoys you?
And what makes you happy?
We found that especially support forunderstanding spreadsheets was missing
Then we started coding
Published at ICSE 2011
Users started diagnosing with the dfd’s
This led us to the idea of smells
We took Fowler’s smells and adaptedthem to be applicable on spreadsheets
Inappropriate Intimacy
Inappropriate Intimacy
Inappropriate Intimacy= number of couples between A and B
Feature Envy
Feature Envy
Feature Envy (calculated on a cell)=number of external connections
Middle man
Middle man
Middle man
Middle man= number of MMFs on a worksheet
Shotgun surgery
Shotgun surgery
Shotgun surgery=number of changing sheets and formulas
Then we set thresholds for the metricsUsing the EUSES corpus as a bench mark
Andimplementedit into ourvisualizationtoolkit Breviz
We validated our implementation with acase study
“Are those worksheets really thatconnected?”
“Are you sure that arrow is correct?”
“this formula annoys me, I have to goback to the other sheet so many times tolook up the references, it makes me dizzy”
Interesting fact about Middle Man:Our definition was ‘wrong’
We had not anticipated Middle Menwithin worksheets
The most extreme case was a worksheeton which 220 formulas depended, spreadover 10 worksheets
The owner immediately recognized therisk
Conclusion: principles from softwareengineering transfer well to spreadsheets
Detecting and VisualizingInter-worksheet Smells in SpreadsheetsFelienne Hermans (@felienne)
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Detecting and Visualizing Inter-worksheet Smells in Spreadsheets
Upcoming SlideShare
Loading in …5
×

Detecting and Visualizing Inter-worksheet Smells in Spreadsheets

1,359 views

Published on

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

Published in: Technology, Education
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
1,359
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
30
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

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)

×