Inspectopedia Help

Method metrics

Constructor with too many parameters  

Reports constructors whose number of parameters exceeds the specified maximum.

Method with more than three negations  

Reports methods with three or more negations.

Method with multiple loops  

Reports methods that contain more than one loop statement.

Method with multiple return points  

Reports methods whose number of return points exceeds the specified maximum.

Method with too many exceptions declared  

Reports methods that have too many types of exceptions in its throws list.

Method with too many parameters  

Reports methods whose number of parameters exceeds the specified maximum.

Overly complex method  

Reports methods that have too many branch points.

Overly coupled method  

Reports methods that reference too many other classes.

Overly long lambda expression  

Reports lambda expressions whose number of statements exceeds the specified maximum.

Overly long method  

Reports methods whose number of statements exceeds the specified maximum.

Overly nested method  

Reports methods whose body contain too deeply nested statements.

Last modified: 18 June 2024