Self-flagellation is an addition/extension of Ryan Davis's flog, which allows you to specify a customized set of complexity metrics (instead of just using the defaults built into the gem)
Ben Scofield
gem "self-flagellation", "~> 1.0.0"