class MetricFu::HotspotProblems
Public Class Methods
new(sub_table)
click to toggle source
# File lib/metric_fu/metrics/hotspots/analysis/problems.rb, line 4 def initialize(sub_table) @grouping = group_by(sub_table, "metric") end
Public Instance Methods
group_by(sub_table, by = "metric")
click to toggle source
# File lib/metric_fu/metrics/hotspots/analysis/problems.rb, line 16 def group_by(sub_table, by = "metric") MetricFu::HotspotGroupings.new(sub_table, by: by).get_grouping end
problems()
click to toggle source
# File lib/metric_fu/metrics/hotspots/analysis/problems.rb, line 8 def problems problems = {} @grouping.each do |metric, table| problems[metric] = MetricFu::Hotspot.analyzer_for_metric(metric).present_group(table) end problems end