Class: Fudge::Tasks::Flog
- Includes:
- Helpers::BundleAware
- Defined in:
- lib/fudge/tasks/flog.rb
Overview
Allow use of Flog complexity analyser
task :flog
runs flog with max score of 10.0 for a method, 5.0 average
task :flog, :exclude => 'subpath/'
excludes files matching :exclude from run
task :flog, :max => 20.0
sets max score for a method to 20.0
task :flog, :average => 10.0
sets required average to 10.0
task :flog, :methods => true
runs only scoring methods, not classes macros etc
Any and all options can be defined
Instance Attribute Summary
Attributes inherited from Shell
Attributes inherited from Task
Method Summary
Methods inherited from Shell
Methods inherited from Task
Constructor Details
This class inherits a constructor from Fudge::Tasks::Shell