Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Source lines of
code (SLOC) is a software metric used to measure the size of a software
program by counting the number of lines in the text of the program's
source code. SLOC is typically used to predict the amount of effort that
will be required to develop a program, as well as to estimate
programming productivity or effort once the software is produced. Many
useful comparisons involve only the order of magnitude of lines of code
in a project. Software projects can vary between 10 to 100,000,000 or
more lines of code. Using lines of code to compare a 10,000 line project
to a 100,000 line project is far more useful than when comparing a
20,000 line project with a 21,000 line project. While it is debatable
exactly how to measure lines of code, discrepancies of an order of
magnitude can be clear indicators of software complexity or man hours.