Sha256: c14534ffbcb97a39466a701f4dcb4dbbd2a9daa0397157ce59f399c72658efbd

Contents?: true

Size: 358 Bytes

Versions: 9

Compression:

Stored size: 358 Bytes

Contents

module MetricFu
  class MetricReek < Metric
    def name
      :reek
    end

    def default_run_options
      {
        dirs_to_reek: MetricFu::Io::FileSystem.directory("code_dirs"),
        config_file_pattern: nil,
      }
    end

    def has_graph?
      true
    end

    def enable
      super
    end

    def activate
      super
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
metric_fu-4.13.0 lib/metric_fu/metrics/reek/metric.rb
fastruby-metric_fu-5.0.0 lib/metric_fu/metrics/reek/metric.rb
code_metric_fu-4.14.4 lib/metric_fu/metrics/reek/metric.rb
code_metric_fu-4.14.3 lib/metric_fu/metrics/reek/metric.rb
code_metric_fu-4.14.2 lib/metric_fu/metrics/reek/metric.rb
code_metric_fu-4.14.1 lib/metric_fu/metrics/reek/metric.rb
code_metric_fu-4.14.0 lib/metric_fu/metrics/reek/metric.rb
metric_fu-4.12.0 lib/metric_fu/metrics/reek/metric.rb
metric_fu-4.11.4 lib/metric_fu/metrics/reek/metric.rb