Sha256: c9a81573f480e7cd23b7fd087cc49ab750b24baae0e50624560ef3f6a6d81c43

Contents?: true

Size: 688 Bytes

Versions: 5

Compression:

Stored size: 688 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)
        @measurement = measurement
      end

      def to_s
        [
          Fitting::Statistics::Lists.new(@measurement).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

5 entries across 5 versions & 1 rubygems

Version Path
fitting-2.6.0 lib/fitting/statistics/analysis.rb
fitting-2.5.0 lib/fitting/statistics/analysis.rb
fitting-2.4.1 lib/fitting/statistics/analysis.rb
fitting-2.4.0 lib/fitting/statistics/analysis.rb
fitting-2.3.0 lib/fitting/statistics/analysis.rb