2023-08-16 15:21:28 +02:00
|
|
|
The use of `break` and `continue` statements increases the complexity of the control flow and makes it harder to understand the program logic.
|
|
|
|
In order to keep a good program structure, they should not be applied more than once per loop.
|
2020-06-30 12:47:33 +02:00
|
|
|
|
2023-08-16 15:21:28 +02:00
|
|
|
This rule reports an issue when there is more than one `break` or `continue` statement in a loop.
|
|
|
|
The code should be refactored to increase readability if there is more than one.
|