The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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