Aaron Bedra - Metrics Magic

  • 1,778 views
Uploaded 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, …

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,778
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

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?