Printer Friendly
The Free Dictionary
990,196,390 visitors served.
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

lines of code

   Also found in: Wikipedia 0.01 sec.

The statements and instructions that a programmer writes when creating a program. One line of this "source code" may generate one machine instruction or several depending on the programming language. A line of code in assembly language is typically turned into one machine instruction. In a high-level language such as C++ or Java, one line of code may generate a series of assembly language instructions, resulting in multiple machine instructions.

Lines of Code Are Not the Same
One line of code in any language may call for the inclusion of a subroutine that can be of any size, so while used to measure the overall complexity of a program, the line of code metric is not absolute. Comparisons can also be misleading if the programs are not written in the same language. For example, 20 lines of code in Visual Basic might require 200 lines of code in assembly language.

In addition, a measurement in lines of code says nothing about the quality of the code. A thousand lines of code written by one programmer can be equal to three thousand lines by another. See KLOC.


(programming, unit)lines of code - (LOC) A common measure of the size or progress of a programming project. For example, one can describe a completed project as consisting of 100,000 LOC; or one can characterise a week's progress as 5000 LOC.

Using LOC as a metric of progress encourages programmers to reinvent the wheel or split their code into lots of short lines.

?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
Document up to 50,000 lines of code FREE of charge with any of our documentation tools and ensure that the output satisfies your requirements.
Etnus' flagship product, TotalView, enhances software development productivity by eliminating much of the frustration, delays, and headaches involved in debugging complex, multi-process, multi-thread, and network-distributed applications containing many lines of code.
These solutions offer significant productivity gains in application development -- helping to eliminate the frustration, delays, and headaches inherent in analyzing multi-process, multi-thread, and network-distributed applications containing many lines of code or advanced programming techniques such as MPI, threads, and OpenMP.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2008 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.