Reports if statements of the form
if (
condition
) return true else return
foo
or
if (
condition
) return false else return
foo
. These expressions may be safely simplified to
return
condition
&&
foo
or
return !
condition
||
foo
, respectively.