michaelengland/FlipTheSwitch

View on GitHub

Showing 3 of 3 total issues

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

    class Settings < Base
      def generate
        create_settings_bundle_if_not_exists
        read_settings
        delete_existing_settings_if_exist
Severity: Minor
Found in lib/flip_the_switch/generator/settings.rb - About 2 hrs to fix

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

          def expected_schema
            {
              type: :object,
              additionalProperties: {
                type: :object,
    Severity: Minor
    Found in lib/flip_the_switch/reader/features.rb - About 1 hr to fix

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

          def initialize(name, enabled, description = nil, sub_features = [], parent_name = nil)
      Severity: Minor
      Found in lib/flip_the_switch/feature.rb - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language