Codeminer42/cm42-central

View on GitHub
app/admin/ownership.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method main#scoped_collection (35.1)
Open

    def scoped_collection
      if params[:project_id]
        super.includes(:team)
      elsif params[:team_id]
        super.includes(:project)
Severity: Minor
Found in app/admin/ownership.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