Reports duplicate conditions in different branches of an if statement. Duplicate conditions usually represent programmer oversight.

Example:


  if (a) {
    ...
  } else if (a) {
    ...
  }