lib/twitter_follower.rb
Complex method TwitterFollower#event_twitter_handles (39.0) Open
Open
def event_twitter_handles
(
Event.select(:twitter).uniq.map(&:twitter) +
SingleEvent.select("single_events.twitter").uniq.map(&:twitter)
).compact.uniq.map(&:downcase).delete_if(&:blank?) - ["hacken_in"]
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool