Skip to content
Bozhidar Batsov edited this page Sep 25, 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, linter, 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 --
duplicate lines report from simian dont_repeat_yourself --
-- -- perftools.rb --
meta ci metric gem tools -- devtools --
sandi meter sandi metz rules sandi_meter --

Debugging

How to use metrics / tools