Professional Documents
Culture Documents
Cocomo Jjamor
Cocomo Jjamor
April 2005
1
c
°2005 Juan José Amor Iglesias
Software Estimation 2
Software Estimation
Software Estimation
Metrics and calculations for answering following questions:
• What will be its size?
• How much it will cost?
• How many months of development will be needed?
Classical software engineering proposed techniques for:
Estimating future size by using several information.
• Example: Function Points
Estimating future costs by using estimated size and some more
information (cost drivers, etc): COCOMO
Software Estimation
COCOMO Inputs:
Estimated SLOCs
Cost drivers
...
COCOMO Outputs:
Estimated cost (in Man-Months)
Estimated development time
Here we can obtain:
Human resources
Cost (money)
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
COCOMO: Projects 4
COCOMO: Projects
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
The Organic Mode 5
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Semi-Detached Mode 6
Semi-Detached Mode
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Embedded Mode 7
Embedded Mode
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Modes: Examples 8
Modes: Examples
Organic:
An inventory control
A compiler
An operating system for a very known architecture
Semi-detached:
Most transaction processing systems.
More complex operating system.
Embedded:
Large scale transaction system
Avionics
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Basic COCOMO 9
Basic COCOMO
Used for small/medium projects, developed “in house”. So, mainly Or-
ganic mode.
Organic: M M = 2,4(KDSI)1,05 , T DEV = 2,5(M M )0,38
Semi-detached: M M = 3,0(KDSI)1,12 , T DEV = 2,5(M M )0,35
Embedded: M M = 3,6(KDSI)1,2 , T DEV = 2,5(M M )0,32
Software maintenance effort estimation: Formula uses ACT (Annual
Change Traffic): The fraction of the software product’s source instruc-
tions which undergo change during a (typical) year, either through
addition or modification.
M MACT = 1,0(ACT )M MD
Example: After first year, a 32KDSI project added 4000 lines and modified
4000+2400
2400 lines. Then: ACT = 32000
= 0,20.
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Intermediate COCOMO 10
Intermediate COCOMO
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Intermediate COCOMO (II) 11
Computer Attributes
TIME: Execution Time Constraint
STOR: Main Storage Constraint
VIRT: Virtual Machine Volatility
TURN: Computer Turnaround Time
Personnel Attributes
ACAP: Analyst Capability
AEXP: Applications Experience
PCAP: Programmer Capability
VEXP: Virtual Machine Experience
LEXP: Programming Language Experience
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Intermediate COCOMO (III) 12
Project Attributes
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Intermediate COCOMO: Formulas 13
n
Y
M MIN T ERM EDIAT E = M Mnom DRIV ERi
i=1
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Cost drivers: multipliers 14
Cost Drivers Very Low Low Nominal High Very High Extra High
Product Attributes
RELY 0.75 0.88 1.00 1.15 1.40
DATA 0.94 1.00 1.08 1.16
CPLX 0.70 0.85 1.00 1.15 1.30 1.65
Computer Attributes
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
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Cost drivers: multipliers (II) 15
Cost Drivers Very Low Low Nominal High Very High Extra High
Personnel Attributes
ACAP 1.46 1.19 1.00 0.86 0.71
AEXP 1.29 1.13 1.00 0.91 0.82
PCAP 1.42 1.17 1.00 0.86 0.70
VEXP 1.21 1.10 1.00 0.90
LEXP 1.14 1.07 1.00 0.95
Project Attributes
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
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Maintenance Effort Estimation 16
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Maintenance Effort Estimation (II) 17
Cost Drivers Very Low Low Nominal High Very High Extra High
RELY 1.35 1.15 1.00 0.98 1.10
SCED 1.00 1.00 1.00 1.00 1.00
MODP
Size Very Low Low Nominal High Very High Extra High
2 1.25 1.12 1.00 0.90 0.81
8 1.30 1.14 1.00 0.88 0.77
32 1.35 1.16 1.00 0.86 0.74
128 1.40 1.18 1.00 0.85 0.72
512 1.45 1.20 1.00 0.84 0.70
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
Intermediate COCOMO: Discussion 18
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model
References 19
References
c
°2005 Juan José Amor Iglesias COCOMO: A Classical Estimation Model