lib/fog/aws/service_mapper.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Method [] has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def self.[](service)
        @@connections ||= Hash.new do |hash, key|
          hash[key] = case key
                      when :auto_scaling
                        Fog::AWS::AutoScaling.new
Severity: Major
Found in lib/fog/aws/service_mapper.rb - About 2 hrs to fix

    Method class_for has 48 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          def self.class_for(key)
            case key
            when :auto_scaling
              Fog::AWS::AutoScaling
            when :beanstalk
    Severity: Minor
    Found in lib/fog/aws/service_mapper.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status