1. Home
  2. Docs
  3. Great Ruby Resources
  4. Code Analysis and Metrics

Code Analysis and Metrics

  • Barkeep – Barkeep is a fast, fun way to review code. Engineering organizations can use it to keep the bar high.
  • Brakeman – A static analysis security vulnerability scanner for Ruby on Rails applications.
  • Cane – Code quality threshold checking as part of your build.
  • Coverband – Rack middleware to help measure production code coverage.
  • Fasterer – Make your Rubies go faster with this command line tool highly inspired by fast-ruby and Sferik’s talk at Baruco Conf.
  • Flay – Flay analyzes code for structural similarities. Differences in literal values, variable, class, method names, whitespace, programming style, braces vs do/end, etc are all ignored. Making this totally rad.
  • Flog – Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.
  • fukuzatsu – Complexity analysis tool with a rich web front-end.
  • MetricFu – A fist full of code metrics.
  • Pippi – A utility for finding suboptimal Ruby class API usage, focused on runtime analysis.
  • Pronto – Quick automated code review of your changes.
  • rails_best_practices – A code metric tool for rails projects.
  • Reek – Code smell detector for Ruby.
  • Rubycritic – A Ruby code quality reporter.
  • Scientist – A Ruby library for carefully refactoring critical paths.
  • SimpleCov – Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites.
  • Sorbet – A static type checker for Ruby.
  • Suture – A Ruby gem that helps you refactor your legacy code.
  • Traceroute – A Rake task gem that helps you find the dead routes and actions for your Rails 3+ app
Was this article helpful to you? Yes No

How can we help?