Showing 6 of 13 total issues

Method execute has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def execute
          output = []

          output << example(comment: 'generate a new private key into an environment variable:',
                            command: 'export mykey=$(sym -g)',
Severity: Minor
Found in lib/sym/app/commands/show_examples.rb - About 1 hr to fix

    Method initialize has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          def initialize(argv, stdin = $stdin, stdout = $stdout, stderr = $stderr, kernel = nil)
            self.args   = argv
            self.stdin  = stdin
            self.stdout = stdout
            self.stderr = stderr
    Severity: Minor
    Found in lib/sym/app/cli.rb - About 1 hr to fix

      Method inherited has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              def self.inherited(klass)
                klass.instance_eval do
                  class << self
                    attr_accessor :required, :incompatible
      
      
      Severity: Minor
      Found in lib/sym/app/commands/base_command.rb - About 1 hr to fix

        Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                def initialize(opts, stdin = $stdin, stdout = $stdout, stderr = $stderr, kernel = nil)
        Severity: Minor
        Found in lib/sym/app/output/base.rb - About 35 mins to fix

          Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def initialize(opts, stdin = $stdin, stdout = $stdout, stderr = $stderr, kernel = nil)
          Severity: Minor
          Found in lib/sym/application.rb - About 35 mins to fix

            Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                  def initialize(argv, stdin = $stdin, stdout = $stdout, stderr = $stderr, kernel = nil)
            Severity: Minor
            Found in lib/sym/app/cli.rb - About 35 mins to fix
              Severity
              Category
              Status
              Source
              Language