Maybe Shift Count is Out of Range (MSCOR)

Description:

MSCOR detects if the range of shift count operand is not within [0,31] for the int type, or [0,63] for the long type. It doesn't produce this message when the distance between the maximum and minimum values of shift count is greater than 255. So ther message will not be reported if the shift count is just a variable of integer type.

Example:

public int foo(int x, int y) {
	x >>= y; // no message
    x >>= 32 - (y & 31); // range of count is [1,32]
}