Skip to content
This repository has been archived by the owner on Jul 22, 2018. It is now read-only.

Mining Rails

Benjamin Oakes edited this page Oct 3, 2011 · 1 revision

Mining Rails

  • Not so much process, more about the product (code)

Metrics

  • LOC not a good metric (normalize against the language, at least)

  • Cyclomatic Complexity (decision points), a little dated (only really whiles and ifs), but still indicative

  • Flog: weighting for complexity

  • But: we have history!

  • Universal truths? Maybe not...

  • Queries against git logs

  • Social science (article about parole hearings)

  • Commits are patterned -- lots around 17:00

  • Beware noise

  • Can detect refacoring from method lifelines

  • Can learn more about you do, things you can act on

http://github.com/michaelfeathers/repodepot-ruby

  • complexity from flog

Q: Have you done any analysis to discover root causes for problems?

A crowd-sourced conference wiki!
Working together is better. :)




Clone this wiki locally