Project Size Estimation Metrics

Four metric are popularly being used to estimate size

a ) count the lines

b) lines of code(LOC)

c) function point(FP)

d) feature Point

1) count the lines:

There are several ways to count the lines in the code. Depending on what you count, you get a low or a high line count.

Count the line supports

• -> Physical Lines:Bitmetric count the all physical lines(LINES)

• -> logical lines: It covers one or more physical lines. Two or more physical lines can be joined as one logical line with the line continuation sequence(LLINES)

• -> logical lines of code: A logical lines of code is one that contains actual source code. An empty line or a comment line is not counted in LOC.

Physical lines of code is not supported by count the LINES. This type of a metric count the lines and comments.

2) lines of code(LOC)

LOC measure the size of a project by counting the number of source instructions in the development program ignoring the commenting code and header lines.

Determining the LOC at beginning is very difficult than in the end. Problem is divided into modules and each module into sub modules and so on until the size of the different Leaf-Level modules can be approximately predicted for estimating and loc in beginning.

Shortcomings of LOC

1) LOC gives a numerical value of problem size


If may vary widely with individual coding style.

Example- one programmer may write several instructions in a single line but another program may write these instructions in several lines.


Count the language tokens rather than the lines of code.

2) LOC is a measure of the coding activity alone.


Good program size measure should consider the total effort for specify, design, code, test etc.

3) - It merely computes the number of sources line in the final program


Coding is a very small part in the overall software development activities.

4) LOC metrics measure the lexical Complexity of a program and does not address the more important issue of logical or structure complexity.


program having Complex logic would require much more effort to develop than a program with simple logic.

LOC measures correlates poorly with the quality and efficiency of the code.


Large code size does not imply better quality or higher efficiency.

Key points:

•- the LOC count can only be accurately completed only after the has been fully developed .

•LOC metric penalizes use of high level programming reuse etc.

•If a programmer use many library routines or he/she reuse code then the LOC of that problem is less but it does not mean that the effort of that program is very few.

So it is not right way to estimate the project size.

19-Project Size Estimation Metrics- Software Engineering Tutorials In HINDI


Facebook Likes