• Save
Aaron Bedra - Metrics Magic
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Aaron Bedra - Metrics Magic

on

  • 2,139 views

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, ...

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.

Statistics

Views

Total Views
2,139
Views on SlideShare
1,137
Embed Views
1,002

Actions

Likes
1
Downloads
0
Comments
0

7 Embeds 1,002

http://charlotteruby.org 673
http://localhost:4000 229
http://charlotte-ruby.github.com 71
http://a.eval.me:4000 16
http://localhost 11
http://www.slideshare.net 1
http://www.charlotteruby.org 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Aaron Bedra - Metrics Magic Presentation Transcript

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