hummingbird-me/kitsu-server

View on GitHub
app/models/user.rb

Summary

Maintainability
C
7 hrs
Test Coverage
B
86%

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

class User < ApplicationRecord
  include AvatarUploader::Attachment(:avatar)
  include CoverImageUploader::Attachment(:cover_image)

  PAST_NAMES_LIMIT = 10
Severity: Minor
Found in app/models/user.rb - About 4 hrs to fix

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

    class User < ApplicationRecord
      include AvatarUploader::Attachment(:avatar)
      include CoverImageUploader::Attachment(:cover_image)
    
      PAST_NAMES_LIMIT = 10
    Severity: Minor
    Found in app/models/user.rb - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status