datamolecule/door_mat

View on GitHub
lib/door_mat/configuration.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method has too many lines. [49/30]
Open

    def initialize
      @mailer_from_address = "noreply@example.com"

      # Controllers that require_password_reconfirm will only
      # allow the user in without requesting an additional sign-in if the user password
Severity: Minor
Found in lib/door_mat/configuration.rb by rubocop

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

Method initialize has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def initialize
      @mailer_from_address = "noreply@example.com"

      # Controllers that require_password_reconfirm will only
      # allow the user in without requesting an additional sign-in if the user password
Severity: Minor
Found in lib/door_mat/configuration.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status