lib/radar/ical.rb
Complex method Radar::Ical#parse_event (34.7) Open
Open
def parse_event(event)
result = {
id: event.start.to_s,
url: event.url.to_s,
title: (event.summary || "").force_encoding("utf-8"),
- 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