gitlabhq/gitlabhq

View on GitHub
app/models/project.rb

Summary

Maintainability
C
1 day
Test Coverage

Class Project has 56 methods (exceeds 20 allowed). Consider refactoring.
Open

class Project < ActiveRecord::Base
  include Gitlab::ShellAdapter
  extend Enumerize

  attr_accessible :name, :path, :description, :default_branch, :issues_tracker, :label_list,
Severity: Major
Found in app/models/project.rb - About 1 day to fix

    File project.rb has 314 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    require "grit"
    
    class Project < ActiveRecord::Base
      include Gitlab::ShellAdapter
      extend Enumerize
    Severity: Minor
    Found in app/models/project.rb - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status