cloudinsight/opentsdb-ruby

View on GitHub
lib/opentsdb.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method Opentsdb.options is defined at both lib/opentsdb.rb:5 and lib/opentsdb.rb:19.
Open

    def options
Severity: Minor
Found in lib/opentsdb.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

Method Opentsdb.host is defined at both lib/opentsdb.rb:5 and lib/opentsdb.rb:11.
Open

    def host
Severity: Minor
Found in lib/opentsdb.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

Method Opentsdb.logger is defined at both lib/opentsdb.rb:5 and lib/opentsdb.rb:28.
Open

    def logger
Severity: Minor
Found in lib/opentsdb.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

Method Opentsdb.port is defined at both lib/opentsdb.rb:5 and lib/opentsdb.rb:15.
Open

    def port
Severity: Minor
Found in lib/opentsdb.rb by rubocop

This cop checks for duplicated instance (or singleton) method definitions.

Example:

# bad

def duplicated
  1
end

def duplicated
  2
end

Example:

# bad

def duplicated
  1
end

alias duplicated other_duplicated

Example:

# good

def duplicated
  1
end

def other_duplicated
  2
end

There are no issues that match your filters.

Category
Status