gitlabhq/gitlabhq

View on GitHub
app/models/namespace.rb

Summary

Maintainability
C
1 day
Test Coverage

Class Namespace has 54 methods (exceeds 20 allowed). Consider refactoring.
Open

class Namespace < ApplicationRecord
  include CacheMarkdownField
  include Sortable
  include Gitlab::VisibilityLevel
  include Routable
Severity: Major
Found in app/models/namespace.rb - About 7 hrs to fix

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

    class Namespace < ApplicationRecord
      include CacheMarkdownField
      include Sortable
      include Gitlab::VisibilityLevel
      include Routable
    Severity: Minor
    Found in app/models/namespace.rb - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status