Codeminer42/cm42-central

View on GitHub
app/controllers/teams_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method TeamsController#create (36.5)
Open

  def create
    @team = Team.new(allowed_params)
    authorize @team

    return unless check_recaptcha
Severity: Minor
Found in app/controllers/teams_controller.rb by flog

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

Complex method TeamsController#update (33.2)
Open

  def update
    @team = current_team
    authorize @team

    result = TeamOperations::Update.call(
Severity: Minor
Found in app/controllers/teams_controller.rb by flog

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