hacken-in/hacken-in

View on GitHub
app/controllers/participates_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method ParticipatesController#update (27.5)
Open

  def update
    @single_event = SingleEvent.find params[:single_event_id]

    if push_or_delete(params[:state].to_s)
      flash[:notice] = t "single_events.#{params[:state]}.confirmation"

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

There are no issues that match your filters.

Category
Status