Line of code as a unit of sizing of software - Project management (PMP)

Describe line of code as a unit of sizing of software.

- Line of code is a metric used to measure the size of software for estimation mainly by counting the number of lines needs to be written in the source code. It’s mainly used for small sized projects where it applies to most accurately. SLOC is directly proportional to the effort needed to build an application.

- There are 2 types of measures for lines of code: physical and logical. Physical SLOC is measured by counting the number of lines including, blank lines, and comments. Logical SLOC is based on number of statements which then depend on technology and language being used. SLOC is very commonly used for estimating the software, however, it is controversial as relationship between SLOC and features of software can vary tremendously based on developer’s skill and experience. Different developers may write varying SLOC for a feature. SLOC also might vary based on technology and programming language being used. Some languages might need 3 lines to be written to implement a statement against 1.
Guidelines for counting Line of Code - Project management (PMP)
a. Each counted line must contain only one source statement. b. Count all delivered executable statements.....
Advantages of using line of code as a unit of sizing of software - Project management (PMP)
a. Widely used and accepted. b. Allows the comparison of size & productivity across development groups...
Disadvantages of using line of code as a unit of sizing of software - Project management (PMP)
a. Difficult to measure LOC in the early stages of a new product. b. Source instructions vary with coding languages, design methods and with programmer’s ability..
Post your comment