Reordering methods. Renamed parameter.
Implementation of some commit-based metrics.
Added generic type (diamond) to suppress warning. Double size of image.