gavinlaking/vedeu

View on GitHub
lib/vedeu/dsl/helpers/attributes.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Class Attributes has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

    class Attributes

      include Vedeu::Common

      # @param (see #initialize)
Severity: Minor
Found in lib/vedeu/dsl/helpers/attributes.rb - About 2 hrs to fix

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

          def self.build(context = nil,
                         model   = nil,
                         value   = '',
                         options = {},
                         &block)
    Severity: Minor
    Found in lib/vedeu/dsl/helpers/attributes.rb - About 35 mins to fix

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

            def initialize(context = nil,
                           model   = nil,
                           value   = '',
                           options = {},
                           &block)
      Severity: Minor
      Found in lib/vedeu/dsl/helpers/attributes.rb - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status