NAME

Module::Checkstyle::Check::Subroutine - Checks length, naming etc. of named subroutines

CONFIGURATION DIRECTIVES

Subroutine naming

Checks that a subroutine is named correctly. Use matches-name to specify a regular expression that must match.

matches-name = qr/\w+/

Subroutine length

Checks that named subroutines doesn't exceed a specified length. Use max-subroutine-length to specify the maximum number of lines a subroutine may be.

max-length = 40

Disallow fully qualified names

Checks if a subroutine is fully-qualified. That if it contains :: or '. Set disallow-fully-qualified-names to a true value to enable.

disallow-fully-qualified-name = true

SEE ALSO

Writing configuration files. "Format" in Module::Checkstyle::Config

Module::Checkstyle