Inspectopedia
 
2024.3

Method with multiple loops

Warning
New
Last modified: 03 December 2024

Reports methods that contain more than one loop statement.

Example:

The method below will be reported because it contains two loops:

The following method will also be reported because it contains a nested loop: