Flog plugin for hoe.
flog
Analyze code complexity.
Optional: flog threshold to determine threshold failure. [default: 1500-200]
Define tasks for plugin.
# File lib/hoe/flog.rb, line 26 def define_flog_tasks begin require 'flog_task' FlogTask.new :flog, self.flog_threshold, nil, self.flog_method rescue LoadError # skip end end
Initialize variables for plugin.
# File lib/hoe/flog.rb, line 18 def initialize_flog self.flog_method ||= :max_method self.flog_threshold ||= 20 # 2x industry avg end
[Validate]
Generated with the Darkfish Rdoc Generator 2.