Inspectopedia Help

Method metrics

Constructor with too many parameters   New in this release

Reports constructors whose number of parameters exceeds the specified maximum.

Method with more than three negations   New in this release

Reports methods with three or more negations.

Method with multiple loops   New in this release

Reports methods that contain more than one loop statement.

Method with multiple return points   New in this release

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

Method with too many exceptions declared   New in this release

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

Method with too many parameters   New in this release

Reports methods whose number of parameters exceeds the specified maximum.

Overly complex method   New in this release

Reports methods that have too many branch points.

Overly coupled method   New in this release

Reports methods that reference too many other classes.

Overly long lambda expression   New in this release

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

Overly long method   New in this release

Reports methods whose number of statements exceeds the specified maximum.

Overly nested method   New in this release

Reports methods whose body contain too deeply nested statements.

Last modified: 11 September 2024