Skip to content
Benjamin Fleischer edited this page Aug 23, 2013 · 27 revisions

Versioning

Ruby

Metric Type About Name Plugin
cyclic complexity -- metric_fu-Saikuro, saikuro-treemap metric_fu
code style -- rails_best_practices metric_fu
test coverage -- rcov, SimpleCov, SimpleCov-rcov-text metric_fu
opinionated Object Oriented Design Inferometer -- metric_fu-roodi, roodi metric_fu
duplicate / similar code -- flay metric_fu
code churn -- Churn metric_fu
complexity -- flog metric_fu
code smells -- reek metric_fu
abc complexity, style -- cane metric_fu
lines of code/test -- code_metrics metric_fu
mutation testing -- mutant in consideration
complexity vs. churn -- turbulence in consideration
static analysis, security scanner -- brakeman --
checks gemfile for known vulnerabilities -- holepicker --
predictive bug finder mines git history bugspots in consideration
-- - - Outlaw --
-- -- Git statistics --
static analysis -- Excellent --
static analysis -- laser --
-- -- discover unused partials --
mutation tester -- heckle --
-- -- gauntlet --
-- -- repodepot --
-- -- rails indexes --
checks rails app for missing db indices -- consistency fail --
-- -- appraisal --
-- -- hopper --
-- -- metriks --
static analysis, code style -- rubocop --
static analysis, linter -- ruby-lint --
static analysis -- pelusa, rbx only --
-- -- autometric video --
dead code detector -- old_yeller --
static analysis, code style -- tailor --
code metrics, non-ruby -- PMD --
mutation testing Haskell's QuickCheck in ruby rushcheck --
cyclomatic complexity requires rcov, rspec crap4r dead
duplicate lines report -- dont_repeat_yourself form simian analyzer
-- -- perftools.rb --
meta ci metric gem tools -- devtools --

Debugging

How to use metrics / tools