Sha256: 6c2d0155aa1bf3091a888bfd7bfbb0a3ac8894340d20b931bbe77a1976a53c39

Contents?: true

Size: 726 Bytes

Versions: 23

Compression:

Stored size: 726 Bytes

Contents

require 'fitting/statistics/lists'
require 'fitting/statistics/requests_stats'
require 'fitting/statistics/responses_stats'
require 'fitting/statistics/great'
require 'fitting/statistics/not_covered_responses'

module Fitting
  class Statistics
    class Analysis
      def initialize(measurement, depth)
        @measurement = measurement
        @depth = depth
      end

      def to_s
        [
          Fitting::Statistics::Lists.new(@measurement, @depth).to_s,
          Fitting::Statistics::RequestsStats.new(@measurement).to_s,
          Fitting::Statistics::ResponsesStats.new(@measurement).to_s,
          Fitting::Statistics::Great.new(@measurement).to_s
        ].compact.join("\n\n")
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
fitting-2.7.2 lib/fitting/statistics/analysis.rb
fitting-2.7.1 lib/fitting/statistics/analysis.rb
fitting-2.7.0 lib/fitting/statistics/analysis.rb