logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Analizo::Metric::NumberOfMethods - Number of Methods (NOM) metric

Description

       The metric calculation is based on the following article and calculates the number of methods per class
       to measure the size of the classes in terms of its implemented operations.

       Article: Monitoringofsourcecodemetricsinopensourceprojects by Paulo Roberto Miranda Meirelles.

       See the adaptation of the paragraph about Number of Methods in the article:

       ... This metric is used to help to identify the potential reuse of a class. In general, the classes with
       a large number of methods are harder to be reused, because they are more likely to be less cohesive
       (Lorenz and Kidd, 1994). Thus, it's recommended that a class don't have a excessive number of methods
       (Beck, 1997).

perl v5.40.0                                       2024-11-17              Analizo::Metric::NumberOfMethods(3pm)

Name

       Analizo::Metric::NumberOfMethods - Number of Methods (NOM) metric

return

See Also