The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Analizo::Metric::AverageNumberOfParamters - Average Number of Parameters (ANPM) metric

DESCRIPTION

The metric calculation is based on the following article and calculates the average of the number of parameters of the class methods.

Article: Monitoring of source code metrics in open source projects by Paulo Roberto Miranda Meirelles.

See the adaptation of the paragraph about Average Number of Parameters per Class in the article:

"Calculates the average of parameters of the class methods. Its minimum value is zero and there is no upper limit to its result, but a high number of parameters may indicate that a method may have one more responsibility, i. e., more than one function"