hummingbird-me/hummingbird

View on GitHub
app/controllers/admin_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method stats has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def stats
    stats = {}

    stats[:activeaccs] = User.where('last_library_update >= ?', 1.day.ago).count
    stats[:feedposts] = Story.where('created_at >= ?', 1.day.ago).count
Severity: Minor
Found in app/controllers/admin_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status