What is KLOC (thousands of lines of code)? - Definition from WhatIs.com

Definition

KLOC (thousands of lines of code)

Part of the Programming glossary:

KLOC (thousands of lines of code) is a traditional measure of how large a computer program is or how long or how many people it will take to write it. The code measured is usually source code . Since a higher-level source language (such as C++ ) compiles into more lines of machine code than a lower-level language (such as assembler language), a KLOC of C++ statements would generate a larger program (in number of byte s) than a KLOC of assembler language statements.

KLOC has been used as a rough measure of programmer productivity, as in "How many lines of code can you write a day?" However, this measure does not consider the efficiency of the code. Many other factors obviously affect productivity.

Defects per KLOC is a common measure used as a target or for evaluating code quality.

This was last updated in April 2011
Posted by: Margaret Rouse

Related Terms

Definitions

  • baklava code

    - Baklava code is programming that is unnecessarily complicated by the inclusion of too many layers. The term is a reference to the flaky and extravagantly layered Middle-Eastern pastry. (WhatIs.com)

  • brogrammer

    - A brogrammer is a male programmer with traits often associated with fraternity brothers (bros) rather than the coder's stereotypical geek persona. The term is a portmanteau of bro, a short form of ... (WhatIs.com)

  • DevOps

    - DevOps is the blending of tasks performed by a company's application development and systems operations teams. (searchCloudComputing.com)

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.