Scroll to navigation

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

NAME

Analizo::Metric::NumerOfAttributes - Number of Attributes (NOA) metric

DESCRIPTION

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.

2022-10-15 perl v5.34.0