Aaron Bedra - Metrics Magic

2,009 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
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,009
On SlideShare
0
From Embeds
0
Number of Embeds
1,005
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • 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?

    ×