Analizo::Metric::NumerOfAttributes - Number of Attributes (NOA) metric
The metric calculation is based on the following article and calculates the number of attributes 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 Attributes in the article:
Calculates the number of attributes of a class. Its minimum value is zero and there is no upper limit to its result. A class with many attributes may indicate that it has many responsibilities and presents a low cohesion, i. e., is probably dealing with several different subjects.
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.