Showing 3 of 5 total issues
Class Conoha
has 35 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Conoha
def self.init!
load_config!
end
File conoha.rb
has 258 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'conoha/version'
require 'conoha/util'
require 'json'
# :nocov:
Method image_tag_dictionary
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def image_tag_dictionary(os)
dictionary = {
'ubuntu' => 'vmi-ubuntu-16.04-amd64-unified', # Ubuntu 16.04 amd64
'ubuntu16' => 'vmi-ubuntu-16.04-amd64-unified', # Ubuntu 16.04 amd64
'ubuntu14' => 'vmi-ubuntu-14.04-amd64-unified', # Ubuntu 14.04 amd64