Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Check: Method Length

Madeline Kahn edited this page Feb 13, 2024 · 4 revisions

Name

"methodLength"

Configuration

Name Type Description
maxMethodLengthInstrs int Maximum method length, in bytecode instructions. A warning will be generated for each method exceeding this length. If not present, the check will skip.

Description

Generates a warning if the number of operations in any method is greater than a configured max value.

Clone this wiki locally