---
name: "Analizo::Metric::AverageMethodLinesOfCode"
section: "3pm"
platform: "linux"
package: "analizo"
version: "1.25.5-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Analizo::Metric::AverageMethodLinesOfCode"
---

# Analizo::Metric::AverageMethodLinesOfCode(3pm)

Average Method Lines of Code (AMLOC) metric

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