Metrics For Project Size Estimation
Metrics For Project Size Estimation
SIZE ESTIMATION
Accurate estimation of problem size is fundamental to satisfactory estimation of
Effort
Time duration
Cost
The project size is a measure of problem complexity in terms of effort and time required to
develop the product.
Two metrics are widely used to estimate size
Lines of code (LOC)
Function point metric (FP)
Lines of Code (LOC)
LOC gives a numerical value of problem size that can vary widely with
individual coding style.
A good problem size measure should consider the overall complexity of the
problem and effort needed to solve it.
LOC measure corelates poorly with the quality and efficiency of the code.
LOC metric penalizes use of higher level programming language, code reuse,
etc.
LOC metric measures lexical complexity of a program and does not address
more important logical or structural complexities.
It is very difficult to accurately estimate LOC from problem specification at
the beginning.
FUNCTION POINT METRIC
Alan Albrecht while working for IBM, recognized the problem in size
measurement in the 1970s, and developed a technique (which he called
Function Point Analysis), which appeared to be a solution to the size
measurement problem.
The principle of Albrecht’s function point analysis (FPA) is that the size of
software product is directly dependent on the number of different functions
and features it supports.
FIVE PROBLEM CHARACTERISTICS
Weighting factors
Functional Units
Low Average High
External Inputs (EI) 3 4 6
External Output (EO) 4 5 7
External Inquiries (EQ) 3 4 6
External logical files (ILF) 7 10 15
External Interface files (EIF) 5 7 10
Technical Complexity Factor (TCF)
TCF= (0.65+0.01*DI)
DI stands for Degree of Influence
UFP = 50 x 4 + 40 x 5 + 35 x 4 + 6 x 10 + 4 x 7
= 200 + 200 + 140 + 60 + 28 = 628
TCF = (0.65 + 0.01 *DI)
= (0.65 + 0.01 (14 x 3)) = 0.65 + 0.42 = 1.07
FP = UFP x TCF
= 628 x 1.07 = 672