内容がまったく同じ "then" および else 分岐を持つ if ステートメントを報告します。 このようなステートメントはほぼ確実にプログラマーのミスです。

例:


if (condition) {
  print "foo"
} else {
  print "foo"
}

クイックフィックス適用後:


print "foo"