Given the following code:
def method
case x
when :a
if y.method || a.method
end
when :b
if y.method || b.method
end
end
end
reek reports a DuplicateMethodCall for y.method.
Yes, y.method appears two times in this method, however, it is only called at most once. Therefore I think that this is a false positive.