Skip to content
Benjamin Fleischer edited this page Aug 25, 2015 · 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
git pre-commit hook checks commit style and content overcommit --
mutation testing -- mutant in consideration
complexity vs. churn -- turbulence in consideration
static analysis, security scanner -- brakeman --
CI build enforcer coverage, documentation, etc. Fudge --
static analysis meta tool code review with support for reek, rubocop,flay, brakeman, rails_best_practices, jshint, spell, git commit analyzer Pronto --
static analysis meta tool reek, flay flog, can be like a private code climate RubyCritic --
multi-tool static analysis rubocop, cane, reek, flog and flay quality --
static analysis, TODO comments code climate engine codeclimate-fixme --
multi-tool static analysis reek, rubocop ruby-appraiser --
code relationships social graph of Ruby objects society --
checks gemfile for known vulnerabilities -- holepicker --
predictive bug finder mines git history bugspots in consideration
static analysis magic number detector mago --
-- - - Outlaw --
-- -- perftools.rb --
meta ci metric gem tools -- devtools --
sandi meter sandi metz rules sandi_meter --
static analysis extracts code notes code_notes --
static analysis latent object detector latent object detector --
static analysis -- Excellent --
-- -- appraisal --
static analysis, linter, code style -- RuboCop --
static analysis, code style -- tailor --
schema/code analyzer rails only lol_dba --
checks rails app for missing db indices -- consistency fail --
static analysis, linter -- ruby-lint --
static analysis -- pelusa, rbx only --
static analysis cyclic complexity fukuzatsu --
-- -- Git statistics --
git statistics -- Git Pissed --
static analysis -- laser --
-- -- discover unused partials --
mutation tester -- heckle --
-- -- gauntlet --
git/ruby stats -- repo depot, video RailsConf 2010 --
-- -- rails indexes --
-- -- hopper --
-- -- metriks --
-- -- autometric video --
dead code detector -- old_yeller --
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 --
static analysis determine if safe to eval rufus-treechecker --
static analysis finds duplicate code towelie --

Debugging

How to use metrics / tools