ManageIQ/manageiq

View on GitHub
app/models/service/retirement_management.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
41%

Unreachable code detected.
Open

    direct_service_children.each(&:retire_service_resources)

Checks for unreachable code. The check are based on the presence of flow of control statement in non-final position in begin (implicit) blocks.

Example:

# bad

def some_method
  return
  do_something
end

# bad

def some_method
  if cond
    return
  else
    return
  end
  do_something
end

Example:

# good

def some_method
  do_something
end

There are no issues that match your filters.

Category
Status