Scroll to navigation

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

NAME

Analizo::Metric::AverageMethodLinesOfCode - Average Method Lines of Code (AMLOC) metric

DESCRIPTION

The metric calculation is based on the following article and calculates the average number of lines of code per method.

Article: Monitoring of source code metrics in open source projects by Paulo Roberto Miranda Meirelles.

See the adaptation of the paragraph about Average Method Lines of Code metric:

This metric indicates if the code is well distributed between the methods. How bigger, "heavier" are the methods. It's preferable to have a lot of small and of easy understanding operations than few large and complex operations.

2022-10-15 perl v5.34.0