darrenleeweber/aws-ops

View on GitHub

Showing 3 of 9 total issues

Class ServiceManager has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

class ServiceManager
 
attr_reader :service
attr_reader :settings
 
 
Severity: Minor
Found in lib/service/service_manager.rb - About 3 hrs to fix

    Class UbuntuHelper has 23 methods (exceeds 20 allowed). Consider refactoring.
    Open

    class UbuntuHelper
     
    attr_reader :current_path
    attr_reader :log_path
    attr_reader :script_path
    Severity: Minor
    Found in lib/ubuntu/ubuntu_helper.rb - About 2 hrs to fix

      Method terminate_nodes has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring.
      Open

      def terminate_nodes
      alive = nodes_alive
      if alive.empty?
      puts "There are no #{service} nodes alive"
      else
      Severity: Minor
      Found in lib/service/service_manager.rb - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language