SlideShare a Scribd company logo
1 of 8
Download to read offline
COCOMO MODEL
Presented by:
Ali Raza (038)
Yasir Mahmood(037)
Introduction to
COCOMO Model
• The COCOMO model is one of the most popular cost estimating
model in software engineering domain which is based upon LOC (Line
Of Code).
• COCOMO stands for Constructive Cost Model.
• It is a procedural cost estimate model for software projects.
• It was proposed by Barry Boehm in 1970 and published in 1981.
• COCOMO predicts the effort and schedule for a software product
development based on inputs related to the size of the software.
• There are three modes of software development project based on
development complexity.
1.Organic Mode
2. Semi-detached Mode
3. Embedded Mode
Organic Mode
•Relatively small, simple software projects.
•problem is well understood and has been solved in the past.
• Relatively small and requires little innovation.
•Team size is small and team members have a good experience.
Examples:
• In this type of projects are simple business systems, simple Inventory
management systems, and data processing systems.
2.Semi-Detached:
•The projects classified as Semi-Detached are comparatively less
familiar and difficult to develop compared to the organic ones.
• Require better guidance and creativity. •Team size is medium with
mixed experience.
Example:
• Semidetached system includes developing a new operating system
(OS), a Database Management System (DBMS), and comples Inventory
management system.
Embedded Mode:
• It is combination of organic and semi detach mode.
•A software project with requiring the highest level of complexity,
creativity, and experience requirement fall under this category.
• Such software requires a larger team size than the other two mode.
• Developers need to be sufficiently experienced and creative to develop
such complex models.
Example:
•ATM
•Air Traffic control
Comparison of Three COCOMO MODEs
Mode Project
Size
Nature of
project
Innovat
ion
Deadli
ne of
the
project
Develop
ment
environ
ment
Organic
Mode
•Typically
2-50
KLOC
•Small Size
proj,
•Little •Not
Tight
•Familiar
And in
house
Semi-Det
ached
Mode
•Typically
50-300
KLOC
•Medium Size
proj,
•Average
previous
experiencon
similar
project
•Mediu
m
•Mediu
m
•Medium
Embedd
ed Mode
•Typically
Over
300KLOC
•Large Size
proj,
•Complex
interface
•Signific
ant
•Tight •Complex
Hardware
•Custome
r
interface
required
Types of COCOMO MODEL
1. Basic COCOMO MODEL
2.Intermediate COCOMO MODEL
3.Complete Details COCOMO MODEL
1.Basic COCOMO MODEL
• Basic COCOMO is good for quick, early, rough of software
costs.
• It does not account for differences in hardware constraints,
Team quality and experience, use of modern tools and
techniques, and other project attributes.
•Project estimations: • Approximate estimate of project
parameters(cost, development Time, persons required to
complete a task).
•Software development effort is estimated using LOC(Line Of
Code).
Basic COCOMO Model Equation :
•(Effort-applied)E=bb(KLOC)^bb
•(Development-Time)D=cb(E)^db
•(Productivity)P= KLOC/E
•(Staff Size)SS = E/D persons
Where
• KLOC→ Kilo Line Of Code (Thousands of line).
•A,b,c,d are coefficients.
Project ab bb Cb Db
Organic
mode
2.4 1.05 2.5 0.38
Semi-Deta
ched mode
3.0 1.12 2.5 0.35
Embedded
mode
3.6 1.20 2.5 0.32
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,
semi detached and embedded.
Solution:
The basic COCOMO equations take the form:
E = ab (KLOC)^bb
Estimated size of the project = 400 KLOC
1. Organic Mode
E = 2.4 (400) ^1.05
= 1295.31
D = 2.5 (1295.31)^0.38
= 38.07
2. Semi detached Mode
E=3.0(400)^1.12
= 2462.79
D = 2.5 (2462.79)^0.35
=38.45
3.Embedded Mode
E=3.6 (400)^1.20
=4772.81
D =2.5 (4772.81)^0.32
=37.59
2.Intermediate COCOMO MODEL
• It is extension of Basic COCOMO model. In the Intermediate
model,additional set of 15 predictors called cost drivers are introduced.
• It refine estimates obtained by Basic COCOMO model.
•It refines cost estimations using 15 cost drivers.
• Classification of Cost Drivers and their attributes
• 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)
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.Modern programming practices (MODP)
b.Use of software tool (TOOL)
c.Required development schedule (SCED)
Intermediate COCOMO Model Equations:
•(Effort)E=ai(KLOC)^bi *EAF
•(Development Time)D = ci(E)^di
(Staff Size)SS = E/D persons •(Productivity)P = KLOC/E
Where
EAF Effort Adjustment Factor
Where EAF Effort Adjustment Factor Co-efficients for Intermediate
COCOMO:
Project ai bi Ci di
Organic
Mode
3.2 1.05 2.5 0.38
Semi-Deta
ched Mode
3.0 1.12 2.5 0.35
Embedded
Mode
2.8 1.20 2.5 0.32
Example: or 30KLOC
Consider a project having 30,000 lines of code which in an
embedded software with critical area hence reliability is high.
The estimation can be E=ai(KLOC)*(EAF)
As reliability is high EAF 1.15(product attribute)
ai=2.8
bi=1.20
Embedded Mode
E =2.8(30)^1.20 * 1.15
=191 person month
D=ci(E)^di
=2.5(191)^0.32
=13 (months approximately)
N=E/D
=191/13
N=15( persons approx)
3.CompleteDetail COCOMO Model:
Detailed COCOMO Model
•It refine intermediate COCOMO Model.
In detailed cocomo, the whole software is divided into different modules
and then we apply
COCOMO in different modules to estimate effort and then sum the effort.
The Development phases:
• 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.
• 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.
•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.
• 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
Detailed COCOMO Model :Equations
(Effort) E =ai (KLOC)^bi * EAF
• (Development Time) D= ci (E)^di
• Ep = μpE
• Dp=OpD
(staff size ) SS = E/D persons
μp = Used for effort
Op = Used for schedule
• (productivity )P = KLOC/E

More Related Content

Similar to COCOMO 1 Model ppt AR-1.pdf

Cost estimation using cocomo model
Cost estimation using cocomo modelCost estimation using cocomo model
Cost estimation using cocomo modelNitesh Bichwani
 
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
 
Lecture 04.2 COCOMO II student ver.pptxx
Lecture 04.2 COCOMO II student ver.pptxxLecture 04.2 COCOMO II student ver.pptxx
Lecture 04.2 COCOMO II student ver.pptxxJuwieKaren
 
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
 
SE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdfSE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdfDISHANTBALOTRA
 
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 .pptxaditiibaghla16
 
COCOMO Model.pptx
COCOMO Model.pptxCOCOMO Model.pptx
COCOMO Model.pptxsuchi70
 
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
 
cocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdfcocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdfssuser2d043c
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design Jayant Dalvi
 
Soft engg introduction and process models
Soft engg introduction and process modelsSoft engg introduction and process models
Soft engg introduction and process modelssnehalkulkarni74
 
Software Engineering Methodologies
Software Engineering MethodologiesSoftware Engineering Methodologies
Software Engineering MethodologiesDamian T. Gordon
 

Similar to COCOMO 1 Model ppt AR-1.pdf (20)

Cost estimation using cocomo model
Cost estimation using cocomo modelCost estimation using cocomo model
Cost estimation using cocomo model
 
COCOMO Model in software project management
COCOMO Model in software project managementCOCOMO Model in software project management
COCOMO Model in software project management
 
Lecture 04.2 COCOMO II student ver.pptxx
Lecture 04.2 COCOMO II student ver.pptxxLecture 04.2 COCOMO II student ver.pptxx
Lecture 04.2 COCOMO II student ver.pptxx
 
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 model
COCOMO modelCOCOMO model
COCOMO model
 
Software cost estimation
Software cost estimationSoftware cost estimation
Software cost estimation
 
Metrics
MetricsMetrics
Metrics
 
SE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdfSE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdf
 
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
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
COCOMO Model.pptx
COCOMO Model.pptxCOCOMO Model.pptx
COCOMO Model.pptx
 
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
 
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
 
Mg6088 spm unit-2
Mg6088 spm unit-2Mg6088 spm unit-2
Mg6088 spm unit-2
 
Cost estamition
Cost estamitionCost estamition
Cost estamition
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
Soft engg introduction and process models
Soft engg introduction and process modelsSoft engg introduction and process models
Soft engg introduction and process models
 
Software Engineering Methodologies
Software Engineering MethodologiesSoftware Engineering Methodologies
Software Engineering Methodologies
 

More from 23017156038

class5jf.pptx Block cipher in information security
class5jf.pptx Block cipher in information securityclass5jf.pptx Block cipher in information security
class5jf.pptx Block cipher in information security23017156038
 
Network security in computer network for BS
Network security in computer network for BSNetwork security in computer network for BS
Network security in computer network for BS23017156038
 
Ppt IT Infrastructure.ppt
Ppt IT Infrastructure.pptPpt IT Infrastructure.ppt
Ppt IT Infrastructure.ppt23017156038
 
lecture_18class_diagrams.ppt
lecture_18class_diagrams.pptlecture_18class_diagrams.ppt
lecture_18class_diagrams.ppt23017156038
 
Week_01-Intro to Software Engineering-1.ppt
Week_01-Intro to Software Engineering-1.pptWeek_01-Intro to Software Engineering-1.ppt
Week_01-Intro to Software Engineering-1.ppt23017156038
 

More from 23017156038 (6)

class5jf.pptx Block cipher in information security
class5jf.pptx Block cipher in information securityclass5jf.pptx Block cipher in information security
class5jf.pptx Block cipher in information security
 
Network security in computer network for BS
Network security in computer network for BSNetwork security in computer network for BS
Network security in computer network for BS
 
Ppt IT Infrastructure.ppt
Ppt IT Infrastructure.pptPpt IT Infrastructure.ppt
Ppt IT Infrastructure.ppt
 
Datacenters.pdf
Datacenters.pdfDatacenters.pdf
Datacenters.pdf
 
lecture_18class_diagrams.ppt
lecture_18class_diagrams.pptlecture_18class_diagrams.ppt
lecture_18class_diagrams.ppt
 
Week_01-Intro to Software Engineering-1.ppt
Week_01-Intro to Software Engineering-1.pptWeek_01-Intro to Software Engineering-1.ppt
Week_01-Intro to Software Engineering-1.ppt
 

Recently uploaded

OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 

Recently uploaded (20)

OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

COCOMO 1 Model ppt AR-1.pdf

  • 1. COCOMO MODEL Presented by: Ali Raza (038) Yasir Mahmood(037) Introduction to COCOMO Model • The COCOMO model is one of the most popular cost estimating model in software engineering domain which is based upon LOC (Line Of Code). • COCOMO stands for Constructive Cost Model. • It is a procedural cost estimate model for software projects. • It was proposed by Barry Boehm in 1970 and published in 1981.
  • 2. • COCOMO predicts the effort and schedule for a software product development based on inputs related to the size of the software. • There are three modes of software development project based on development complexity. 1.Organic Mode 2. Semi-detached Mode 3. Embedded Mode Organic Mode •Relatively small, simple software projects. •problem is well understood and has been solved in the past. • Relatively small and requires little innovation. •Team size is small and team members have a good experience. Examples: • In this type of projects are simple business systems, simple Inventory management systems, and data processing systems. 2.Semi-Detached: •The projects classified as Semi-Detached are comparatively less familiar and difficult to develop compared to the organic ones. • Require better guidance and creativity. •Team size is medium with mixed experience. Example: • Semidetached system includes developing a new operating system (OS), a Database Management System (DBMS), and comples Inventory management system. Embedded Mode: • It is combination of organic and semi detach mode. •A software project with requiring the highest level of complexity, creativity, and experience requirement fall under this category. • Such software requires a larger team size than the other two mode. • Developers need to be sufficiently experienced and creative to develop such complex models. Example: •ATM
  • 3. •Air Traffic control Comparison of Three COCOMO MODEs Mode Project Size Nature of project Innovat ion Deadli ne of the project Develop ment environ ment Organic Mode •Typically 2-50 KLOC •Small Size proj, •Little •Not Tight •Familiar And in house Semi-Det ached Mode •Typically 50-300 KLOC •Medium Size proj, •Average previous experiencon similar project •Mediu m •Mediu m •Medium Embedd ed Mode •Typically Over 300KLOC •Large Size proj, •Complex interface •Signific ant •Tight •Complex Hardware •Custome r interface required Types of COCOMO MODEL 1. Basic COCOMO MODEL 2.Intermediate COCOMO MODEL 3.Complete Details COCOMO MODEL 1.Basic COCOMO MODEL • Basic COCOMO is good for quick, early, rough of software costs. • It does not account for differences in hardware constraints, Team quality and experience, use of modern tools and techniques, and other project attributes.
  • 4. •Project estimations: • Approximate estimate of project parameters(cost, development Time, persons required to complete a task). •Software development effort is estimated using LOC(Line Of Code). Basic COCOMO Model Equation : •(Effort-applied)E=bb(KLOC)^bb •(Development-Time)D=cb(E)^db •(Productivity)P= KLOC/E •(Staff Size)SS = E/D persons Where • KLOC→ Kilo Line Of Code (Thousands of line). •A,b,c,d are coefficients. Project ab bb Cb Db Organic mode 2.4 1.05 2.5 0.38 Semi-Deta ched mode 3.0 1.12 2.5 0.35 Embedded mode 3.6 1.20 2.5 0.32 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, semi detached and embedded. Solution: The basic COCOMO equations take the form: E = ab (KLOC)^bb Estimated size of the project = 400 KLOC 1. Organic Mode E = 2.4 (400) ^1.05 = 1295.31 D = 2.5 (1295.31)^0.38 = 38.07 2. Semi detached Mode
  • 5. E=3.0(400)^1.12 = 2462.79 D = 2.5 (2462.79)^0.35 =38.45 3.Embedded Mode E=3.6 (400)^1.20 =4772.81 D =2.5 (4772.81)^0.32 =37.59 2.Intermediate COCOMO MODEL • It is extension of Basic COCOMO model. In the Intermediate model,additional set of 15 predictors called cost drivers are introduced. • It refine estimates obtained by Basic COCOMO model. •It refines cost estimations using 15 cost drivers. • Classification of Cost Drivers and their attributes • 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) 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.Modern programming practices (MODP) b.Use of software tool (TOOL) c.Required development schedule (SCED)
  • 6. Intermediate COCOMO Model Equations: •(Effort)E=ai(KLOC)^bi *EAF •(Development Time)D = ci(E)^di (Staff Size)SS = E/D persons •(Productivity)P = KLOC/E Where EAF Effort Adjustment Factor Where EAF Effort Adjustment Factor Co-efficients for Intermediate COCOMO: Project ai bi Ci di Organic Mode 3.2 1.05 2.5 0.38 Semi-Deta ched Mode 3.0 1.12 2.5 0.35 Embedded Mode 2.8 1.20 2.5 0.32 Example: or 30KLOC Consider a project having 30,000 lines of code which in an embedded software with critical area hence reliability is high. The estimation can be E=ai(KLOC)*(EAF) As reliability is high EAF 1.15(product attribute) ai=2.8
  • 7. bi=1.20 Embedded Mode E =2.8(30)^1.20 * 1.15 =191 person month D=ci(E)^di =2.5(191)^0.32 =13 (months approximately) N=E/D =191/13 N=15( persons approx) 3.CompleteDetail COCOMO Model: Detailed COCOMO Model •It refine intermediate COCOMO Model. In detailed cocomo, the whole software is divided into different modules and then we apply COCOMO in different modules to estimate effort and then sum the effort. The Development phases: • 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. • 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. •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. • Integration/test: This phase of the COCOMO development cycle occurs before
  • 8. 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 Detailed COCOMO Model :Equations (Effort) E =ai (KLOC)^bi * EAF • (Development Time) D= ci (E)^di • Ep = μpE • Dp=OpD (staff size ) SS = E/D persons μp = Used for effort Op = Used for schedule • (productivity )P = KLOC/E