SlideShare a Scribd company logo
1 of 42
26/12/2016 1
COCOMO Models
26/12/2016 2
Project Management and Mr.
Murphy
1. Logic is a systematic method of coming to the
wrong conclusion with confidence.
2. Technology is dominated by those who manage
what they do not understand.
3. Nothing ever gets built on schedule or within
budget.
4. If mathematically you end up with the incorrect
answer, try multiplying by the page number.
26/12/2016 3
26/12/2016 4
Motivation
The software cost estimation provides:
• The vital link between the general concepts and
techniques of economic analysis and the
particular world of software engineering.
• Software cost estimation techniques also provides
an essential part of the foundation for good
software management.
26/12/2016 5
Cost of a project
• The cost in a project is due to:
– the requirements for software, hardware and human
resources
– the cost of software development is due to the human
resources needed
– most cost estimates are measured in person-months
(PM)
26/12/2016 6
Cost of a project (.)
• the cost of the project depends on the nature and
characteristics of the project,
• at any point, the accuracy of the estimate will
depend on the amount of reliable information we
have about the final product.
26/12/2016 7
Software Cost Estimation
26/12/2016 8
Effort
• Effort Equation
– PM = C * (KDSI)n (person-months)
• where PM = number of person-month (=152
working hours),
• C = a constant,
• KDSI = thousands of "delivered source instructions"
(DSI) and
• n = a constant.
26/12/2016 9
Productivity
• Productivity equation
– (DSI) / (PM)
• where PM = number of person-month (=152
working hours),
• DSI = "delivered source instructions"
26/12/2016 10
Schedule
• Schedule equation
– TDEV = C * (PM)n (months)
• where TDEV = number of months estimated for
software development.
26/12/2016 11
Average Staffing
• Average Staffing Equation
– (PM) / (TDEV) (FSP)
• where FSP means Full-time-equivalent Software
Personnel.
26/12/2016 12
Cost Estimation Process
Cost=SizeOfTheProject x Productivity
26/12/2016 13
Cost Estimation Process
Errors
Effort
Development Time
Size Table
Lines of Code
Number of Use Case
Function Point
Estimation Process
Number of Personnel
26/12/2016 14
Project Size - Metrics
1. Number of functional requirements
2. Cumulative number of functional and non-functional requirements
3. Number of Customer Test Cases
4. Number of ‘typical sized’ use cases
5. Number of inquiries
6. Number of files accessed (external, internal, master)
7. Total number of components (subsystems, modules, procedures,
routines, classes, methods)
8. Total number of interfaces
9. Number of System Integration Test Cases
10. Number of input and output parameters (summed over each interface)
11. Number of Designer Unit Test Cases
12. Number of decisions (if, case statements) summed over each routine or
method
13. Lines of Code, summed over each routine or method
26/12/2016 15
Project Size – Metrics(.)
Availability of Size Estimation Metrics:
Development Phase Available
Metrics
a Requirements Gathering 1, 2, 3
b Requirements Analysis 4, 5
d High Level Design 6, 7, 8, 9
e Detailed Design 10, 11, 12
f Implementation 12, 13
26/12/2016 16
Function Points
STEP 1: measure size in terms of the amount of functionality in a
system. Function points are computed by first calculating an unadjusted
function point count (UFC). Counts are made for the following
categories
 External inputs – those items provided by the user that describe
distinct application-oriented data (such as file names and menu
selections)
 External outputs – those items provided to the user that generate
distinct application-oriented data (such as reports and messages, rather
than the individual components of these)
 External inquiries – interactive inputs requiring a response
 External files – machine-readable interfaces to other systems
 Internal files – logical master files in the system
26/12/2016 17
Function Points(..)
• STEP 2: Multiply each number by a weight factor,
according to complexity (simple, average or complex) of
the parameter, associated with that number. The value is
given by a table:
26/12/2016 18
Function Points(...)
• STEP 3: Calculate the total UFP (Unadjusted Function
Points)
• STEP 4: Calculate the total TCF (Technical Complexity
Factor) by giving a value between 0 and 5 according to the
importance of the following points (next slide):
26/12/2016 19
Function Points(....)
1. Data Communication
2. Distributed Data Processing
3. Performance Criteria
4. Heavily Utilized Hardware
5. High Transaction Rates
6. Online Data Entry
7. Online Updating
8. End-user Efficiency
9. Complex Computations
10.Reusability
11.Ease of Installation
12.Ease of Operation
13.Portability
14.Maintainability
Technical Complexity Factors:
26/12/2016 20
Function Points(.....)
• STEP 5: Sum the resulting numbers too obtain DI (degree
of influence)
• STEP 6: TCF (Technical Complexity Factor) by given by
the formula
– TCF=0.65+0.01*DI
• STEP 6: Function Points are by given by the formula
– FP=UFP*TCF
26/12/2016 21
Example
26/12/2016 22
Example (.)
26/12/2016 23
Example (..)
• Technical Complexity Factors:
– 1. Data Communication 3
– 2. Distributed Data Processing 0
– 3. Performance Criteria 4
– 4. Heavily Utilized Hardware 0
– 5. High Transaction Rates 3
– 6. Online Data Entry 3
– 7. Online Updating 3
– 8. End-user Efficiency 3
– 9. Complex Computations 0
– 10. Reusability 3
– 11. Ease of Installation 3
– 12. Ease of Operation 5
– 13. Portability 3
– 14. Maintainability 3
» DI =30(Degree of Influence)
26/12/2016 24
Example (…)
• Function Points
– FP=UFP*(0.65+0.01*DI)= 55*(0.65+0.01*30)=52.25
– That means FP=52.25
26/12/2016 25
Relation between LOC and FP
• Relationship:
– LOC = Language Factor *
FP
– where
• LOC (Lines of Code)
• FP (Function Points)
26/12/2016 26
Relation between LOC and
FP(.)
Assuming LOC’s per FP for:
Java = 53,
C++ = 64
aKLOC = FP * LOC_per_FP / 1000
It means for the SpellChekcer Example: (Java)
LOC=52.25*53=2769.25 LOC or 2.76 KLOC
26/12/2016 27
Introduction to COCOMO
models
• The COstructive COst Model (COCOMO) is the
most widely used software estimation model.
• The COCOMO model predicts the effort and
duration of a project based on inputs relating to
the size of the resulting systems and a number of
"cost drives" that affect productivity.
26/12/2016 28
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.
26/12/2016 29
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.
• Embedded Mode: The project is characterized by tight,
inflexible constraints and interface requirements. An
embedded mode project will require a great deal of
innovation.
26/12/2016 30
Modes
Feature Organic Semidetached Embedded
Organizational
understanding of
product and
objectives
Thorough Considerable General
Experience in
working with related
software systems
Extensive Considerable Moderate
Need for software
conformance with
pre-established
requirements
Basic Considerable Full
Need for software
conformance with
external interface
specifications
Basic Considerable Full
26/12/2016 31
Modes (.)
Feature Organic Semidetached Embedded
Concurrent
development of
associated new
hardware and
operational
procedures
Some Moderate Extensive
Need for innovative
data processing
architectures,
algorithms
Minimal Some Considerable
Premium on early
completion
Low Medium High
Product size range <50 KDSI <300KDSI All
26/12/2016 32
Effort Computation
• The Basic COCOMO model computes effort as a
function of program size. The Basic COCOMO equation
is:
– E = aKLOC^b
• Effort for three modes of Basic COCOMO.
Mode a b
Organic 2.4 1.05
Semi-
detached
3.0 1.12
Embedded 3.6 1.20
26/12/2016 33
Example
26/12/2016 34
Effort Computation
• The intermediate COCOMO model computes effort as a
function of program size and a set of cost drivers. The
Intermediate COCOMO equation is:
– E = aKLOC^b*EAF
• Effort for three modes of intermediate COCOMO.
Mode a b
Organic 3.2 1.05
Semi-
detached
3.0 1.12
Embedded 2.8 1.20
26/12/2016 35
Effort computation(.)
• Effort Adjustment Factor
Cost Driver Very
Low
Low Nominal High Very
High
Extra
High
Required Reliability .75 .88 1.00 1.15 1.40 1.40
Database Size .94 .94 1.00 1.08 1.16 1.16
Product Complexity .70 .85 1.00 1.15 1.30 1.65
Execution Time Constraint 1.00 1.00 1.00 1.11 1.30 1.66
Main Storage Constraint 1.00 1.00 1.00 1.06 1.21 1.56
Virtual Machine Volatility .87 .87 1.00 1.15 1.30 1.30
Comp Turn Around Time .87 .87 1.00 1.07 1.15 1.15
Analyst Capability 1.46 1.19 1.00 .86 .71 .71
Application Experience 1.29 1.13 1.00 .91 .82 .82
Programmers Capability 1.42 1.17 1.00 .86 .70 .70
Virtual machine Experience 1.21 1.10 1.00 .90 .90 .90
Language Experience 1.14 1.07 1.00 .95 .95 .95
Modern Prog Practices 1.24 1.10 1.00 .91 .82 .82
SW Tools 1.24 1.10 1.00 .91 .83 .83
Required Dev Schedule 1.23 1.08 1.00 1.04 1.10 1,10
26/12/2016 36
Effort Computation (..)
Total EAF = Product of the selected factors
Adjusted value of Effort: Adjusted Person Months:
APM = (Total EAF) * PM
26/12/2016 37
Example
26/12/2016 38
Software Development Time
• Development Time Equation Parameter Table:
Development Time, TDEV = C * (APM **D)
Number of Personnel, NP = APM / TDEV
Parameter Organic Semi-
detached
Embedded
C 2.5 2.5 2.5
D 0.38 0.35 0.32
26/12/2016 39
Distribution of Effort
• A development process typically consists of
the following stages:
– Requirements Analysis
– Design (High Level + Detailed)
– Implementation & Coding
– Testing (Unit + Integration)
26/12/2016 40
Distribution of Effort (.)
The following table gives the recommended percentage
distribution of Effort (APM) and TDEV for these stages:
Percentage Distribution of Effort and Time Table:
Req
Analysis
Design,
HLD + DD
Implementation Testing
Effort 23% 29% 22% 21% 100%
TDEV 39% 25% 15% 21% 100%
26/12/2016 41
Error Estimation
• Calculate the estimated number of errors in your design, i.e.total errors found in
requirements, specifications, code, user manuals, and bad fixes:
– Adjust the Function Point calculated in step1
AFP = FP ** 1.25
– Use the following table for calculating error estimates
Error Type Error / AFP
Requirements 1
Design 1.25
Implementation 1.75
Documentation 0.6
Due to Bug Fixes 0.4
26/12/2016 42
All Together Design
Unadjusted Function Point (UFP table)
Modify
FP=UFP*TCF
Classes*(2Function Points)
TCF
KLOC=Max[aKLOC, bKLOC]
LOC=13.20*Num of Method
LOC=18.25*Num of Method
AFP=FP*1.25
Compute Errors = AFP*Y
Compute Effort: Person Month, PM=A*(KLOC**B)
bKLOC=∑ (LOCs for all Classes)/1000
Adjusted PM: APM=(total EAF)*PM
Development Time: TDEV=C*(APM**D)
Factor:1-15
Number of personnel: NP=APM/TDEV
DI=∑ratings of selected factors
14
TCF=0.65+0.01*∑(DI)j
1
Min[TCF]=0.65; Max[TCF]=1.35
aKLOC=FP*LOC_per_FP/1000
Java=53; C++=64
EAF=Product of selected factor NP Effort time
Req APM TDEV
Result

More Related Content

Similar to COCOMO

3wis_2.pdf
3wis_2.pdf3wis_2.pdf
3wis_2.pdfaustdali
 
Spm project planning
Spm project planning Spm project planning
Spm project planning Kanchana Devi
 
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
 
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
 
Software Estimation Techniques
Software Estimation TechniquesSoftware Estimation Techniques
Software Estimation Techniqueskamal
 
CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5SIMONTHOMAS S
 
Software effort estimation
Software effort estimationSoftware effort estimation
Software effort estimationtumetr1
 
unit-iipart-1.WDQWDQWDQWDQWDQWDQWDQWDQWDQWDppt
unit-iipart-1.WDQWDQWDQWDQWDQWDQWDQWDQWDQWDpptunit-iipart-1.WDQWDQWDQWDQWDQWDQWDQWDQWDQWDppt
unit-iipart-1.WDQWDQWDQWDQWDQWDQWDQWDQWDQWDpptWrushabhShirsat3
 
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
 
Top-Down Estimation Approach
Top-Down Estimation ApproachTop-Down Estimation Approach
Top-Down Estimation ApproachSabiha M
 
Estimation techniques and risk management
Estimation techniques and risk managementEstimation techniques and risk management
Estimation techniques and risk managementPurushottam Basnet
 
21UCAE52 Software Project Management.ppt
21UCAE52 Software Project Management.ppt21UCAE52 Software Project Management.ppt
21UCAE52 Software Project Management.pptssuser7f90ae
 
Software project management
Software project managementSoftware project management
Software project managementAnnisa Shabrina
 
COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimationPramod Parajuli
 
Algorithmic Software Cost Estimation V2(1) (1).pptx
Algorithmic Software Cost Estimation V2(1) (1).pptxAlgorithmic Software Cost Estimation V2(1) (1).pptx
Algorithmic Software Cost Estimation V2(1) (1).pptxsadeepaJayatissa1
 

Similar to COCOMO (20)

3wis_2.pdf
3wis_2.pdf3wis_2.pdf
3wis_2.pdf
 
Spm project planning
Spm project planning Spm project planning
Spm project planning
 
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
 
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
 
Software Estimation Techniques
Software Estimation TechniquesSoftware Estimation Techniques
Software Estimation Techniques
 
CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5
 
Final project se
Final project seFinal project se
Final project se
 
I07 Simulation
I07 SimulationI07 Simulation
I07 Simulation
 
I07 Simulation
I07 SimulationI07 Simulation
I07 Simulation
 
Software effort estimation
Software effort estimationSoftware effort estimation
Software effort estimation
 
unit-iipart-1.WDQWDQWDQWDQWDQWDQWDQWDQWDQWDppt
unit-iipart-1.WDQWDQWDQWDQWDQWDQWDQWDQWDQWDpptunit-iipart-1.WDQWDQWDQWDQWDQWDQWDQWDQWDQWDppt
unit-iipart-1.WDQWDQWDQWDQWDQWDQWDQWDQWDQWDppt
 
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
 
Top-Down Estimation Approach
Top-Down Estimation ApproachTop-Down Estimation Approach
Top-Down Estimation Approach
 
Estimation techniques and risk management
Estimation techniques and risk managementEstimation techniques and risk management
Estimation techniques and risk management
 
Cost estamition
Cost estamitionCost estamition
Cost estamition
 
21UCAE52 Software Project Management.ppt
21UCAE52 Software Project Management.ppt21UCAE52 Software Project Management.ppt
21UCAE52 Software Project Management.ppt
 
Software project management
Software project managementSoftware project management
Software project management
 
COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimation
 
Cost effort.ppt
Cost effort.pptCost effort.ppt
Cost effort.ppt
 
Algorithmic Software Cost Estimation V2(1) (1).pptx
Algorithmic Software Cost Estimation V2(1) (1).pptxAlgorithmic Software Cost Estimation V2(1) (1).pptx
Algorithmic Software Cost Estimation V2(1) (1).pptx
 

More from NitinSharma134320

More from NitinSharma134320 (6)

OOPS.pptx
OOPS.pptxOOPS.pptx
OOPS.pptx
 
Battle of Bands.pptx
Battle of Bands.pptxBattle of Bands.pptx
Battle of Bands.pptx
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
 
PY_17_06_20-1.pptx
PY_17_06_20-1.pptxPY_17_06_20-1.pptx
PY_17_06_20-1.pptx
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptx
 
shantanu_11_30.ppt
shantanu_11_30.pptshantanu_11_30.ppt
shantanu_11_30.ppt
 

Recently uploaded

Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

COCOMO

  • 2. 26/12/2016 2 Project Management and Mr. Murphy 1. Logic is a systematic method of coming to the wrong conclusion with confidence. 2. Technology is dominated by those who manage what they do not understand. 3. Nothing ever gets built on schedule or within budget. 4. If mathematically you end up with the incorrect answer, try multiplying by the page number.
  • 4. 26/12/2016 4 Motivation The software cost estimation provides: • The vital link between the general concepts and techniques of economic analysis and the particular world of software engineering. • Software cost estimation techniques also provides an essential part of the foundation for good software management.
  • 5. 26/12/2016 5 Cost of a project • The cost in a project is due to: – the requirements for software, hardware and human resources – the cost of software development is due to the human resources needed – most cost estimates are measured in person-months (PM)
  • 6. 26/12/2016 6 Cost of a project (.) • the cost of the project depends on the nature and characteristics of the project, • at any point, the accuracy of the estimate will depend on the amount of reliable information we have about the final product.
  • 8. 26/12/2016 8 Effort • Effort Equation – PM = C * (KDSI)n (person-months) • where PM = number of person-month (=152 working hours), • C = a constant, • KDSI = thousands of "delivered source instructions" (DSI) and • n = a constant.
  • 9. 26/12/2016 9 Productivity • Productivity equation – (DSI) / (PM) • where PM = number of person-month (=152 working hours), • DSI = "delivered source instructions"
  • 10. 26/12/2016 10 Schedule • Schedule equation – TDEV = C * (PM)n (months) • where TDEV = number of months estimated for software development.
  • 11. 26/12/2016 11 Average Staffing • Average Staffing Equation – (PM) / (TDEV) (FSP) • where FSP means Full-time-equivalent Software Personnel.
  • 12. 26/12/2016 12 Cost Estimation Process Cost=SizeOfTheProject x Productivity
  • 13. 26/12/2016 13 Cost Estimation Process Errors Effort Development Time Size Table Lines of Code Number of Use Case Function Point Estimation Process Number of Personnel
  • 14. 26/12/2016 14 Project Size - Metrics 1. Number of functional requirements 2. Cumulative number of functional and non-functional requirements 3. Number of Customer Test Cases 4. Number of ‘typical sized’ use cases 5. Number of inquiries 6. Number of files accessed (external, internal, master) 7. Total number of components (subsystems, modules, procedures, routines, classes, methods) 8. Total number of interfaces 9. Number of System Integration Test Cases 10. Number of input and output parameters (summed over each interface) 11. Number of Designer Unit Test Cases 12. Number of decisions (if, case statements) summed over each routine or method 13. Lines of Code, summed over each routine or method
  • 15. 26/12/2016 15 Project Size – Metrics(.) Availability of Size Estimation Metrics: Development Phase Available Metrics a Requirements Gathering 1, 2, 3 b Requirements Analysis 4, 5 d High Level Design 6, 7, 8, 9 e Detailed Design 10, 11, 12 f Implementation 12, 13
  • 16. 26/12/2016 16 Function Points STEP 1: measure size in terms of the amount of functionality in a system. Function points are computed by first calculating an unadjusted function point count (UFC). Counts are made for the following categories  External inputs – those items provided by the user that describe distinct application-oriented data (such as file names and menu selections)  External outputs – those items provided to the user that generate distinct application-oriented data (such as reports and messages, rather than the individual components of these)  External inquiries – interactive inputs requiring a response  External files – machine-readable interfaces to other systems  Internal files – logical master files in the system
  • 17. 26/12/2016 17 Function Points(..) • STEP 2: Multiply each number by a weight factor, according to complexity (simple, average or complex) of the parameter, associated with that number. The value is given by a table:
  • 18. 26/12/2016 18 Function Points(...) • STEP 3: Calculate the total UFP (Unadjusted Function Points) • STEP 4: Calculate the total TCF (Technical Complexity Factor) by giving a value between 0 and 5 according to the importance of the following points (next slide):
  • 19. 26/12/2016 19 Function Points(....) 1. Data Communication 2. Distributed Data Processing 3. Performance Criteria 4. Heavily Utilized Hardware 5. High Transaction Rates 6. Online Data Entry 7. Online Updating 8. End-user Efficiency 9. Complex Computations 10.Reusability 11.Ease of Installation 12.Ease of Operation 13.Portability 14.Maintainability Technical Complexity Factors:
  • 20. 26/12/2016 20 Function Points(.....) • STEP 5: Sum the resulting numbers too obtain DI (degree of influence) • STEP 6: TCF (Technical Complexity Factor) by given by the formula – TCF=0.65+0.01*DI • STEP 6: Function Points are by given by the formula – FP=UFP*TCF
  • 23. 26/12/2016 23 Example (..) • Technical Complexity Factors: – 1. Data Communication 3 – 2. Distributed Data Processing 0 – 3. Performance Criteria 4 – 4. Heavily Utilized Hardware 0 – 5. High Transaction Rates 3 – 6. Online Data Entry 3 – 7. Online Updating 3 – 8. End-user Efficiency 3 – 9. Complex Computations 0 – 10. Reusability 3 – 11. Ease of Installation 3 – 12. Ease of Operation 5 – 13. Portability 3 – 14. Maintainability 3 » DI =30(Degree of Influence)
  • 24. 26/12/2016 24 Example (…) • Function Points – FP=UFP*(0.65+0.01*DI)= 55*(0.65+0.01*30)=52.25 – That means FP=52.25
  • 25. 26/12/2016 25 Relation between LOC and FP • Relationship: – LOC = Language Factor * FP – where • LOC (Lines of Code) • FP (Function Points)
  • 26. 26/12/2016 26 Relation between LOC and FP(.) Assuming LOC’s per FP for: Java = 53, C++ = 64 aKLOC = FP * LOC_per_FP / 1000 It means for the SpellChekcer Example: (Java) LOC=52.25*53=2769.25 LOC or 2.76 KLOC
  • 27. 26/12/2016 27 Introduction to COCOMO models • The COstructive COst Model (COCOMO) is the most widely used software estimation model. • The COCOMO model predicts the effort and duration of a project based on inputs relating to the size of the resulting systems and a number of "cost drives" that affect productivity.
  • 28. 26/12/2016 28 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.
  • 29. 26/12/2016 29 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. • Embedded Mode: The project is characterized by tight, inflexible constraints and interface requirements. An embedded mode project will require a great deal of innovation.
  • 30. 26/12/2016 30 Modes Feature Organic Semidetached Embedded Organizational understanding of product and objectives Thorough Considerable General Experience in working with related software systems Extensive Considerable Moderate Need for software conformance with pre-established requirements Basic Considerable Full Need for software conformance with external interface specifications Basic Considerable Full
  • 31. 26/12/2016 31 Modes (.) Feature Organic Semidetached Embedded Concurrent development of associated new hardware and operational procedures Some Moderate Extensive Need for innovative data processing architectures, algorithms Minimal Some Considerable Premium on early completion Low Medium High Product size range <50 KDSI <300KDSI All
  • 32. 26/12/2016 32 Effort Computation • The Basic COCOMO model computes effort as a function of program size. The Basic COCOMO equation is: – E = aKLOC^b • Effort for three modes of Basic COCOMO. Mode a b Organic 2.4 1.05 Semi- detached 3.0 1.12 Embedded 3.6 1.20
  • 34. 26/12/2016 34 Effort Computation • The intermediate COCOMO model computes effort as a function of program size and a set of cost drivers. The Intermediate COCOMO equation is: – E = aKLOC^b*EAF • Effort for three modes of intermediate COCOMO. Mode a b Organic 3.2 1.05 Semi- detached 3.0 1.12 Embedded 2.8 1.20
  • 35. 26/12/2016 35 Effort computation(.) • Effort Adjustment Factor Cost Driver Very Low Low Nominal High Very High Extra High Required Reliability .75 .88 1.00 1.15 1.40 1.40 Database Size .94 .94 1.00 1.08 1.16 1.16 Product Complexity .70 .85 1.00 1.15 1.30 1.65 Execution Time Constraint 1.00 1.00 1.00 1.11 1.30 1.66 Main Storage Constraint 1.00 1.00 1.00 1.06 1.21 1.56 Virtual Machine Volatility .87 .87 1.00 1.15 1.30 1.30 Comp Turn Around Time .87 .87 1.00 1.07 1.15 1.15 Analyst Capability 1.46 1.19 1.00 .86 .71 .71 Application Experience 1.29 1.13 1.00 .91 .82 .82 Programmers Capability 1.42 1.17 1.00 .86 .70 .70 Virtual machine Experience 1.21 1.10 1.00 .90 .90 .90 Language Experience 1.14 1.07 1.00 .95 .95 .95 Modern Prog Practices 1.24 1.10 1.00 .91 .82 .82 SW Tools 1.24 1.10 1.00 .91 .83 .83 Required Dev Schedule 1.23 1.08 1.00 1.04 1.10 1,10
  • 36. 26/12/2016 36 Effort Computation (..) Total EAF = Product of the selected factors Adjusted value of Effort: Adjusted Person Months: APM = (Total EAF) * PM
  • 38. 26/12/2016 38 Software Development Time • Development Time Equation Parameter Table: Development Time, TDEV = C * (APM **D) Number of Personnel, NP = APM / TDEV Parameter Organic Semi- detached Embedded C 2.5 2.5 2.5 D 0.38 0.35 0.32
  • 39. 26/12/2016 39 Distribution of Effort • A development process typically consists of the following stages: – Requirements Analysis – Design (High Level + Detailed) – Implementation & Coding – Testing (Unit + Integration)
  • 40. 26/12/2016 40 Distribution of Effort (.) The following table gives the recommended percentage distribution of Effort (APM) and TDEV for these stages: Percentage Distribution of Effort and Time Table: Req Analysis Design, HLD + DD Implementation Testing Effort 23% 29% 22% 21% 100% TDEV 39% 25% 15% 21% 100%
  • 41. 26/12/2016 41 Error Estimation • Calculate the estimated number of errors in your design, i.e.total errors found in requirements, specifications, code, user manuals, and bad fixes: – Adjust the Function Point calculated in step1 AFP = FP ** 1.25 – Use the following table for calculating error estimates Error Type Error / AFP Requirements 1 Design 1.25 Implementation 1.75 Documentation 0.6 Due to Bug Fixes 0.4
  • 42. 26/12/2016 42 All Together Design Unadjusted Function Point (UFP table) Modify FP=UFP*TCF Classes*(2Function Points) TCF KLOC=Max[aKLOC, bKLOC] LOC=13.20*Num of Method LOC=18.25*Num of Method AFP=FP*1.25 Compute Errors = AFP*Y Compute Effort: Person Month, PM=A*(KLOC**B) bKLOC=∑ (LOCs for all Classes)/1000 Adjusted PM: APM=(total EAF)*PM Development Time: TDEV=C*(APM**D) Factor:1-15 Number of personnel: NP=APM/TDEV DI=∑ratings of selected factors 14 TCF=0.65+0.01*∑(DI)j 1 Min[TCF]=0.65; Max[TCF]=1.35 aKLOC=FP*LOC_per_FP/1000 Java=53; C++=64 EAF=Product of selected factor NP Effort time Req APM TDEV Result