analdiffist

A professional twice over: an analyst and a diffist. www.youtube.com/watch?v=UrIpPqcln6Y

analdiffist uses flog and reek to analyze ruby code. Given two git refs (for example master and feature-branch), it will show you any differences in code metrics introduced between the refs.

Usage

analdiffist [ref-1] [ref-2]

If not supplied, ref-1 defaults to origin/master and ref-2 defaults to the current head.

note that before starting, analdiffist will stash your local changes, if any exist. After running, it will unstash your changes, leaving your local tree untouched… I think. No warranties are made.

Diff w/ analysis and metrics for origin/master..HEAD:

$> analdiffist origin/master

_or use analdiffist’s default default, origin/master:

$> analdiffist

Diff w/ analysis and metrics for origin/master..master:

$> analdiffist origin/master master

Future

Diff each commit in a range (once we implement this):

$> analdiffist origin/master..master

Sample Output

Contributing to analdiffist

Copyright © 2011 Adam Pearson. See LICENSE.txt for further details.