codeforamerica/clientcomm-rails

View on GitHub
app/mailers/notification_mailer.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method report_usage has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def report_usage(recipient, metrics, end_date)
    @end_date = Time.zone.parse(end_date)
    @start_date = @end_date - 7.days
    @metrics = metrics
    @total_outbound = 0
Severity: Minor
Found in app/mailers/notification_mailer.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status