Analizo::Metric::NumerOfPublicMethods - Number of Public Methods (NPM) metric
The metric calculation is based on the following article and calculates the number of public methods of a class.
Article: Monitoring of source code metrics in open source projects by Paulo Roberto Miranda Meirelles.
See the adaptation of the paragraph about Number of Public Methods in the article:
Represents the size of the "interface" of the class. Methods are directly related to the operations provided in the respective class. High values for this metric indicate that a class has many methods and probably many responsibilities, which conflicts with good programming practices (Beck, 1997).
To install Analizo, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.