SpontaneousCMS/spontaneous

View on GitHub
lib/spontaneous/prototypes/field_prototype.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Class FieldPrototype has 28 methods (exceeds 20 allowed). Consider refactoring.
Open

  class FieldPrototype
    attr_reader :owner, :name, :options

    def initialize(owner, name, type, options={}, blocks = [], &block)
      @owner = owner
Severity: Minor
Found in lib/spontaneous/prototypes/field_prototype.rb - About 3 hrs to fix

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

        def initialize(owner, name, type, options={}, blocks = [], &block)
    Severity: Minor
    Found in lib/spontaneous/prototypes/field_prototype.rb - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status