SlideShare a Scribd company logo
1 of 31
COCOMO MODEL
(Cost Constructive MOdel)
Most widely used software estimation
model.
COCOMO predicts the efforts and
schedule of a software product.
SEG3300 A&B W2004 R.L. Probert 2
COCOMO Models
• COCOMO is defined in terms of three different
models:
– the Basic model,
– the Intermediate model, and
– the Detailed model.
• The more complex models account for more
factors that influence software projects, and
make more accurate estimates.
SEG3300 A&B W2004 R.L. Probert 3
The Development mode
• the most important factors contributing to a
project's duration and cost is the
Development Mode
• Organic Mode: The project is developed in a familiar,
stable environment, and the product is similar to
previously developed products. The product is
relatively small, and requires little innovation.
• Semidetached Mode: The project's characteristics are
intermediate between Organic and Embedded.
SEG3300 A&B W2004 R.L. Probert 4
The Development mode
• the most important factors contributing to a
project's duration and cost is the
Development Mode:
• Embedded Mode: The project is characterized by tight,
inflexible constraints and interface requirements. An
embedded mode project will require a great deal of
innovation.
TCS2411 Software Engineering 5
Basic COCOMO model
• Computes software development effort (and
cost) as function of program size expressed in
estimated lines of code
• Model:
Category ab bb cb db
Organic 2.4 1.05 2.5 0.38
Semi-detached 3.0 1.12 2.5 0.35
Embedded 3.6 1.20 2.5 0.32
TCS2411 Software Engineering 6
Basic COCOMO Equations
where
• E is effort in person-months
• D is development time in months
• kLOC is estimated number of lines of code
b
b
d
b
b
b
EcD
kLOCaE


P=E/D
P- Total number of persons
required to accomplish the
project
Merits
• Good for quick,early,rough order of estimates
Limitations:
• Accuracy is limited
• Does not consider certain factors(H/W
constraints,personal quality,experience,tools)
Example
• Consider a software project using semi-
detached mode with 30000 lines of code.We
will obtain estimation for this project as
follows:
• E=3.0(30)1.12
=135 person-month
• Duration estimation
D=2.5(135)0.35
=14 months
• Person estimation
P=E/D
=135/14
=10 persons approximately
TCS2411 Software Engineering 12
Intermediate COCOMO
• computes software development effort as a
function of program size and a set of “cost
drivers” that include subjective assessments of
product, hardware, personnel, and project
attributes
• Give rating to 15 attributes, from “very low” to
“extra high”, find effort multipllier (from table)
and product of all effort multipliers gives an
effort adjustment factor (EAF)
TCS2411 Software Engineering 13
Cost Driver Attributes
• Product attributes
– Required reliability
– Database size
– Product complexity
• Computer attributes
– Execution time constraint
– Main storage constraint
– Virtual machine volatility
– Computer turnaround time
TCS2411 Software Engineering 14
Cost Driver Attributes (Continued)
• Personnel attributes
– Analyst capability, Programmer capability
– Applications experience
– Virtual machine experience
– Programming language experience
• Project attributes
– Use of modern programming practices
– Use of software tools
– Required development schedule
TCS2411 Software Engineering 15
Intermediate COCOMO Equation
• where
• E is effort in person-months,
• kLOC is estimated number of lines of code
Category ai bi
Organic 3.2 1.05
Semi-detached 3.0 1.12
Embedded 2.8 1.20
EAFkLOCaE ib
i 
Merits
• Can be applied to almost entire software for
easy and rough cost estimation
• Can be applied at the s/w product component
level
Limitations:
Many components difficult to estimate
TCS2411 Software Engineering 17
Advanced COCOMO
• Incorporates all characteristics of intermediate
COCOMOwith an assessment of the cost
driver’s impact on each step of software
engineering process
COCOMO 2 models
• COCOMO 2 incorporates a range of sub-models that produce
increasingly detailed software estimates.
• The sub-models in COCOMO 2 are:
– Application composition model. Used when software is composed
from existing parts.
– Early design model. Used when requirements are available but design
has not yet started.
– Reuse model. Used to compute the effort of integrating reusable
components.
– Post-architecture model. Used once the system architecture has been
designed and more information about the system is available.
Use of COCOMO 2 models
Application composition model
• Supports prototyping projects and projects where there is
extensive reuse.
• Based on standard estimates of developer productivity in
application (object) points/month.
• Takes CASE tool use into account.
• Formula is
– PM = ( NAP  (1 - %reuse/100 ) ) / PROD
– PM is the effort in person-months, NAP is the number of application
points and PROD is the productivity.
Object point productivity
DeveloperÕs experience
and capability
Very low Low Nominal High Very high
ICASE maturity and
capability
Very low Low Nominal High Very high
PROD (NOP/month) 4 7 13 25 50
Early design model
• Estimates can be made after the requirements
have been agreed.
• Based on a standard formula for algorithmic
models
– PM = A  SizeB  M where
– M = PERS  RCPX  RUSE  PDIF  PREX  FCIL 
SCED;
– A = 2.94 in initial calibration, Size in KLOC, B varies
from 1.1 to 1.24 depending on novelty of the
project, development flexibility, risk management
approaches and the process maturity.
Multipliers
• Multipliers reflect the capability of the
developers, the non-functional requirements,
the familiarity with the development platform,
etc.
– RCPX - product reliability and complexity;
– RUSE - the reuse required;
– PDIF - platform difficulty;
– PREX - personnel experience;
– PERS - personnel capability;
– SCED - required schedule;
– FCIL - the team support facilities.
The reuse model
• Takes into account black-box code that is
reused without change and code that has to
be adapted to integrate it with new code.
• There are two versions:
– Black-box reuse where code is not modified. An
effort estimate (PM) is computed.
– White-box reuse where code is modified. A size
estimate equivalent to the number of lines of new
source code is computed. This then adjusts the
size estimate for new code.
Reuse model estimates 1
• For generated code:
– PM = (ASLOC * AT/100)/ATPROD
– ASLOC is the number of lines of generated code
– AT is the percentage of code automatically
generated.
– ATPROD is the productivity of engineers in
integrating this code.
Reuse model estimates 2
• When code has to be understood and
integrated:
– ESLOC = ASLOC * (1-AT/100) * AAM.
– ASLOC and AT as before.
– AAM is the adaptation adjustment multiplier
computed from the costs of changing the reused
code, the costs of understanding how to integrate
the code and the costs of reuse decision making.
Post-architecture level
• Uses the same formula as the early design model
but with 17 rather than 7 associated multipliers.
• The code size is estimated as:
– Number of lines of new code to be developed;
– Estimate of equivalent number of lines of new code
computed using the reuse model;
– An estimate of the number of lines of code that have
to be modified according to requirements changes.
• This depends on 5 scale factors (see next slide). Their
sum/100 is added to 1.01
• A company takes on a project in a new domain. The client has
not defined the process to be used and has not allowed time
for risk analysis. The company has a CMM level 2 rating.
– Precedenteness - new project (4)
– Development flexibility - no client involvement - Very high (1)
– Architecture/risk resolution - No risk analysis - V. Low .(5)
– Team cohesion - new team - nominal (3)
– Process maturity - some control - nominal (3)
• Scale factor is therefore 1.17.
The exponent term
Exponent scale factors
Precedentedness Reflects the previous experience of the organisation with this type of
project. Very low means no previous experience, Extra high means
that the organisation is completely familiar with this application
domain.
Development
flexibility
Reflects the degree of flexibility in the development process. Very
low means a prescribed process is used; Extra high means that the
client only sets general goals.
Architecture/risk
resolution
Reflects the extent of risk analysis carried out. Very low means little
analysis, Extra high means a complete a thorough risk analysis.
Team cohesion Reflects how well the development team know each other and work
together. Very low means very difficult interactions, Extra high
means an integrated and effective team with no communication
problems.
Process maturity Reflects the process maturity of the organisation. The computation
of this value depends on the CMM Maturity Questionnaire but an
estimate can be achieved by subtracting the CMM process maturity
level from 5.
TCS2411 Software Engineering 30
Estimation Issues
• Historical Data
• Accuracy
• Estimation Technique
• Automation
• Improving the Estimate
TCS2411 Software Engineering 31
References
• “Software Engineering: A Practitioner’s
Approach” 5th Ed. by Roger S. Pressman, Mc-
Graw-Hill, 2001
• “Software Engineering” by Ian Sommerville,
Addison-Wesley, 2001

More Related Content

What's hot

Type Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeType Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeUnited International University
 
Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimationNur Islam
 
Software Cost Estimation Techniques
Software Cost Estimation TechniquesSoftware Cost Estimation Techniques
Software Cost Estimation TechniquesSanthi thi
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 
Project control and process instrumentation
Project control and process instrumentationProject control and process instrumentation
Project control and process instrumentationKuppusamy P
 
Modules and modularization criteria
Modules and modularization criteriaModules and modularization criteria
Modules and modularization criteriaUmaselvi_R
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process ModelsAtul Karmyal
 
Taxonomy for bugs
Taxonomy for bugsTaxonomy for bugs
Taxonomy for bugsHarika Krupal
 
COCOMO model
COCOMO modelCOCOMO model
COCOMO modelhajra azam
 
Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)ShudipPal
 
COCOMO Model in software project management
COCOMO Model in software project managementCOCOMO Model in software project management
COCOMO Model in software project managementSyed Hassan Ali
 
Waterfall model ppt final
Waterfall model ppt  finalWaterfall model ppt  final
Waterfall model ppt finalshiva krishna
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costslalithambiga kamaraj
 
Cocomo model
Cocomo modelCocomo model
Cocomo modelBala Ganesh
 
PROTOTYPE MODEL
PROTOTYPE MODELPROTOTYPE MODEL
PROTOTYPE MODELshenagarg44
 
Software Metrics
Software MetricsSoftware Metrics
Software Metricsswatisinghal
 
REQUIREMENT ENGINEERING
REQUIREMENT ENGINEERINGREQUIREMENT ENGINEERING
REQUIREMENT ENGINEERINGSaqib Raza
 
Spiral model presentation
Spiral model presentationSpiral model presentation
Spiral model presentationSayedFarhan110
 
Risk management(software engineering)
Risk management(software engineering)Risk management(software engineering)
Risk management(software engineering)Priya Tomar
 

What's hot (20)

Type Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeType Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLike
 
Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimation
 
Software Cost Estimation Techniques
Software Cost Estimation TechniquesSoftware Cost Estimation Techniques
Software Cost Estimation Techniques
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Project control and process instrumentation
Project control and process instrumentationProject control and process instrumentation
Project control and process instrumentation
 
Modules and modularization criteria
Modules and modularization criteriaModules and modularization criteria
Modules and modularization criteria
 
COCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. MohiteCOCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. Mohite
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Taxonomy for bugs
Taxonomy for bugsTaxonomy for bugs
Taxonomy for bugs
 
COCOMO model
COCOMO modelCOCOMO model
COCOMO model
 
Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)
 
COCOMO Model in software project management
COCOMO Model in software project managementCOCOMO Model in software project management
COCOMO Model in software project management
 
Waterfall model ppt final
Waterfall model ppt  finalWaterfall model ppt  final
Waterfall model ppt final
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costs
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
PROTOTYPE MODEL
PROTOTYPE MODELPROTOTYPE MODEL
PROTOTYPE MODEL
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
REQUIREMENT ENGINEERING
REQUIREMENT ENGINEERINGREQUIREMENT ENGINEERING
REQUIREMENT ENGINEERING
 
Spiral model presentation
Spiral model presentationSpiral model presentation
Spiral model presentation
 
Risk management(software engineering)
Risk management(software engineering)Risk management(software engineering)
Risk management(software engineering)
 

Similar to Cocomo model

3wis_2.pdf
3wis_2.pdf3wis_2.pdf
3wis_2.pdfaustdali
 
COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimationPramod Parajuli
 
Se 381 - lec 25 - 32 - 12 may29 - program size and cost estimation models
Se 381 - lec 25 - 32 - 12 may29 - program size and cost estimation modelsSe 381 - lec 25 - 32 - 12 may29 - program size and cost estimation models
Se 381 - lec 25 - 32 - 12 may29 - program size and cost estimation modelsbabak danyal
 
Putnam Resource allocation model.ppt
Putnam Resource allocation model.pptPutnam Resource allocation model.ppt
Putnam Resource allocation model.pptAnupamaSharma80
 
CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5SIMONTHOMAS S
 
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.pdf23017156038
 
21UCAE52 Software Project Management.ppt
21UCAE52 Software Project Management.ppt21UCAE52 Software Project Management.ppt
21UCAE52 Software Project Management.pptssuser7f90ae
 
Exp 02-COCOMO (1).pptx
Exp 02-COCOMO (1).pptxExp 02-COCOMO (1).pptx
Exp 02-COCOMO (1).pptxYagnaGummadi
 
3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptxAbhishekKumar66407
 
Software cost estimation project
Software  cost estimation projectSoftware  cost estimation project
Software cost estimation projectShashank Puppala
 
Estimation techniques and risk management
Estimation techniques and risk managementEstimation techniques and risk management
Estimation techniques and risk managementPurushottam Basnet
 
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 slidesChobodiDamsaraniPadm
 
Aa03101540158
Aa03101540158Aa03101540158
Aa03101540158ijceronline
 

Similar to Cocomo model (20)

3wis_2.pdf
3wis_2.pdf3wis_2.pdf
3wis_2.pdf
 
COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimation
 
Se 381 - lec 25 - 32 - 12 may29 - program size and cost estimation models
Se 381 - lec 25 - 32 - 12 may29 - program size and cost estimation modelsSe 381 - lec 25 - 32 - 12 may29 - program size and cost estimation models
Se 381 - lec 25 - 32 - 12 may29 - program size and cost estimation models
 
Putnam Resource allocation model.ppt
Putnam Resource allocation model.pptPutnam Resource allocation model.ppt
Putnam Resource allocation model.ppt
 
CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5
 
Metrics
MetricsMetrics
Metrics
 
Project Estimation
Project EstimationProject Estimation
Project Estimation
 
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
 
21UCAE52 Software Project Management.ppt
21UCAE52 Software Project Management.ppt21UCAE52 Software Project Management.ppt
21UCAE52 Software Project Management.ppt
 
cocomo.pptx
cocomo.pptxcocomo.pptx
cocomo.pptx
 
Cocomo
CocomoCocomo
Cocomo
 
1sqa25.pptx
1sqa25.pptx1sqa25.pptx
1sqa25.pptx
 
Exp 02-COCOMO (1).pptx
Exp 02-COCOMO (1).pptxExp 02-COCOMO (1).pptx
Exp 02-COCOMO (1).pptx
 
3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx
 
Software cost estimation project
Software  cost estimation projectSoftware  cost estimation project
Software cost estimation project
 
cost-estimation-tutorial
cost-estimation-tutorialcost-estimation-tutorial
cost-estimation-tutorial
 
Estimation techniques and risk management
Estimation techniques and risk managementEstimation techniques and risk management
Estimation techniques and risk management
 
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
 
COCOMO
COCOMOCOCOMO
COCOMO
 
Aa03101540158
Aa03101540158Aa03101540158
Aa03101540158
 

More from Baskarkncet

Unit_I.pptx
Unit_I.pptxUnit_I.pptx
Unit_I.pptxBaskarkncet
 
03 x files
03 x files03 x files
03 x filesBaskarkncet
 
03 namespace
03 namespace03 namespace
03 namespaceBaskarkncet
 
02 xml schema
02 xml schema02 xml schema
02 xml schemaBaskarkncet
 
02 well formed and valid documents
02 well formed and valid documents02 well formed and valid documents
02 well formed and valid documentsBaskarkncet
 
00 introduction
00 introduction00 introduction
00 introductionBaskarkncet
 
01 xml document structure
01 xml document structure01 xml document structure
01 xml document structureBaskarkncet
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagramsBaskarkncet
 
10 component diagram
10 component diagram10 component diagram
10 component diagramBaskarkncet
 
09 package diagram
09 package diagram09 package diagram
09 package diagramBaskarkncet
 
08 state diagram and activity diagram
08 state diagram and activity diagram08 state diagram and activity diagram
08 state diagram and activity diagramBaskarkncet
 
07 interaction diagrams
07 interaction diagrams07 interaction diagrams
07 interaction diagramsBaskarkncet
 
06 class diagrams
06 class diagrams06 class diagrams
06 class diagramsBaskarkncet
 
05 use case
05 use case05 use case
05 use caseBaskarkncet
 
03 unified process
03 unified process03 unified process
03 unified processBaskarkncet
 
04 uml diagrams
04 uml diagrams04 uml diagrams
04 uml diagramsBaskarkncet
 
01 introduction
01 introduction01 introduction
01 introductionBaskarkncet
 

More from Baskarkncet (20)

Unit_I.pptx
Unit_I.pptxUnit_I.pptx
Unit_I.pptx
 
Unit 1
Unit 1Unit 1
Unit 1
 
HCI
HCIHCI
HCI
 
03 x files
03 x files03 x files
03 x files
 
03 namespace
03 namespace03 namespace
03 namespace
 
02 xml schema
02 xml schema02 xml schema
02 xml schema
 
02 well formed and valid documents
02 well formed and valid documents02 well formed and valid documents
02 well formed and valid documents
 
00 introduction
00 introduction00 introduction
00 introduction
 
01 xml document structure
01 xml document structure01 xml document structure
01 xml document structure
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
 
09 package diagram
09 package diagram09 package diagram
09 package diagram
 
08 state diagram and activity diagram
08 state diagram and activity diagram08 state diagram and activity diagram
08 state diagram and activity diagram
 
07 interaction diagrams
07 interaction diagrams07 interaction diagrams
07 interaction diagrams
 
06 class diagrams
06 class diagrams06 class diagrams
06 class diagrams
 
05 use case
05 use case05 use case
05 use case
 
03 unified process
03 unified process03 unified process
03 unified process
 
02 uml
02 uml02 uml
02 uml
 
04 uml diagrams
04 uml diagrams04 uml diagrams
04 uml diagrams
 
01 introduction
01 introduction01 introduction
01 introduction
 

Recently uploaded

Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 

Recently uploaded (20)

Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 

Cocomo model

  • 1. COCOMO MODEL (Cost Constructive MOdel) Most widely used software estimation model. COCOMO predicts the efforts and schedule of a software product.
  • 2. SEG3300 A&B W2004 R.L. Probert 2 COCOMO Models • COCOMO is defined in terms of three different models: – the Basic model, – the Intermediate model, and – the Detailed model. • The more complex models account for more factors that influence software projects, and make more accurate estimates.
  • 3. SEG3300 A&B W2004 R.L. Probert 3 The Development mode • the most important factors contributing to a project's duration and cost is the Development Mode • Organic Mode: The project is developed in a familiar, stable environment, and the product is similar to previously developed products. The product is relatively small, and requires little innovation. • Semidetached Mode: The project's characteristics are intermediate between Organic and Embedded.
  • 4. SEG3300 A&B W2004 R.L. Probert 4 The Development mode • the most important factors contributing to a project's duration and cost is the Development Mode: • Embedded Mode: The project is characterized by tight, inflexible constraints and interface requirements. An embedded mode project will require a great deal of innovation.
  • 5. TCS2411 Software Engineering 5 Basic COCOMO model • Computes software development effort (and cost) as function of program size expressed in estimated lines of code • Model: Category ab bb cb db Organic 2.4 1.05 2.5 0.38 Semi-detached 3.0 1.12 2.5 0.35 Embedded 3.6 1.20 2.5 0.32
  • 6. TCS2411 Software Engineering 6 Basic COCOMO Equations where • E is effort in person-months • D is development time in months • kLOC is estimated number of lines of code b b d b b b EcD kLOCaE  
  • 7. P=E/D P- Total number of persons required to accomplish the project
  • 8. Merits • Good for quick,early,rough order of estimates Limitations: • Accuracy is limited • Does not consider certain factors(H/W constraints,personal quality,experience,tools)
  • 9. Example • Consider a software project using semi- detached mode with 30000 lines of code.We will obtain estimation for this project as follows: • E=3.0(30)1.12 =135 person-month
  • 12. TCS2411 Software Engineering 12 Intermediate COCOMO • computes software development effort as a function of program size and a set of “cost drivers” that include subjective assessments of product, hardware, personnel, and project attributes • Give rating to 15 attributes, from “very low” to “extra high”, find effort multipllier (from table) and product of all effort multipliers gives an effort adjustment factor (EAF)
  • 13. TCS2411 Software Engineering 13 Cost Driver Attributes • Product attributes – Required reliability – Database size – Product complexity • Computer attributes – Execution time constraint – Main storage constraint – Virtual machine volatility – Computer turnaround time
  • 14. TCS2411 Software Engineering 14 Cost Driver Attributes (Continued) • Personnel attributes – Analyst capability, Programmer capability – Applications experience – Virtual machine experience – Programming language experience • Project attributes – Use of modern programming practices – Use of software tools – Required development schedule
  • 15. TCS2411 Software Engineering 15 Intermediate COCOMO Equation • where • E is effort in person-months, • kLOC is estimated number of lines of code Category ai bi Organic 3.2 1.05 Semi-detached 3.0 1.12 Embedded 2.8 1.20 EAFkLOCaE ib i 
  • 16. Merits • Can be applied to almost entire software for easy and rough cost estimation • Can be applied at the s/w product component level Limitations: Many components difficult to estimate
  • 17. TCS2411 Software Engineering 17 Advanced COCOMO • Incorporates all characteristics of intermediate COCOMOwith an assessment of the cost driver’s impact on each step of software engineering process
  • 18. COCOMO 2 models • COCOMO 2 incorporates a range of sub-models that produce increasingly detailed software estimates. • The sub-models in COCOMO 2 are: – Application composition model. Used when software is composed from existing parts. – Early design model. Used when requirements are available but design has not yet started. – Reuse model. Used to compute the effort of integrating reusable components. – Post-architecture model. Used once the system architecture has been designed and more information about the system is available.
  • 19. Use of COCOMO 2 models
  • 20. Application composition model • Supports prototyping projects and projects where there is extensive reuse. • Based on standard estimates of developer productivity in application (object) points/month. • Takes CASE tool use into account. • Formula is – PM = ( NAP ď‚´ (1 - %reuse/100 ) ) / PROD – PM is the effort in person-months, NAP is the number of application points and PROD is the productivity.
  • 21. Object point productivity DeveloperĂ•s experience and capability Very low Low Nominal High Very high ICASE maturity and capability Very low Low Nominal High Very high PROD (NOP/month) 4 7 13 25 50
  • 22. Early design model • Estimates can be made after the requirements have been agreed. • Based on a standard formula for algorithmic models – PM = A ď‚´ SizeB ď‚´ M where – M = PERS ď‚´ RCPX ď‚´ RUSE ď‚´ PDIF ď‚´ PREX ď‚´ FCIL ď‚´ SCED; – A = 2.94 in initial calibration, Size in KLOC, B varies from 1.1 to 1.24 depending on novelty of the project, development flexibility, risk management approaches and the process maturity.
  • 23. Multipliers • Multipliers reflect the capability of the developers, the non-functional requirements, the familiarity with the development platform, etc. – RCPX - product reliability and complexity; – RUSE - the reuse required; – PDIF - platform difficulty; – PREX - personnel experience; – PERS - personnel capability; – SCED - required schedule; – FCIL - the team support facilities.
  • 24. The reuse model • Takes into account black-box code that is reused without change and code that has to be adapted to integrate it with new code. • There are two versions: – Black-box reuse where code is not modified. An effort estimate (PM) is computed. – White-box reuse where code is modified. A size estimate equivalent to the number of lines of new source code is computed. This then adjusts the size estimate for new code.
  • 25. Reuse model estimates 1 • For generated code: – PM = (ASLOC * AT/100)/ATPROD – ASLOC is the number of lines of generated code – AT is the percentage of code automatically generated. – ATPROD is the productivity of engineers in integrating this code.
  • 26. Reuse model estimates 2 • When code has to be understood and integrated: – ESLOC = ASLOC * (1-AT/100) * AAM. – ASLOC and AT as before. – AAM is the adaptation adjustment multiplier computed from the costs of changing the reused code, the costs of understanding how to integrate the code and the costs of reuse decision making.
  • 27. Post-architecture level • Uses the same formula as the early design model but with 17 rather than 7 associated multipliers. • The code size is estimated as: – Number of lines of new code to be developed; – Estimate of equivalent number of lines of new code computed using the reuse model; – An estimate of the number of lines of code that have to be modified according to requirements changes.
  • 28. • This depends on 5 scale factors (see next slide). Their sum/100 is added to 1.01 • A company takes on a project in a new domain. The client has not defined the process to be used and has not allowed time for risk analysis. The company has a CMM level 2 rating. – Precedenteness - new project (4) – Development flexibility - no client involvement - Very high (1) – Architecture/risk resolution - No risk analysis - V. Low .(5) – Team cohesion - new team - nominal (3) – Process maturity - some control - nominal (3) • Scale factor is therefore 1.17. The exponent term
  • 29. Exponent scale factors Precedentedness Reflects the previous experience of the organisation with this type of project. Very low means no previous experience, Extra high means that the organisation is completely familiar with this application domain. Development flexibility Reflects the degree of flexibility in the development process. Very low means a prescribed process is used; Extra high means that the client only sets general goals. Architecture/risk resolution Reflects the extent of risk analysis carried out. Very low means little analysis, Extra high means a complete a thorough risk analysis. Team cohesion Reflects how well the development team know each other and work together. Very low means very difficult interactions, Extra high means an integrated and effective team with no communication problems. Process maturity Reflects the process maturity of the organisation. The computation of this value depends on the CMM Maturity Questionnaire but an estimate can be achieved by subtracting the CMM process maturity level from 5.
  • 30. TCS2411 Software Engineering 30 Estimation Issues • Historical Data • Accuracy • Estimation Technique • Automation • Improving the Estimate
  • 31. TCS2411 Software Engineering 31 References • “Software Engineering: A Practitioner’s Approach” 5th Ed. by Roger S. Pressman, Mc- Graw-Hill, 2001 • “Software Engineering” by Ian Sommerville, Addison-Wesley, 2001