The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.