Cocomo Model
Cocomo Model
Cocomo Model
Basic
Intermediate
Detailed
Model proposed by
B. W. Boehms
through his book
Software Engineering Economics in 1981
1
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Organic
mode
Semidetached
mode
Embedded
mode
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Organic
Project size
Typically
2-50 KLOC
Semi
detached
Typically
50-300 KLOC
Nature of Project
Innovation
Deadline of
the project
Small
size
project,
experienced developers in the
familiar
environment.
For
example, pay roll, inventory
projects etc.
Little
Not tight
Medium
Medium
Significant
Tight
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Development
Environment
Familiar & In
house
Medium
Complex
Hardware/
customer
Interfaces
required
E ab ( KLOC )
D cb ( E )
bb
db
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
bb
cb
db
Organic
2.4
1.05
2.5
0.38
Semidetached
3.0
1.12
2.5
0.35
Embedded
3.6
1.20
2.5
0.32
Software
Project
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
E
Average staff size ( SS )
Persons
D
When project size is known, the productivity level may be
calculated as:
KLOC
KLOC / PM
Productivity ( P )
E
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
E ab ( KLOC )bb
D cb ( KLOC )
db
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
10
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
E = 3.0(200)1.12 = 1133.12 PM
D = 2.5(1133.12)0.35 = 29.3 PM
E
Average staff size ( SS )
Persons
D
1133 .12
38.67 Persons
29.3
11
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
0.1765 KLOC / PM
E
1133 .12
P 176 LOC / PM
12
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Personal Attributes
Analyst capability
Programmer capability
Application experience
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
RATINGS
Very low
Low
Nominal
High
Very
high
Extra
high
0.75
0.88
1.00
1.15
1.40
--
--
0.94
1.00
1.08
1.16
--
0.70
0.85
1.00
1.15
1.30
1.65
TIME
--
--
1.00
1.11
1.30
1.66
STOR
--
--
1.00
1.06
1.21
1.56
VIRT
--
0.87
1.00
1.15
1.30
--
TURN
--
0.87
1.00
1.07
1.15
--
Product Attributes
RELY
DATA
CPLX
Computer Attributes
15
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
RATINGS
Very low
Low
Nominal
High
Very
high
Extra
high
1.46
1.19
1.00
0.86
0.71
--
1.29
1.13
1.00
0.91
0.82
--
1.42
1.17
1.00
0.86
0.70
--
1.21
1.10
1.00
0.90
--
--
1.14
1.07
1.00
0.95
--
--
MODP
1.24
1.10
1.00
0.91
0.82
--
TOOL
1.24
1.10
1.00
0.91
0.83
--
SCED
1.23
1.08
1.00
1.04
1.10
--
Personnel Attributes
ACAP
AEXP
PCAP
VEXP
LEXP
Project Attributes
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
E ai ( KLOC ) bi * EAF
D ci ( E ) d i
Project
ai
bi
ci
di
Organic
3.2
1.05
2.5
0.38
Semidetached
3.0
1.12
2.5
0.35
Embedded
2.8
1.20
2.5
0.32
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Phase-Sensitive
effort multipliers
Cost
drivers
design
& test
System level
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
: 6% to 8%
19
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
:
:
16% to 18%
19% to 38%
Programming
Effort
Time
:
:
48% to 68%
24% to 64%
:
:
16% to 34%
18% to 34%
20
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Ep pE
Dp p D
21
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Plan &
Requirements
System
Design
Detailed
Design
Module
Code & Test
Integration
& Test
Organic Small
S2
0.06
0.16
0.26
0.42
0.16
Organic
medium S32
0.06
0.16
0.24
0.38
0.22
Semidetached
medium S32
0.07
0.17
0.25
0.33
0.25
Semidetached
large S128
0.07
0.17
0.24
0.31
0.28
Embedded
large S128
0.08
0.18
0.25
0.26
0.31
Embedded
extra large
S320
0.08
0.18
0.24
0.24
0.34
Table 7 : Effort and schedule fractions occurring in each phase of the lifecycle
22
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Plan &
Requirements
System
Design
Detailed
Design
Module Code
& Test
Integration
& Test
Organic Small
S2
0.10
0.19
0.24
0.39
0.18
Organic
medium S32
0.12
0.19
0.21
0.34
0.26
Semidetached
medium S32
0.20
0.26
0.21
0.27
0.26
Semidetached
large S128
0.22
0.27
0.19
0.25
0.29
Embedded
large S128
0.36
0.36
0.18
0.18
0.28
Embedded
extra large
S320
0.40
0.38
0.16
0.16
0.30
Table 7 : Effort and schedule fractions occurring in each phase of the lifecycle
23
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
25
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
E ai ( KLOC )
Hence
di
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
27
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
= 4 KLOC
= 2 KLOC
= 1 KLOC
Cursor movement
= 2 KLOC
Screen movement
= 3 KLOC
Total
= 12 KLOC
29
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
30
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Ep pE
Dp p D
31
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007
Software Engineering (3rd ed.), By K.K Aggarwal & Yogesh Singh, Copyright New Age International Publishers, 2007