Inspectopedia
 
2024.3

Infinite loop statement

Warning
Reliability
Last modified: 03 December 2024

Reports for, while, or do statements which can only exit by throwing an exception. While such statements may be correct, they usually happen by mistake.

Example: