SlideShare a Scribd company logo
1 of 11
COCOMO MODEL
Presented By: Nandu
091GCMA110
COCOMO model (Constructive cost model) was proposed by Boehm.
This model estimates the total effort in terms of “person-months” of the
technical project staff.
Boehm introduces three forms of cocomo.
It can be applied in three classes of software project:
1. Organic mode : Relatively simple , small projects with a small team are
handled . Such a team should have good application experience to less
rigid requirements.
2. Semidetached mode:
For intermediate software projects(little complex compared to organic
mode projects in terms of size). Projects may have a mix of rigid and less
than rigid requirements.
3.Embedded mode:
When the software project must be developed within a tight set of
hardware and software operational constraints.
Ex of complex project:
Air traffic control system
Forms of cocomo model are:
1.Basic cocomo:
Computes software development effort and cost as a function of programme size
expressed in terms of lines of code(LOC).
The basic cocomo model takes the following form:
E=ab (KLOC)Exp(bb) persons-months
D=cb(E)Exp(db)months
Where E- Stands for the effort applied in terms of person months
D-Development time in chronological months
KLOC-Kilo lines of code of the project
Ab,bb,cb,db are the co-efficients for the three modes are given below:
From E & D we can compute the no: of people required to accomplish the project as
N=E/D
The coefficients of ab,bb,cb,db for the three modes are:
Software
projects
ab bb cb db
Organic 2.4 1.05 2.5 0.38
Semi-
Detach
-ed
3.0 1.12 2.5 0.35
Embedd-
ed
3.6 1.20 2.5 0.32
Merits of Basic Cocomo model:
Basic cocomo model is good for quick, early,rough order of magnitude
estimates of software project.
Limitations :
1.The accuracy of this model is limited because it does not consider
certain factors for cost estimation of software. These factors are
hardware constraints, personal quality and experiences, modern
techniques and tools.
2. The estimates of Cocomo model are within a factor of 1.3 only 29% of
the time and within the factor of 2 only 60% of time.
Example: consider a software project using semi-detached mode with
30,000 lines of code . We will obtain estimation for this project as follows:
(1)Effort estimation
E= ab(KLOC)Exp(bb)person-months
E=3.0(30)1.12
where lines of code=30000=30 KLOC
E=135 person-month
(2) Duration estimation
D=cb(E)Exp(db)months
=2.5(135)0.35
D=14 months
(3)Person estimation
N=E/D
=135/14
N=10 persons approx.
2. Intermediate COCOMO:
Computes effort as a function as a function of programme size and a lot of cost
drivers that includes subjective assessment of product attributes,hardware attributes
, personal attributes and project attributes.
The basic model is extended to consider a set of cost driver attributes grouped into
4 categories(Intermediate Cocomo)
(1)Product Attributes:
(a) Required software reliability
(b) Size of application software
(c) Complexity of the product
(2) Hardware Attributes:
(a) Run-time performance constraints
(b) Memory constraints
(c) Required turn around time
(d) Volatility of virtual machine
(3)Personal attributes:
(a) Analyst capability
(b) Software Engineer Capability
(c) Applications Experience
(d) Programming language experience
(e) Virtual machine Experience
(4)Project Attributes:
(a) Use of software tools
(b) Required development schedule
(c) Application of software engineering methods
Now these 15 attributes get a 6-point scale ranging from “very low” to “extra
high”.These ratings can be viewed as:
Very Low Nominal High Very high Extra high
L ow
Based on the rating effort multipliers is determined.The product of all effort
Multipliers result in “effort adjustment factor” (EAF).
The intermediate Cocomo takes the form.
E=ai(KLOC)bi*EAF where
E:Effort applied in terms of person-months
KLOC : Kilo lines of code for the project
EAF : It is the effort adjustment factor
The values of ai and bi for various class of software projects are:
Software projects ai bi
Organic 3.2 1.05
Semi-detached 3.0 1.12
Embedded 2.8 1.20
The duration and person estimate is same as in basic Cocomo model
i.e;
D=cb(E)Exp (db) months i.e; use values of cb and db coefficients
N=E/D persons
Merits:
1.This model can be applied to almost entire software product for easy and
rough cost estimation during early stage.
2.It can also be applied at the software product component level for obtaining
more accurate cost estimation.
Limitations:
1.The effort multipliers are not dependent on phases.
2. A product with many components is difficult to estimate.
Example:
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)bi
*(EAF)
As reliability is high EAF=1.15(product attribute)
ai=2.8
bi=1.20 for embedded software
E=2.8(30)1.20
*1.15
=191 person month
D=cb(E)db=2.5(191)0.32
=13 months approximately
N=E/D
=191/13
N=15 persons approx.
Thank You

More Related Content

What's hot

What's hot (20)

Spiral Model
Spiral ModelSpiral Model
Spiral Model
 
COCOMO MODEL 1 And 2
COCOMO MODEL 1 And 2COCOMO MODEL 1 And 2
COCOMO MODEL 1 And 2
 
Software Engineering by Pankaj Jalote
Software Engineering by Pankaj JaloteSoftware Engineering by Pankaj Jalote
Software Engineering by Pankaj Jalote
 
Cocomo model (muskan soni)
Cocomo model (muskan soni)Cocomo model (muskan soni)
Cocomo model (muskan soni)
 
Strategy of software design
Strategy of software designStrategy of software design
Strategy of software design
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Software development life cycle (SDLC)
Software development life cycle (SDLC)Software development life cycle (SDLC)
Software development life cycle (SDLC)
 
COCOMO Model
COCOMO ModelCOCOMO Model
COCOMO Model
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
Incremental model
Incremental modelIncremental model
Incremental model
 
Chapter 2 software process models
Chapter 2   software process modelsChapter 2   software process models
Chapter 2 software process models
 
SRS(software requirement specification)
SRS(software requirement specification)SRS(software requirement specification)
SRS(software requirement specification)
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Iterative model
Iterative modelIterative model
Iterative model
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Functional and non functional
Functional and non functionalFunctional and non functional
Functional and non functional
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
COCOMO Model For Effort Estimation
COCOMO Model For Effort EstimationCOCOMO Model For Effort Estimation
COCOMO Model For Effort Estimation
 

Viewers also liked

Viewers also liked (9)

Cocomo
CocomoCocomo
Cocomo
 
software project management Cocomo model
software project management Cocomo modelsoftware project management Cocomo model
software project management Cocomo model
 
Cocomo
CocomoCocomo
Cocomo
 
COCOMO MODEL
COCOMO MODELCOCOMO MODEL
COCOMO MODEL
 
Software Cost Estimation in Software Engineering SE23
Software Cost Estimation in Software Engineering SE23Software Cost Estimation in Software Engineering SE23
Software Cost Estimation in Software Engineering SE23
 
Project Planning in Software Engineering
Project Planning in Software EngineeringProject Planning in Software Engineering
Project Planning in Software Engineering
 
Cocomo II
Cocomo IICocomo II
Cocomo II
 
Cocomo II
Cocomo IICocomo II
Cocomo II
 
Software cost estimation
Software cost estimationSoftware cost estimation
Software cost estimation
 

Similar to Cocomo model

COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimationPramod Parajuli
 
Exp 02-COCOMO (1).pptx
Exp 02-COCOMO (1).pptxExp 02-COCOMO (1).pptx
Exp 02-COCOMO (1).pptxYagnaGummadi
 
Software Estimation Part II
Software Estimation Part IISoftware Estimation Part II
Software Estimation Part IIsslovepk
 
Cost estimation using cocomo model
Cost estimation using cocomo modelCost estimation using cocomo model
Cost estimation using cocomo modelNitesh Bichwani
 
Effort estimation( software Engineering)
Effort estimation( software Engineering)Effort estimation( software Engineering)
Effort estimation( software Engineering)kiran Patel
 
cocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdfcocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdfssuser2d043c
 
Software Project Planning 1
Software Project Planning 1Software Project Planning 1
Software Project Planning 1Gagan Deep
 
Cocomo model
Cocomo modelCocomo model
Cocomo modelMZ5512
 
COCOMO Model.pptx
COCOMO Model.pptxCOCOMO Model.pptx
COCOMO Model.pptxsuchi70
 
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
 
Estimation techniques and risk management
Estimation techniques and risk managementEstimation techniques and risk management
Estimation techniques and risk managementPurushottam Basnet
 

Similar to Cocomo model (20)

COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimation
 
Exp 02-COCOMO (1).pptx
Exp 02-COCOMO (1).pptxExp 02-COCOMO (1).pptx
Exp 02-COCOMO (1).pptx
 
Software Estimation Part II
Software Estimation Part IISoftware Estimation Part II
Software Estimation Part II
 
Aa03101540158
Aa03101540158Aa03101540158
Aa03101540158
 
5. COCOMO.pdf
5. COCOMO.pdf5. COCOMO.pdf
5. COCOMO.pdf
 
1sqa25.pptx
1sqa25.pptx1sqa25.pptx
1sqa25.pptx
 
Cost estimation using cocomo model
Cost estimation using cocomo modelCost estimation using cocomo model
Cost estimation using cocomo model
 
Effort estimation( software Engineering)
Effort estimation( software Engineering)Effort estimation( software Engineering)
Effort estimation( software Engineering)
 
cocomo.pptx
cocomo.pptxcocomo.pptx
cocomo.pptx
 
cocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdfcocomo-220726173706-141e0dsdsd8f0 (1).pdf
cocomo-220726173706-141e0dsdsd8f0 (1).pdf
 
Software Project Planning 1
Software Project Planning 1Software Project Planning 1
Software Project Planning 1
 
Cocomomodel
CocomomodelCocomomodel
Cocomomodel
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
COCOMO Model.pptx
COCOMO Model.pptxCOCOMO Model.pptx
COCOMO Model.pptx
 
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
 
LECT9.ppt
LECT9.pptLECT9.ppt
LECT9.ppt
 
COCOMO.pptx
COCOMO.pptxCOCOMO.pptx
COCOMO.pptx
 
softwarecocomo2.pptx
softwarecocomo2.pptxsoftwarecocomo2.pptx
softwarecocomo2.pptx
 
Estimation techniques and risk management
Estimation techniques and risk managementEstimation techniques and risk management
Estimation techniques and risk management
 

Recently uploaded

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
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
 

Recently uploaded (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
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)
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
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
 

Cocomo model

  • 1. COCOMO MODEL Presented By: Nandu 091GCMA110
  • 2. COCOMO model (Constructive cost model) was proposed by Boehm. This model estimates the total effort in terms of “person-months” of the technical project staff. Boehm introduces three forms of cocomo. It can be applied in three classes of software project: 1. Organic mode : Relatively simple , small projects with a small team are handled . Such a team should have good application experience to less rigid requirements. 2. Semidetached mode: For intermediate software projects(little complex compared to organic mode projects in terms of size). Projects may have a mix of rigid and less than rigid requirements. 3.Embedded mode: When the software project must be developed within a tight set of hardware and software operational constraints. Ex of complex project: Air traffic control system
  • 3. Forms of cocomo model are: 1.Basic cocomo: Computes software development effort and cost as a function of programme size expressed in terms of lines of code(LOC). The basic cocomo model takes the following form: E=ab (KLOC)Exp(bb) persons-months D=cb(E)Exp(db)months Where E- Stands for the effort applied in terms of person months D-Development time in chronological months KLOC-Kilo lines of code of the project Ab,bb,cb,db are the co-efficients for the three modes are given below: From E & D we can compute the no: of people required to accomplish the project as N=E/D
  • 4. The coefficients of ab,bb,cb,db for the three modes are: Software projects ab bb cb db Organic 2.4 1.05 2.5 0.38 Semi- Detach -ed 3.0 1.12 2.5 0.35 Embedd- ed 3.6 1.20 2.5 0.32
  • 5. Merits of Basic Cocomo model: Basic cocomo model is good for quick, early,rough order of magnitude estimates of software project. Limitations : 1.The accuracy of this model is limited because it does not consider certain factors for cost estimation of software. These factors are hardware constraints, personal quality and experiences, modern techniques and tools. 2. The estimates of Cocomo model are within a factor of 1.3 only 29% of the time and within the factor of 2 only 60% of time. Example: consider a software project using semi-detached mode with 30,000 lines of code . We will obtain estimation for this project as follows: (1)Effort estimation E= ab(KLOC)Exp(bb)person-months E=3.0(30)1.12 where lines of code=30000=30 KLOC E=135 person-month
  • 6. (2) Duration estimation D=cb(E)Exp(db)months =2.5(135)0.35 D=14 months (3)Person estimation N=E/D =135/14 N=10 persons approx. 2. Intermediate COCOMO: Computes effort as a function as a function of programme size and a lot of cost drivers that includes subjective assessment of product attributes,hardware attributes , personal attributes and project attributes. The basic model is extended to consider a set of cost driver attributes grouped into 4 categories(Intermediate Cocomo) (1)Product Attributes: (a) Required software reliability (b) Size of application software (c) Complexity of the product
  • 7. (2) Hardware Attributes: (a) Run-time performance constraints (b) Memory constraints (c) Required turn around time (d) Volatility of virtual machine (3)Personal attributes: (a) Analyst capability (b) Software Engineer Capability (c) Applications Experience (d) Programming language experience (e) Virtual machine Experience (4)Project Attributes: (a) Use of software tools (b) Required development schedule (c) Application of software engineering methods Now these 15 attributes get a 6-point scale ranging from “very low” to “extra high”.These ratings can be viewed as: Very Low Nominal High Very high Extra high L ow
  • 8. Based on the rating effort multipliers is determined.The product of all effort Multipliers result in “effort adjustment factor” (EAF). The intermediate Cocomo takes the form. E=ai(KLOC)bi*EAF where E:Effort applied in terms of person-months KLOC : Kilo lines of code for the project EAF : It is the effort adjustment factor The values of ai and bi for various class of software projects are: Software projects ai bi Organic 3.2 1.05 Semi-detached 3.0 1.12 Embedded 2.8 1.20
  • 9. The duration and person estimate is same as in basic Cocomo model i.e; D=cb(E)Exp (db) months i.e; use values of cb and db coefficients N=E/D persons Merits: 1.This model can be applied to almost entire software product for easy and rough cost estimation during early stage. 2.It can also be applied at the software product component level for obtaining more accurate cost estimation. Limitations: 1.The effort multipliers are not dependent on phases. 2. A product with many components is difficult to estimate.
  • 10. Example: 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)bi *(EAF) As reliability is high EAF=1.15(product attribute) ai=2.8 bi=1.20 for embedded software E=2.8(30)1.20 *1.15 =191 person month D=cb(E)db=2.5(191)0.32 =13 months approximately N=E/D =191/13 N=15 persons approx.