Inspectopedia
 
2024.3

'break' statement

Warning
Last modified: 03 December 2024

Reports break statements that are used in places other than at the end of a switch statement branch.

break statements complicate refactoring and can be confusing.

Example: