Software Estimation
Software Estimation
Software Estimation
Intermediate COCOMO
• Extension of Basic COCOMO
• Why Use ?
Basic model lacks accuracy
• Computes software development effort as a function of program size and
set of 15 Cost Drivers
• Cost Driver: A multiplicative factor that determines the effort required to
complete the software project.
• Why Cost Drivers?
Adjust the nominal cost of a project to the actual project
Environment.
• For each Characteristics, Estimator decides the scale factor
Very Very Extra
Low Nominal High
Low High High
2
P)OD
3 • • ExeP)
Applic
Use
cuti
•ation
of
on
Experi
Soft
Tim
ence
ewar
Attributes
(AEX
P) e
Con
tool
strai
Project
• Progr
s
nt
amme
(TO
r (TI
OL)
ME)
Capab
Req
Mai
••ility
Attributes
Req
• nuire
(PCA
P) uire
d
Stor
Personnel
d
dev
age
• Virtual
Soft
elop
con
Machi
ne war
me
strai
e
nt
nt
Experi
Reli
sch
(ST
Attributes
ence
abili
edul
OR)
(VEX
ty
e
• Virt
Computer
P)
(RE
(SC
ual
• ProgrLY)
ED)
Mac
ammi
Dat
• hine
ng
Attributes
aba
vola
langu
se
tility
age
Siz
Product
(VI
Experi
e
RT)
ence
(DA
Co
•(LEXP
TA)
Cost Drivers
) mp
Pro
• uter
The Calculation
• Multiply all 15 Cost Drivers to get Effort Adjustment Factor(EAF)
• E(Effort) = a1*(KLOC)a2 * EAF(in Person-Month)
• D(Development Time) = b1*(E)b2 (in month)
• SS (Avg Staff Size) = E/D (in persons)
• P (Productivity) = KLOC/E (in KLOC/Person-month)
Project a1 a2 b1 b2
Organic 3.2 1.05 2.5 0.38
4
• Effort Adjustment Factor
Comp Turn Around Time .87 .87 1.00 1.07 1.15 1.15
5
Intermediate COCOMO : Example
6
Example (Contd.)
7
Complete COCOMO
8
The Calculation
9
Detailed COCOMO : Example
Consider a oraganic project to develop a full screen editor. The major components identified and their sizes are (i)
Screen Edit – 4K (ii) Command Lang Interpreter – 2K (iii) File Input and Output – 1K (iv) Cursor movement – 2K (v)
Screen Movement – 3K. Assume the Required software reliability is high, product complexity is high, analyst
capability is high & programming language experience is low. Use COCOMO model to estimate cost and time for
different phases.
Cost Drivers Very Low Low Nominal High Very High Extra High
Plan & Reqr System Detail Module code & Integration &
Design Design test Test
Organic Small µp 0.06 0.16 0.26 0.42 0.16
Organic Small τp 0.10 0.19 0.24 0.39 0.18
10
Example (Contd.)
11
Example (Contd.)
12