app/admin/venue.rb
Complex method main#permitted_params (28.6) Open
Open
def permitted_params
params.permit(venue: [
:location,
:street,
:zipcode,
- 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