mashirozx/mastodon

View on GitHub
app/models/user.rb

Summary

Maintainability
D
1 day
Test Coverage

Class User has 64 methods (exceeds 20 allowed). Consider refactoring.
Open

class User < ApplicationRecord
  self.ignored_columns = %w(
    remember_created_at
    remember_token
    current_sign_in_ip
Severity: Major
Found in app/models/user.rb - About 1 day to fix

    File user.rb has 354 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    class User < ApplicationRecord
      self.ignored_columns = %w(
        remember_created_at
        remember_token
        current_sign_in_ip
    Severity: Minor
    Found in app/models/user.rb - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status