What Is a Line of Code (LOC)?

April 18, 2022

"Lines of code" (LOC) or "Source lines of code" (SLOC) is an informal unit for assessing a program’s feasibility or maintainability by measuring its size. The size of a program in LOC is determined by counting the number of lines used to write its source code. The total sum does not include blank or comment lines.


Anastazija
Spasojevic
Anastazija is an experienced content writer with knowledge and passion for cloud computing, information technology, and online security. At phoenixNAP, she focuses on answering burning questions about ensuring data robustness and security for all participants in the digital landscape.