module Hoe::Flog

def define_flog_tasks

def define_flog_tasks
  require "flog_task"
  FlogTask.new :flog, self.flog_threshold, nil, self.flog_method
rescue LoadError
  # skip
end

def initialize_flog

def initialize_flog
  self.flog_method    ||= :max_method
  self.flog_threshold ||= 20 # 2x industry avg
end