app/models/concerns/feed/git.rb
Showing 2 of 2 total issues
Method create_notifications
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
Open
def self.create_notifications(record) case record.class.to_s when 'GitHook' return unless record.project
- Read upRead up
Method create_notifications
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.create_notifications(record) case record.class.to_s when 'GitHook' return unless record.project