Codeminer42/cm42-central

View on GitHub
app/controllers/confirmations_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method ConfirmationsController#show (21.5)
Open

  def show
    self.resource = resource_class.confirm_by_token(params[:confirmation_token])

    if resource.valid? && resource.errors.empty?
      set_flash_message :notice, :confirmed

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