Updated

app/helpers / moderation_helper.rb

A
5 lines of codes
1 methods
4.8 complexity/method
1 churn
4.8 complexity
0 duplications
module ModerationHelper
  1. ModerationHelper has no descriptive comment
def moderation_delay?
  1. ModerationHelper#moderation_delay? doesn't depend on instance state (maybe move it to another class?)
Petition.in_moderation.count >= Site.threshold_for_moderation_delay end end