Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Aaron Bedra - Metrics Magic

2,053 views

Published on

Aaron Bedra of Relevance came down and spoke about static code analysis and the benefits it can have on the quality of your codebase. He talks about the differences and benefits of RCov, Flog, Flay, Roodi, and Reek.

Published in: Technology
  • Be the first to comment

Aaron Bedra - Metrics Magic

  1. 1. Metrics Magic Aaron Bedra Principal, Relevance, Inc. Charlotte Ruby
  2. 2. Code quality
  3. 3. Code coverage
  4. 4. Code complexity
  5. 5. Code duplication
  6. 6. Why do I care?
  7. 7. Maintainability
  8. 8. Testability
  9. 9. Refactoring
  10. 10. Sanity
  11. 11. reek
  12. 12. gem install reek
  13. 13. reek [options] [files]
  14. 14. reek finds code smells
  15. 15. roodi
  16. 16. gem install roodi
  17. 17. roodi [pattern]
  18. 18. Roodi finds code/ design smells
  19. 19. Flog
  20. 20. Flog scores your code
  21. 21. The higher the score, the “worse” your code is
  22. 22. gem install flog
  23. 23. flog [pattern]
  24. 24. Flay
  25. 25. gem install flay
  26. 26. flay [pattern]
  27. 27. Why do I need 4 quality tools?
  28. 28. There’s no substitute for peer review
  29. 29. RCov
  30. 30. gem install rcov
  31. 31. DEMO
  32. 32. Cool, so what do I do with all this ?
  33. 33. Continuous Integration
  34. 34. You can make these tools fail the build!
  35. 35. But wait! There’s more!
  36. 36. metric-fu
  37. 37. metric-fu includes • flog • flay • reek • rcov • saikuro • and a few more
  38. 38. And wraps them in a nice pretty picture
  39. 39. There are lots of options
  40. 40. Use what works for you
  41. 41. But don’t ignore the metrics!
  42. 42. Contact • aaronbedra.com (blog) • abedra (twitter) • aaron@thinkrelevance.com • github.com/abedra
  43. 43. Questions?

×