lib/fog/cloudstack/compute.rb

Summary

Maintainability
F
3 days
Test Coverage

File compute.rb has 951 lines of code (exceeds 250 allowed). Consider refactoring.
Open

require 'fog/cloudstack/core'
require 'digest/md5'

module Fog
  module Compute
Severity: Major
Found in lib/fog/cloudstack/compute.rb - About 2 days to fix

    Method data has 312 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            def self.data
              @data ||= begin
                zone_id     = Fog.credentials[:cloudstack_zone_id]             || Fog::Cloudstack.uuid
                image_id    = Fog.credentials[:cloudstack_template_id]         || Fog::Cloudstack.uuid
                flavor_id   = Fog.credentials[:cloudstack_service_offering_id] || Fog::Cloudstack.uuid
    Severity: Major
    Found in lib/fog/cloudstack/compute.rb - About 1 day to fix

      There are no issues that match your filters.

      Category
      Status