Sha256: 1f40eb343bc73ab6bae3f26d49c047c80e3823c133087f8e4efde8ffb26ffa24

Contents?: true

Size: 467 Bytes

Versions: 9

Compression:

Stored size: 467 Bytes

Contents

module MetricFu
  class MetricChurn < Metric
    def name
      :churn
    end

    def default_run_options
      {
        start_date: '"1 year ago"',
        minimum_churn_count: 10,
        ignore_files: [],
        data_directory: MetricFu::Io::FileSystem.scratch_directory(name)
      }
    end

    def has_graph?
      false
    end

    def enable
      super
    end

    def activate
      activate_library("churn/calculator")
      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/churn/metric.rb
fastruby-metric_fu-5.0.0 lib/metric_fu/metrics/churn/metric.rb
code_metric_fu-4.14.4 lib/metric_fu/metrics/churn/metric.rb
code_metric_fu-4.14.3 lib/metric_fu/metrics/churn/metric.rb
code_metric_fu-4.14.2 lib/metric_fu/metrics/churn/metric.rb
code_metric_fu-4.14.1 lib/metric_fu/metrics/churn/metric.rb
code_metric_fu-4.14.0 lib/metric_fu/metrics/churn/metric.rb
metric_fu-4.12.0 lib/metric_fu/metrics/churn/metric.rb
metric_fu-4.11.4 lib/metric_fu/metrics/churn/metric.rb