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.
|