Operation Has Suspicious Side Effects (OHSSE)

Description:

OHSSE detects if both sides of a binary expression, or an assignment expression change value of the same variable. This may cause undesirable program behavior under some circumstances.

Example:

   public class Test {
       static public void main() {
           int x[] = new int[3];
           int i = 1;
           // warning message will be produced
           if (x[i++] == x[i++]) {
               i = 2;
           }
       }
   }