Reports any while,
do-while and for
loops which have the constant true as their
only condition, but which still can be terminated by a containing
if statement which can break out of the loop.
This if statement must be the first or only statement
in a while or for
loops and the last or only statement in a do-while loop.
Such a loop would be clearer if the if statement was removed and its condition
was made an explicit loop condition.