Flog plugin for hoe.
Analyze code complexity.
Optional: flog threshold to determine threshold failure. [default: 1500-200]
Define tasks for plugin.
# File lib/hoe/flog.rb, line 24 24: def define_flog_tasks 25: begin 26: require 'flog' 27: require 'flog_task' 28: FlogTask.new :flog, self.flog_threshold 29: rescue Exception 30: # skip 31: end 32: end
Initialize variables for plugin.
# File lib/hoe/flog.rb, line 17 17: def initialize_flog 18: self.flog_threshold ||= timebomb 1500, 1000 # 80% of average :( 19: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.