Analizo::Metric::NumberOfPublicMethods(3pm)

Analizo::Metric::NumberOfPublicMethods3pm

Number of public methods (npm) metric

Overview

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).

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From analizo 1.25.5-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.