Analizo::Metric::AverageNumberOfParamters - Average Number of Parameters (ANPM) metric
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"
To install Analizo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Analizo
CPAN shell
perl -MCPAN -e shell install Analizo
For more information on module installation, please visit the detailed CPAN module installation guide.