A-Z Popular Blog Top Search »
Technology Guides

What are Lines Of Code?

 , updated on
Lines of code (LOC) is a software complexity metric that corresponds to the number of lines of source code in a software component. This is commonly used to estimate projects or measure the complexity of existing code for purposes such as service management.


Lines of Code is occasionally criticized as being an inaccurate measurement as it may reward verbose coding styles over more elegant designs. Lines of code may also underestimate complex portions of code such as algorithms and integration. For example, if you rely on Lines of Code a complex trading algorithm that integrates with 10 different exchanges might be considered equal in complexity to a simple service that displays webpages and communicates with a local database. Nevertheless, lines of code is often useful from a management perspective and tends to be accurate enough to estimate complexity at the order of magnitude level.
Overview: Lines Of Code
A software complexity metric that involves calculating or estimating the lines of code in a software component.
Also Known As
LOC, Source lines of code, SLOC
Related Concepts
Function Points

Information Technology Metrics

This is the complete list of articles we have written about information technology metrics.
Capability Rate
Defect Density
IT Examples
Lines Of Code
Story Points
More ...
If you enjoyed this page, please consider bookmarking Simplicable.

IT Metrics

A list of commonly used IT metrics.

Baseline vs Benchmark

The difference between a baseline and a benchmark.

Metrics vs Measurements

The difference between a metric and a measurement.

Error Rate

Common examples of error rate metrics.

System Analysis Examples

An overview of system analysis with examples.


Simplicable is a modern encyclopedia that has been updated daily since 2010.

Business Theory

A list of interesting business theories.

Knowledge Work

A definition of knowledge work with examples.

Office Politics

A list of social processes, absurdities and strategies related to office politics.

Product Development

A guide to product development.

Types Of Knowledge

The differences between types of knowledge.

Trough Of Sorrow

An overview of the trough of sorrow.

Business Models

A list of common business models.


A list of key marketing strategies.

Competitive Advantage

A few sources of competitive advantage for businesses.
The most popular articles on Simplicable in the past day.

New Articles

Recent posts or updates on Simplicable.
Site Map