The abbreviation LOC stands for Lines of Code in the military field, especially in the US. You can find more abbreviations starting with LO here. Also take a look at our list with military acronyms.
What are lines of code?
Lines of code are the simplest measure of the size of a software: They count the lines of the source code. The value serves as the basis for estimates of effort, costs and quality – for example in the classic cost model COCOMO, which calculates the development effort from the size of the software.
Strengths and weaknesses of the measure
LOC is easy to determine, but rough: Two programs with the same number of lines can differ enormously in complexity. Modern development environments and programming languages produce very different amounts of code for the same function. For this reason, the measure is supplemented today by more meaningful metrics such as function points or story points. In older military software projects, however, LOC – often in the unit KDSI (thousands of delivered source instructions) – is still the standard.
Usage of the abbreviation
LOC appears in project plans, cost estimates and quality reports of software projects. It belongs to the group of software metrics abbreviations.
Leave a Reply