MirkoMignini/easydsl

View on GitHub

Showing 3 of 3 total issues

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

  class Node
    def initialize(name, args, index, parent, node_builders = [])
      @name = name.to_s.chomp('!').to_sym
      @singleton = name[-1] == '!'
      @args = args
Severity: Minor
Found in lib/easydsl/node.rb - About 3 hrs to fix

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

        def add_child(name, args, index, parent, node_builders = [])
    Severity: Minor
    Found in lib/easydsl/node.rb - About 35 mins to fix

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

          def initialize(name, args, index, parent, node_builders = [])
      Severity: Minor
      Found in lib/easydsl/node.rb - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language