Scroll to navigation

Analizo::Metric::AverageNumberOfParameters(3pm) User Contributed Perl Documentation Analizo::Metric::AverageNumberOfParameters(3pm)

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"

2022-10-15 perl v5.34.0