ari/jobsworth

View on GitHub
app/models/notifications.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method changed has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def changed(delivery)
    @user = delivery.work_log.user
    @task = delivery.work_log.task
    @recipient = delivery.email
    @comment = delivery.work_log.body
Severity: Minor
Found in app/models/notifications.rb - About 1 hr to fix

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

      def reminder(tasks, tasks_tomorrow, tasks_overdue, user, sent_at = Time.now)
    Severity: Minor
    Found in app/models/notifications.rb - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status