lib/tasks/metric_fu.rake in p8-metric_fu-0.8.4 vs lib/tasks/metric_fu.rake in p8-metric_fu-0.8.4.1
- old
+ new
@@ -1,20 +1,21 @@
namespace :metrics do
if MetricFu::RAILS
- desc "Generate coverage, cyclomatic complexity, flog, stats, duplication and churn reports"
- task :all => [:coverage, :stats, :saikuro, :churn, :flog, :flay]
+ desc "Generate coverage, cyclomatic complexity, flog, flay, railroad, reek, roodi, stats and churn reports"
+ task :all => [:coverage, :stats, :saikuro, :churn, :flog, :flay, :railroad, :reek, :roodi]
task :set_testing_env do
RAILS_ENV = 'test'
end
desc "Generate metrics after migrating (for continuous integration)"
task :all_with_migrate => [:set_testing_env, "db:migrate", :all]
else
- desc "Generate coverage, cyclomatic complexity, flog, duplication and churn reports"
- task :all => [:coverage, :saikuro, :churn, :flog, :flay]
+ desc "Generate coverage, cyclomatic complexity, flog, flay, railroad, reek, roodi and churn reports"
+ task :all => [:coverage, :saikuro, :churn, :flog, :flay, :railroad, :reek, :roodi]
end
+
end
\ No newline at end of file