subvisual/firestarter

View on GitHub

Showing 3 of 3 total issues

Class AppBuilder has 51 methods (exceeds 20 allowed). Consider refactoring.
Open

  class AppBuilder < Rails::AppBuilder # rubocop:disable Metrics/ClassLength
    include Firestarter::Actions

    def readme
      template "README.md.erb", "README.md"
Severity: Major
Found in lib/firestarter/app_builder.rb - About 7 hrs to fix

    Class AppGenerator has 27 methods (exceeds 20 allowed). Consider refactoring.
    Open

      class AppGenerator < Rails::Generators::AppGenerator # rubocop:disable Metrics/ClassLength
        class_option :database, type: :string, aliases: "-d", default: "postgresql",
          desc: "Preconfigure for selected database (options: #{DATABASES.join('/')})"
    
        class_option :github, type: :string, aliases: "-G", default: nil,
    Severity: Minor
    Found in lib/firestarter/generators/app_generator.rb - About 3 hrs to fix

      File app_builder.rb has 256 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      module Firestarter
        class AppBuilder < Rails::AppBuilder # rubocop:disable Metrics/ClassLength
          include Firestarter::Actions
      
          def readme
      Severity: Minor
      Found in lib/firestarter/app_builder.rb - About 2 hrs to fix
        Severity
        Category
        Status
        Source
        Language