consul/consul

View on GitHub
app/models/comment.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class Comment has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

class Comment < ApplicationRecord
  include Flaggable
  include HasPublicAuthor
  include Graphqlable
  include Notifiable
Severity: Minor
Found in app/models/comment.rb - About 2 hrs to fix

    Method build has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def self.build(commentable, user, body, p_id = nil, valuation = false)
    Severity: Minor
    Found in app/models/comment.rb - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status