Reports if statements which can be simplified to single assignment or return statements.

Example:


  if (foo())
    return true;
  else
    return false;

After the quick-fix is applied:


  return foo();