Module: MetricFu
- Defined in:
- lib/metric_fu.rb,
lib/base/graph.rb,
lib/base/report.rb,
lib/base/ranking.rb,
lib/base/location.rb,
lib/base/generator.rb,
lib/graphs/grapher.rb,
lib/generators/flay.rb,
lib/generators/flog.rb,
lib/generators/rcov.rb,
lib/generators/reek.rb,
lib/base/md5_tracker.rb,
lib/generators/churn.rb,
lib/generators/roodi.rb,
lib/generators/stats.rb,
lib/base/line_numbers.rb,
lib/base/base_template.rb,
lib/base/configuration.rb,
lib/generators/saikuro.rb,
lib/generators/hotspots.rb,
lib/graphs/flay_grapher.rb,
lib/graphs/flog_grapher.rb,
lib/graphs/rcov_grapher.rb,
lib/graphs/reek_grapher.rb,
lib/graphs/engines/bluff.rb,
lib/graphs/roodi_grapher.rb,
lib/graphs/stats_grapher.rb,
lib/graphs/engines/gchart.rb,
lib/generators/rails_best_practices.rb,
lib/graphs/rails_best_practices_grapher.rb
Overview
Load a few things to make our lives easier elsewhere.
Defined Under Namespace
Modules: GchartGrapher Classes: Churn, Configuration, Flay, FlayBluffGrapher, FlayGchartGrapher, FlayGrapher, Flog, FlogBluffGrapher, FlogGchartGrapher, FlogGrapher, Generator, Graph, Grapher, Hotspots, LineNumbers, Location, MD5Tracker, MethodContainer, RailsBestPractices, RailsBestPracticesBluffGrapher, RailsBestPracticesGchartGrapher, RailsBestPracticesGrapher, Ranking, Rcov, RcovBluffGrapher, RcovGchartGrapher, RcovGrapher, Reek, ReekBluffGrapher, ReekGchartGrapher, ReekGrapher, Report, Roodi, RoodiBluffGrapher, RoodiGchartGrapher, RoodiGrapher, Saikuro, Stats, StatsBluffGrapher, StatsGchartGrapher, StatsGrapher, Template
Constant Summary collapse
- LIB_ROOT =
File.dirname(__FILE__)
- AVAILABLE_METRICS =
A list of metrics which are available in the MetricFu system.
These are metrics which have been developed for the system. Of course, in order to use these metrics, their respective gems must be installed on the system.
[:churn, :flog, :flay, :reek, :roodi, :rcov, :hotspots]
- AVAILABLE_GRAPHS =
[:flog, :flay, :reek, :roodi, :rcov, :rails_best_practices]
- AVAILABLE_GRAPH_ENGINES =
[:gchart, :bluff]
Class Method Summary collapse
-
.configuration ⇒ Object
The @@configuration class variable holds a global type configuration object for any parts of the system to use.
- .graph ⇒ Object
-
.report ⇒ Object
MetricFu.report memoizes access to a Report object, that will be used throughout the lifecycle of the MetricFu app.
Class Method Details
.configuration ⇒ Object
The @@configuration class variable holds a global type configuration object for any parts of the system to use.
19 20 21 |
# File 'lib/base/configuration.rb', line 19 def self.configuration @@configuration ||= Configuration.new end |
.report ⇒ Object
MetricFu.report memoizes access to a Report object, that will be used throughout the lifecycle of the MetricFu app.
5 6 7 |
# File 'lib/base/report.rb', line 5 def self.report @report ||= Report.new end |