Reports unreachable code that will never be executed in any control flow and can be safely removed.

Example:

def largest_number(x, y)
  if x > y
    return x
  else
    return y
  end
  puts 'The largest number is ' + x #unreachable code
end