Sha256: c023d57538cc5d44809037630cf01bba4810c3faa57f62a226aa0fa776143c80

Contents?: true

Size: 467 Bytes

Versions: 7

Compression:

Stored size: 467 Bytes

Contents

MetricFu.metrics_require   { 'rcov/rcov_grapher' }
module MetricFu
  class RcovGchartGrapher < RcovGrapher
    def title
      "Rcov: code coverage"
    end
    def data
      self.rcov_percent
    end
    def output_filename
      'rcov.png'
    end
    # overrides method
    def y_axis_scale_options
      {
        :max_value => 101,
        :axis_with_labels => 'x,y',
        :axis_labels => [self.labels.values, [0,20,40,60,80,100]],
      }
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
metric_fu-4.4.4 lib/metric_fu/metrics/rcov/rcov_gchart_grapher.rb
metric_fu-4.4.3 lib/metric_fu/metrics/rcov/rcov_gchart_grapher.rb
metric_fu-4.4.2 lib/metric_fu/metrics/rcov/rcov_gchart_grapher.rb
metric_fu-4.4.1 lib/metric_fu/metrics/rcov/rcov_gchart_grapher.rb
metric_fu-4.4.0 lib/metric_fu/metrics/rcov/rcov_gchart_grapher.rb
metric_fu-4.3.1 lib/metric_fu/metrics/rcov/rcov_gchart_grapher.rb
metric_fu-4.3.0 lib/metric_fu/metrics/rcov/rcov_gchart_grapher.rb