scitools.com

← Metric catalog

Average Code Lines is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

Average Code Lines

API ID: AvgCountLineCode
Also Known As: Average Method Size (AMS)
Languages: Ada, Basic, C#, C++, Fortran, Java, Jovial, Pascal, Python, Rust, Web
Targets: Classes, Files, Modules, Packages

Average number of lines containing source code for all nested functions or methods.

Also known as Lorenz & Kidd - Average Method Size (AMS).


Targets By Language: Configuration: