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

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

Lines of Code (LOC) metric

## NAME

Analizo::Metric::LinesOfCode - Lines of Code (LOC) metric

## DESCRIPTION

The metric calculation is based on the following article and calculates the program size in lines of code, excluding blank lines and comments.

Article: *The Lines of Code Metric as a Predictor of Program Faults: A* *Critical Analysis* by Taghi M. Khoshgoftaar and John C. Munson.

See the paragraph about Lines of Code in the article:

A description of the specific quantitative complexity data collected for each program is as follows:

... program size in lines of code (non-comment, non-blank lines) in program (LOC).
