fog/fog-xenserver

View on GitHub
lib/fog/xenserver/compute.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Class has too many lines. [332/250]
Open

    class Compute < Fog::Service
      autoload :Models, File.expand_path("../compute/models", __FILE__)
      autoload :Real, File.expand_path("../compute/real", __FILE__)
      autoload :Mock, File.expand_path("../compute/mock", __FILE__)

Severity: Minor
Found in lib/fog/xenserver/compute.rb by rubocop

This cop checks if the length a class exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

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

require "fog/core"

module Fog
  module XenServer
    class Compute < Fog::Service
Severity: Minor
Found in lib/fog/xenserver/compute.rb - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status