Skip to content

Check: Method Length

Madeline Kahn edited this page Mar 11, 2024 · 4 revisions
  • Name: "methodLength"
  • Default: Enabled

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.