SlideShare a Scribd company logo
1 of 23
A Presentation On topic
‘Cost Estimation using COCOMO Model’
Submitted By:-
Nitesh Bichwani
02224302013
B.C.A 4th semester
Evening shift
Submitted To:-
Mr. Vijay Yadav
(Assistant professor)
Submitted in the partial fulfilment for the award of degree of
Bachelor’s of Computer Application
SIRIFORT COLLEGE OF COMPUTER TECHNOLOGY AND MANAGEMENT
Plot no-8, Institutional area, Sector 25 Rohini, Delhi-110085
Definition:-
B.W. Boehm Introduced COCOMO model in his book
Software Engineering Economics in 1981 COCOMO is a
hierarchy of cost estimation models it includes basic ,
intermediate and detailed sub model.
Topic :- Constructive Cost Model (COCOMO)
Types
Of
COCOMO
Detailed
COCOMO Model
Intermediate
Model
Basic Model
Topic :- Constructive Cost Model (COCOMO)
Topic :- Constructive Cost Model (COCOMO)
The basic model aims at estimating, in a quick and rough
fashion, most of the small to medium sized software projects.
Three modes of software development are considered in this
model:
Organic: A small team of experienced developers develops
software in a very familiar environment.
Embedded: The project has tight constraints, which might be
related to the target processor.
Semidetached: It is an intermediate mode between the organic
mode and embedded mode.
Depending on the problem at hand, the team might include a
mixture of experienced and less experienced people with only a
recent history of working together.
Comparison of three COCOMO modes
Mode Project
Size
Nature of
Project
Innovation Deadline
of the
Project
Development
Environment
Organic Typically
2 – 50
KLOC
Small Size
Projects,
experienced
developers.
Little Not tight Familiar And In
house
Semi-
Detached
Typically
50 – 300
KLOC
Medium size
project, average
previous
experience on
similar projects.
Medium Medium Medium
Embedded Typically
over 300
KLOC
Large projects,
complex
interfaces, very
little previous
experience.
Significant Tight Complex
Hardware /
Customer
interfaces
required
Topic :- Constructive Cost Model (COCOMO)
Project ab bb cb db
Organic mode 2.4 1.05 2.5 0.38
Semidetached mode 3.0 1.12 2.5 0.35
Embedded mode 3.6 1.20 2.5 0.32
Basic COCOMO Co- efficients
The Basic COCOMO equations take the
form:
E = ab (KLOC)bb
D = cb (E)db
SS = E/D persons
P = KLOC/E
E = effort
D = Deployment time
SS = staff size
P = productivity
ab ,bb ,cb ,db = Coefficients
Topic :- Constructive Cost Model (COCOMO)
Example :
Suppose that a project was estimated to be 400 KLOC.
Calculate the effort and development time for each of the three
modes i.e. organic , semidetached and embedded.
Solution The basic COCOMO equations take the form:
E = ab (KLOC)bb
D = cb (E)db
Estimated size of the project = 400 KLOC
1. Organic Mode
E = 2.4 (400)1.05 = 1295.31 PM
D = 2.5 (1295.31)0.38 = 38.07 M
2. Semi detached Mode
E = 3.0 (400)1.12 = 2462.79 PM
D = 2.5 (2462.79)0.35 = 38.45 M
3. Embedded Mode
E = 3.6 (400)1.20 = 4772.81 PM
D = 2.5 (4772.81)0.32 = 37.59 M
Topic :- Constructive Cost Model (COCOMO)
In the Intermediate model Boehm introduced an additional set of
15 predictors called cost drivers in the intermediate model to
take account of the software development environment. Cost
drivers are used to adjust the nominal cost of a project to the
actual project environment, hence increasing the accuracy of the
estimate.
The cost drivers are grouped into 4 categories:-
1. Product attributes
a. Required software reliability (RELY)
b. Database size (DATA)
c. Product complexity (CPLX)
2. Computer attributes
a. Execution time constraint (TIME)
b. Main store constraint (STOR)
c. Virtual machine volatility (VIRT)
d. Computer turnaround time (TURN)
Topic :- Constructive Cost Model (COCOMO)
3. Personnel attributes
a. Analyst capability (ACAP)
b. Application experience (AEXP)
c. Programmer capability (PCAP)
d. Virtual machine experience (VEXP)
e. Programming Language experience (LEXP)
4. Project attributes
a. Morden programming practices (MODP)
b. Use of software tool (TOOL)
c. Required development schedule (SCED)
Each cost driver is rated for a given project environment. The
rating uses a scale very low, low, nominal, high, very high, extra
high which describes to what extent the cost driver applies to
the project being estimated.
Topic :- Constructive Cost Model (COCOMO)
Cost Drivers
Ratings
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 -
Multiplier Values
For
Effort Calculations
Topic :- Constructive Cost Model (COCOMO)
Cost Drivers
Ratings
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 -
Topic :- Constructive Cost Model (COCOMO)
Multiplier Values
For
Effort Calculations
Project ai bi ci di
Organic mode 3.2 1.05 2.5 0.38
Semidetached mode 3.0 1.12 2.5 0.35
Embedded mode 2.8 1.20 2.5 0.32
Co- efficients for Intermediate COCOMO
The Intermediate COCOMO
equations take the form:
E = ai (KLOC)bi * EAF
D = ci (E)di
SS = E/D persons
P = KLOC/E
EAF = Effort Adjustment
factor
E = effort
D = Deployment time
SS = staff size
P = productivity
ai , bi , ci , di = Coefficients
Topic :- Constructive Cost Model (COCOMO)
Example :
A new project with estimated 400 KLOC embedded system has to be developed. Project
manager has a choice of hiring from two pools of developers : with very high application
experience and very little experience in the programming language being used or
developers of very low application experience but a lot of experience with the
programming language. What is the impact of hiring all developers from one or the other
pool.
Solution
This is the case of embedded mode
Hence E = ai (KLOC)bi * EAF D = ci (E)di
Case 1: Developers are with very high application experience and very little experience
in the programming language being used.
EAF = 0.82 *1.14 = 0.9348
E = 2.8(400)1.20 * 0.9348 = 3470 PM
D = 2.5 (3470)0.32 = 33.9 M
Case 2: developers of very low application experience but a lot of experience with the
programming language.
EAF = 1.29*0.95 = 1.22
E = 2.8 (400)1.20 *1.22 = 4528PM
D = 2.5 (4528)0.32 = 36.9 M
Case 2 requires more effort and time. Hence, low quality application experience but a lot
of programming language experience could not match with the very high application
experience and very little programming language experience.
Topic :- Constructive Cost Model (COCOMO)
A large amount of work is done by Boehm to capture all
significant aspects of a software development. It offers a means
for processing all the project characteristics to construct a
software estimate.
Capabilities
Of
Detailed Model
Three-Level
Product Hierarchy
Phase-Sensitive
Effort Multipliers
Topic :- Constructive Cost Model (COCOMO)
Phase-Sensitive Effort Multipliers:
Some phases (design, programming, integration/test) are more
affected than others by factors defined by the cost drivers. This
helps in determining the man power allocation for each phase of
the project.
Three-Level Product Hierarchy:-
Three product levels are defined. These are module, subsystem
and system levels. The rating of the cost drivers are done at
appropriate level; that is, the level at which it is most susceptible
to variation.
Topic :- Constructive Cost Model (COCOMO)
Topic :- Constructive Cost Model (COCOMO)
A software development is carried out in four successive
phases:-
1. Plan/ requirements: This is the first phase of the
development cycle. The requirement is analyzed, the
product plan is set up and a full product specification is
generated. This phase consumes from 6% to 8% of the
effort and 10% to 40% of the development time.
2. Product Design: The second phase of the COCOMO
development cycle is concerned with the determination of
the product architecture and the specification of the
subsystem. This phase requires from 16% to 18% of the
nominal effort and can last from 19% to 38% of the
development time.
3. Programming: The third phase of the COCOMO
development cycle is divided into two sub phases: detailed
design and code/unit test. This phase requires from 48% to
68% of the effort and lasts from 24% to 64% of the
development time.
4. Integration/test: This phase of the COCOMO development
cycle occurs before delivery. This mainly consist of putting
the tested parts together and then testing the final product
this phase requires from 16% to 34% of the nominal effort
and can last from 18% to 34% of the development time.
Topic :- Constructive Cost Model (COCOMO)
Mode and code size
Plan and
requirem
ent
System
design
Detail
design
Module
code and
test
Integratio
n and test
Lifecycle Phase Value of µb
Organic Small S ≈ 2 0.06 0.16 0.26 0.42 0.16
Organic Medium S ≈ 32 0.06 0.16 0.24 0.38 0.22
Semidetached Medium S ≈ 32 0.07 0.17 0.25 0.33 0.25
Semidetached Large S ≈ 128 0.07 0.17 0.24 0.31 0.28
Embedded Large S ≈ 128 0.08 0.18 0.25 0.26 0.31
Embedded Extra Large S ≈ 320 0.08 0.18 0.24 0.24 0.34
Lifecycle Phase Value of b
Organic Small S ≈ 2 0.10 0.19 0.24 0.39 0.18
Organic Medium S ≈ 32 0.12 0.19 0.21 0.34 0.26
Semidetached Medium S ≈ 32 0.20 0.26 0.21 0.27 0.26
Semidetached Large S ≈ 128 0.22 0.27 0.19 0.25 0.29
Embedded Large S ≈ 128 0.36 0.36 0.18 0.18 0.28
Embedded Extra Large S ≈ 320 0.40 0.38 0.16 0.16 0.30
Effort and schedule fractions occurring in each phase of lifecycle
Topic :- Constructive Cost Model (COCOMO)
Topic :- Constructive Cost Model (COCOMO)
The Detailed COCOMO
equations take the form:
E = ai (KLOC)bi * EAF
D = ci (E)di
Ep = µpE
Dp = pD
SS = E/D persons
P = KLOC/E
EAF = Effort Adjustment factor
E = effort
D = Deployment time
SS = staff size
P = productivity
µp = Used for effort
p = Used for schedule
Example :
Consider a project to develop a full screen editor. The major components
identified are (1) Screen edit, (2) Command Language Interpreter, (3) File
input and output, (4) Cursor movement and (5) Screen movement. The sizes
for these are estimated to be 4K, 2K, 1K, 2K and 3K delivered source code
lines. Use COCOMO model to determine:
(a) Overall cost and schedule estimates (assume values for different cost
drivers, with at least three of them being different from 1.0).
(b) Cost and schedule estimates for different phases.
Solution
Size of 5 modules are:-
Screen edit = 4KLOC
Command Language Interpreter = 2KLOC
File input and output = 1KLOC
Cursor movement and = 2KLOC
Screen movement = 3KLOC
total = 12KLOC
Topic :- Constructive Cost Model (COCOMO)
Let us assume that significant cost drivers are
(1) Required software reliability is high i.e. 1.15
(2) Product complexity is high i.e. 1.15
(3) Analyst capability is high i.e. 0.86
(4) All other drivers are nominal i.e. 1.00
Hence
EAF = 1.15 * 1.15 * 0.86 = 1.1373
(a) The initial effort estimate for the project
E = ai (KLOC)bi * EAF
=3.2(12)1.05 * 1.1373 = 49.449 PM
D = ci (E)di
= 2.5(49.44)0.38 = 11.007 M
Topic :- Constructive Cost Model (COCOMO)
(b) Phase wise cost and schedule estimates
Ep = µpE
Dp = pD
Since size is only 12 KLOC, it is an organic small model.
Phase wise effort distribution is given below:
System Design = 0.16 * 49.449 = 7.911
Detailed Design = 0.26 * 49.449 = 12.856
Module code and test = 0.42 * 49.449 = 20.768
Integration and test = 0.16 * 49.449 = 7.911
Phase wise development time duration is:
System Design = 0.19 * 11.007 = 2.091
Detailed Design = 0.24 * 11.007 = 2.641
Module code and test = 0.39 * 11.007 = 4.292
Integration and test = 0.18 * 11.007 = 1.981
Topic :- Constructive Cost Model (COCOMO)
Thank You
Presented by:-
Nitesh Bichwani
Topic :- Constructive Cost Model (COCOMO)

More Related Content

What's hot

Dynamic and Static Modeling
Dynamic and Static ModelingDynamic and Static Modeling
Dynamic and Static Modeling
Saurabh Kumar
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
koolkampus
 
Software project management
Software project managementSoftware project management
Software project management
R A Akerkar
 
Software estimation
Software estimationSoftware estimation
Software estimation
Md Shakir
 

What's hot (20)

Dynamic and Static Modeling
Dynamic and Static ModelingDynamic and Static Modeling
Dynamic and Static Modeling
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Lab report for Prolog program in artificial intelligence.
Lab report for Prolog program in artificial intelligence.Lab report for Prolog program in artificial intelligence.
Lab report for Prolog program in artificial intelligence.
 
Peephole Optimization
Peephole OptimizationPeephole Optimization
Peephole Optimization
 
Risk management(software engineering)
Risk management(software engineering)Risk management(software engineering)
Risk management(software engineering)
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
 
Spm unit2
Spm unit2Spm unit2
Spm unit2
 
Software project management
Software project managementSoftware project management
Software project management
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
 
Branch and bound
Branch and boundBranch and bound
Branch and bound
 
COCOMO Model in software project management
COCOMO Model in software project managementCOCOMO Model in software project management
COCOMO Model in software project management
 
Online Admission System
Online Admission System  Online Admission System
Online Admission System
 
Software estimation
Software estimationSoftware estimation
Software estimation
 
Motivation in software project development
Motivation in software project developmentMotivation in software project development
Motivation in software project development
 
OpenGL Mini Projects With Source Code [ Computer Graphics ]
OpenGL Mini Projects With Source Code [ Computer Graphics ]OpenGL Mini Projects With Source Code [ Computer Graphics ]
OpenGL Mini Projects With Source Code [ Computer Graphics ]
 
Tcp/ip server sockets
Tcp/ip server socketsTcp/ip server sockets
Tcp/ip server sockets
 
Capability Maturity Model (CMM) in Software Engineering
Capability Maturity Model (CMM) in Software EngineeringCapability Maturity Model (CMM) in Software Engineering
Capability Maturity Model (CMM) in Software Engineering
 
Software scope
Software scopeSoftware scope
Software scope
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
 

Similar to Cost estimation using cocomo model

cocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdfcocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdf
ssuser2d043c
 
Software Estimation Part II
Software Estimation Part IISoftware Estimation Part II
Software Estimation Part II
sslovepk
 
Cocomo ( cot constrictive model) and capability maturity model
Cocomo ( cot constrictive model) and capability maturity modelCocomo ( cot constrictive model) and capability maturity model
Cocomo ( cot constrictive model) and capability maturity model
Prakash Poudel
 

Similar to Cost estimation using cocomo model (20)

LatestCOCOMO model presentation for college students .pptx
LatestCOCOMO model presentation for college students .pptxLatestCOCOMO model presentation for college students .pptx
LatestCOCOMO model presentation for college students .pptx
 
SE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdfSE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdf
 
COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimation
 
In Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slidesIn Depth Constructive Cost Modeling related slides
In Depth Constructive Cost Modeling related slides
 
1sqa25.pptx
1sqa25.pptx1sqa25.pptx
1sqa25.pptx
 
COCOMO model
COCOMO modelCOCOMO model
COCOMO model
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
COCOMO 1 Model ppt AR-1.pdf
COCOMO 1 Model  ppt AR-1.pdfCOCOMO 1 Model  ppt AR-1.pdf
COCOMO 1 Model ppt AR-1.pdf
 
COCOMO Model.pptx
COCOMO Model.pptxCOCOMO Model.pptx
COCOMO Model.pptx
 
COCOMO (Software Engineering)
COCOMO (Software Engineering)COCOMO (Software Engineering)
COCOMO (Software Engineering)
 
cocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdfcocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdf
 
3wis_2.pdf
3wis_2.pdf3wis_2.pdf
3wis_2.pdf
 
Software cost estimation
Software cost estimationSoftware cost estimation
Software cost estimation
 
Cocomomodel
CocomomodelCocomomodel
Cocomomodel
 
COCOMO Model
COCOMO ModelCOCOMO Model
COCOMO Model
 
Software Estimation Part II
Software Estimation Part IISoftware Estimation Part II
Software Estimation Part II
 
Cocomo ( cot constrictive model) and capability maturity model
Cocomo ( cot constrictive model) and capability maturity modelCocomo ( cot constrictive model) and capability maturity model
Cocomo ( cot constrictive model) and capability maturity model
 
Aa03101540158
Aa03101540158Aa03101540158
Aa03101540158
 
Cocomo model (muskan soni)
Cocomo model (muskan soni)Cocomo model (muskan soni)
Cocomo model (muskan soni)
 
cocomo.pptx
cocomo.pptxcocomo.pptx
cocomo.pptx
 

Recently uploaded

Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
David Celestin
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 

Recently uploaded (15)

SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 

Cost estimation using cocomo model

  • 1. A Presentation On topic ‘Cost Estimation using COCOMO Model’ Submitted By:- Nitesh Bichwani 02224302013 B.C.A 4th semester Evening shift Submitted To:- Mr. Vijay Yadav (Assistant professor) Submitted in the partial fulfilment for the award of degree of Bachelor’s of Computer Application SIRIFORT COLLEGE OF COMPUTER TECHNOLOGY AND MANAGEMENT Plot no-8, Institutional area, Sector 25 Rohini, Delhi-110085
  • 2. Definition:- B.W. Boehm Introduced COCOMO model in his book Software Engineering Economics in 1981 COCOMO is a hierarchy of cost estimation models it includes basic , intermediate and detailed sub model. Topic :- Constructive Cost Model (COCOMO)
  • 4. Topic :- Constructive Cost Model (COCOMO) The basic model aims at estimating, in a quick and rough fashion, most of the small to medium sized software projects. Three modes of software development are considered in this model: Organic: A small team of experienced developers develops software in a very familiar environment. Embedded: The project has tight constraints, which might be related to the target processor. Semidetached: It is an intermediate mode between the organic mode and embedded mode. Depending on the problem at hand, the team might include a mixture of experienced and less experienced people with only a recent history of working together.
  • 5. Comparison of three COCOMO modes Mode Project Size Nature of Project Innovation Deadline of the Project Development Environment Organic Typically 2 – 50 KLOC Small Size Projects, experienced developers. Little Not tight Familiar And In house Semi- Detached Typically 50 – 300 KLOC Medium size project, average previous experience on similar projects. Medium Medium Medium Embedded Typically over 300 KLOC Large projects, complex interfaces, very little previous experience. Significant Tight Complex Hardware / Customer interfaces required Topic :- Constructive Cost Model (COCOMO)
  • 6. Project ab bb cb db Organic mode 2.4 1.05 2.5 0.38 Semidetached mode 3.0 1.12 2.5 0.35 Embedded mode 3.6 1.20 2.5 0.32 Basic COCOMO Co- efficients The Basic COCOMO equations take the form: E = ab (KLOC)bb D = cb (E)db SS = E/D persons P = KLOC/E E = effort D = Deployment time SS = staff size P = productivity ab ,bb ,cb ,db = Coefficients Topic :- Constructive Cost Model (COCOMO)
  • 7. Example : Suppose that a project was estimated to be 400 KLOC. Calculate the effort and development time for each of the three modes i.e. organic , semidetached and embedded. Solution The basic COCOMO equations take the form: E = ab (KLOC)bb D = cb (E)db Estimated size of the project = 400 KLOC 1. Organic Mode E = 2.4 (400)1.05 = 1295.31 PM D = 2.5 (1295.31)0.38 = 38.07 M 2. Semi detached Mode E = 3.0 (400)1.12 = 2462.79 PM D = 2.5 (2462.79)0.35 = 38.45 M 3. Embedded Mode E = 3.6 (400)1.20 = 4772.81 PM D = 2.5 (4772.81)0.32 = 37.59 M Topic :- Constructive Cost Model (COCOMO)
  • 8. In the Intermediate model Boehm introduced an additional set of 15 predictors called cost drivers in the intermediate model to take account of the software development environment. Cost drivers are used to adjust the nominal cost of a project to the actual project environment, hence increasing the accuracy of the estimate. The cost drivers are grouped into 4 categories:- 1. Product attributes a. Required software reliability (RELY) b. Database size (DATA) c. Product complexity (CPLX) 2. Computer attributes a. Execution time constraint (TIME) b. Main store constraint (STOR) c. Virtual machine volatility (VIRT) d. Computer turnaround time (TURN) Topic :- Constructive Cost Model (COCOMO)
  • 9. 3. Personnel attributes a. Analyst capability (ACAP) b. Application experience (AEXP) c. Programmer capability (PCAP) d. Virtual machine experience (VEXP) e. Programming Language experience (LEXP) 4. Project attributes a. Morden programming practices (MODP) b. Use of software tool (TOOL) c. Required development schedule (SCED) Each cost driver is rated for a given project environment. The rating uses a scale very low, low, nominal, high, very high, extra high which describes to what extent the cost driver applies to the project being estimated. Topic :- Constructive Cost Model (COCOMO)
  • 10. Cost Drivers Ratings 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 - Multiplier Values For Effort Calculations Topic :- Constructive Cost Model (COCOMO)
  • 11. Cost Drivers Ratings 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 - Topic :- Constructive Cost Model (COCOMO) Multiplier Values For Effort Calculations
  • 12. Project ai bi ci di Organic mode 3.2 1.05 2.5 0.38 Semidetached mode 3.0 1.12 2.5 0.35 Embedded mode 2.8 1.20 2.5 0.32 Co- efficients for Intermediate COCOMO The Intermediate COCOMO equations take the form: E = ai (KLOC)bi * EAF D = ci (E)di SS = E/D persons P = KLOC/E EAF = Effort Adjustment factor E = effort D = Deployment time SS = staff size P = productivity ai , bi , ci , di = Coefficients Topic :- Constructive Cost Model (COCOMO)
  • 13. Example : A new project with estimated 400 KLOC embedded system has to be developed. Project manager has a choice of hiring from two pools of developers : with very high application experience and very little experience in the programming language being used or developers of very low application experience but a lot of experience with the programming language. What is the impact of hiring all developers from one or the other pool. Solution This is the case of embedded mode Hence E = ai (KLOC)bi * EAF D = ci (E)di Case 1: Developers are with very high application experience and very little experience in the programming language being used. EAF = 0.82 *1.14 = 0.9348 E = 2.8(400)1.20 * 0.9348 = 3470 PM D = 2.5 (3470)0.32 = 33.9 M Case 2: developers of very low application experience but a lot of experience with the programming language. EAF = 1.29*0.95 = 1.22 E = 2.8 (400)1.20 *1.22 = 4528PM D = 2.5 (4528)0.32 = 36.9 M Case 2 requires more effort and time. Hence, low quality application experience but a lot of programming language experience could not match with the very high application experience and very little programming language experience. Topic :- Constructive Cost Model (COCOMO)
  • 14. A large amount of work is done by Boehm to capture all significant aspects of a software development. It offers a means for processing all the project characteristics to construct a software estimate. Capabilities Of Detailed Model Three-Level Product Hierarchy Phase-Sensitive Effort Multipliers Topic :- Constructive Cost Model (COCOMO)
  • 15. Phase-Sensitive Effort Multipliers: Some phases (design, programming, integration/test) are more affected than others by factors defined by the cost drivers. This helps in determining the man power allocation for each phase of the project. Three-Level Product Hierarchy:- Three product levels are defined. These are module, subsystem and system levels. The rating of the cost drivers are done at appropriate level; that is, the level at which it is most susceptible to variation. Topic :- Constructive Cost Model (COCOMO)
  • 16. Topic :- Constructive Cost Model (COCOMO) A software development is carried out in four successive phases:- 1. Plan/ requirements: This is the first phase of the development cycle. The requirement is analyzed, the product plan is set up and a full product specification is generated. This phase consumes from 6% to 8% of the effort and 10% to 40% of the development time. 2. Product Design: The second phase of the COCOMO development cycle is concerned with the determination of the product architecture and the specification of the subsystem. This phase requires from 16% to 18% of the nominal effort and can last from 19% to 38% of the development time.
  • 17. 3. Programming: The third phase of the COCOMO development cycle is divided into two sub phases: detailed design and code/unit test. This phase requires from 48% to 68% of the effort and lasts from 24% to 64% of the development time. 4. Integration/test: This phase of the COCOMO development cycle occurs before delivery. This mainly consist of putting the tested parts together and then testing the final product this phase requires from 16% to 34% of the nominal effort and can last from 18% to 34% of the development time. Topic :- Constructive Cost Model (COCOMO)
  • 18. Mode and code size Plan and requirem ent System design Detail design Module code and test Integratio n and test Lifecycle Phase Value of µb Organic Small S ≈ 2 0.06 0.16 0.26 0.42 0.16 Organic Medium S ≈ 32 0.06 0.16 0.24 0.38 0.22 Semidetached Medium S ≈ 32 0.07 0.17 0.25 0.33 0.25 Semidetached Large S ≈ 128 0.07 0.17 0.24 0.31 0.28 Embedded Large S ≈ 128 0.08 0.18 0.25 0.26 0.31 Embedded Extra Large S ≈ 320 0.08 0.18 0.24 0.24 0.34 Lifecycle Phase Value of b Organic Small S ≈ 2 0.10 0.19 0.24 0.39 0.18 Organic Medium S ≈ 32 0.12 0.19 0.21 0.34 0.26 Semidetached Medium S ≈ 32 0.20 0.26 0.21 0.27 0.26 Semidetached Large S ≈ 128 0.22 0.27 0.19 0.25 0.29 Embedded Large S ≈ 128 0.36 0.36 0.18 0.18 0.28 Embedded Extra Large S ≈ 320 0.40 0.38 0.16 0.16 0.30 Effort and schedule fractions occurring in each phase of lifecycle Topic :- Constructive Cost Model (COCOMO)
  • 19. Topic :- Constructive Cost Model (COCOMO) The Detailed COCOMO equations take the form: E = ai (KLOC)bi * EAF D = ci (E)di Ep = µpE Dp = pD SS = E/D persons P = KLOC/E EAF = Effort Adjustment factor E = effort D = Deployment time SS = staff size P = productivity µp = Used for effort p = Used for schedule
  • 20. Example : Consider a project to develop a full screen editor. The major components identified are (1) Screen edit, (2) Command Language Interpreter, (3) File input and output, (4) Cursor movement and (5) Screen movement. The sizes for these are estimated to be 4K, 2K, 1K, 2K and 3K delivered source code lines. Use COCOMO model to determine: (a) Overall cost and schedule estimates (assume values for different cost drivers, with at least three of them being different from 1.0). (b) Cost and schedule estimates for different phases. Solution Size of 5 modules are:- Screen edit = 4KLOC Command Language Interpreter = 2KLOC File input and output = 1KLOC Cursor movement and = 2KLOC Screen movement = 3KLOC total = 12KLOC Topic :- Constructive Cost Model (COCOMO)
  • 21. Let us assume that significant cost drivers are (1) Required software reliability is high i.e. 1.15 (2) Product complexity is high i.e. 1.15 (3) Analyst capability is high i.e. 0.86 (4) All other drivers are nominal i.e. 1.00 Hence EAF = 1.15 * 1.15 * 0.86 = 1.1373 (a) The initial effort estimate for the project E = ai (KLOC)bi * EAF =3.2(12)1.05 * 1.1373 = 49.449 PM D = ci (E)di = 2.5(49.44)0.38 = 11.007 M Topic :- Constructive Cost Model (COCOMO)
  • 22. (b) Phase wise cost and schedule estimates Ep = µpE Dp = pD Since size is only 12 KLOC, it is an organic small model. Phase wise effort distribution is given below: System Design = 0.16 * 49.449 = 7.911 Detailed Design = 0.26 * 49.449 = 12.856 Module code and test = 0.42 * 49.449 = 20.768 Integration and test = 0.16 * 49.449 = 7.911 Phase wise development time duration is: System Design = 0.19 * 11.007 = 2.091 Detailed Design = 0.24 * 11.007 = 2.641 Module code and test = 0.39 * 11.007 = 4.292 Integration and test = 0.18 * 11.007 = 1.981 Topic :- Constructive Cost Model (COCOMO)
  • 23. Thank You Presented by:- Nitesh Bichwani Topic :- Constructive Cost Model (COCOMO)