SlideShare a Scribd company logo
T. E. Potok - University of Tennessee
CS 594 Software Engineering
Lecture 3
Dr. Thomas E. Potok
potokte@ornl.gov
865-574-0834
2
Software Engineering CS 594 T. E. Potok - University of Tennessee
Agenda
 Review
 COCOMO
 PERT
3
Software Engineering CS 594 T. E. Potok - University of Tennessee
AMI Update
 200 jobs per day
 AMI has received a quote from Acme
Consulting of $40K to do the work in 2
months
 Ballpark price range for AMI is $20-
$30K.
4
Software Engineering CS 594 T. E. Potok - University of Tennessee
Linear Regression
Where is an estimate of the mean of Y,
and are numerical estimated of the parameters
 
Sample Regression Line
0
5
10
15
20
25
0 2 4 6 8 10 12
i
i
i E
Y 


 
i
Y
5
Software Engineering CS 594 T. E. Potok - University of Tennessee
Many early studies applied
regression
 Data gathered from multiple software
project
 Log-linear relationship found between
project size and effort
 Where PM are person-months, KLOC is
thousands of lines of code
ln(PM) = ln() + ln(KLOC)+ .
6
Software Engineering CS 594 T. E. Potok - University of Tennessee
Derivation
















KLOC
PM
KLOC
e
PM
e
e
PM
e
e
PM
e
e
KLOC
PM
Y
E
Y
KLOC
KLOC
KLOC
PM
i
i
i














)
ln(
)
ln(
)
ln(
)
ln(
)
ln(
)
ln(
)
ln(
)
ln(
7
Software Engineering CS 594 T. E. Potok - University of Tennessee
Typical Effort Vs Project Size
Curve
Typical Log-linear Effort Curve
0
2000
4000
6000
8000
10000
12000
14000
0 100000 200000 300000 400000 500000 600000
Lines of code
Effort
8
Software Engineering CS 594 T. E. Potok - University of Tennessee
Constructive Cost Model
(COCOMO)
 Developed by Barry Boehm
 Statistical model of software development
effort and time.
 Base on results from 63 projects completed at
TRW.
 Basic model is a log-linear regression model
that fits the 63 projects
 Productivity ranges:
– 20 - 1250 LOC/PM
9
Software Engineering CS 594 T. E. Potok - University of Tennessee
Basic COCOMO
 Organic - small to medium size, familiar
projects
– Person-months=2.4(KLOC)1.05
– Development-time = 2.5(PM).38
 Semidetached - intermediate
– Person-months=3.0(KLOC)1.12
– Development-time = 2.5(PM).35
 Embedded - ambitious, tightly constrained
– Person-months=3.6(KLOC)1.20
– Development-time = 2.5(PM).32
10
Software Engineering CS 594 T. E. Potok - University of Tennessee
COCOMO Models
COCOMO Models
0
1000
2000
3000
4000
5000
6000
7000
0 100 200 300 400 500 600
Thousands of lines of code
Person-months
Organic
Semidetached
Embedded
11
Software Engineering CS 594 T. E. Potok - University of Tennessee
Cost Drivers
 Product Attributes
– Required Reliability
– Database Size
– Product Complexity
 Computer Attributes
– Execution Time Constraints
– Main storage constraints
– Virtual Machine Volatility
– Computer turnaround time
12
Software Engineering CS 594 T. E. Potok - University of Tennessee
More Cost Drivers
 Personnel Attributes
– Analyst Capability
– Application Experience
– Programmer Capability
– Virtual Machine Experience
– Programming Language Experience
 Project Attributes
– Modern Programming Practices
– Use of Software Tools
– Required Development Schedule
13
Software Engineering CS 594 T. E. Potok - University of Tennessee
Example
 Need to produce 10,000 LOC, 10 KLOC.
 Small project, familiar development
 Use organic model:
– Person-months=2.4(10)1.05 =26.9 Person-months
– Development-time = 2.5(26.9).38 =8.7 Months
– Average People = 26.9 PM/8.7 Months = 3 People
 Linear model 3 people would take 16.5
months, at 50 person-months
14
Software Engineering CS 594 T. E. Potok - University of Tennessee
Example
 We also know that the design experience is low
– Analyst, - 1.19
– application, - 1.13
– programmer experience is low. - 1.17
 Yet the programming experience is high - .95
 Adjustment factor 1.19*1.13*1.17*.95 = 1.49
 PM = 26.9*1.49 = 40 Person-months
 Development time = 10.2 Months
 People = 3.9 People
15
Software Engineering CS 594 T. E. Potok - University of Tennessee
Drawbacks
 COCOMO has to be calibrated to your
environment.
 Very sensitive to change.
– Over a person-year difference in a 10 KLOC
project with minor adjustments
 Broad brush model that can generate
significant errors
16
Software Engineering CS 594 T. E. Potok - University of Tennessee
COCOMO 2.0
 Includes
– COTS and reusable software
– Degree of understanding of requirements and architectures
– Schedule constraints
– Project size
– Required reliability
 Three Types of models
– Application Composition - Prototyping or RAD
– Early Design - Alternative evaluation
– Post-architecture - Detailed estimates
17
Software Engineering CS 594 T. E. Potok - University of Tennessee
COCOMO Summary
 Quick and easy to use
 Provides a reasonable estimate
 Needs to be calibrated
 Results must be treated as ball park
values unless substantial validation has
been performed.
18
Software Engineering CS 594 T. E. Potok - University of Tennessee
PERT
 Project Evaluation and Review
Technique
– Developed for the Navy Polaris Missile
Program
– Directed Acyclic Graphs of project activities
– Used for estimation and control of a project
19
Software Engineering CS 594 T. E. Potok - University of Tennessee
Example
 Start project
 Gather requirements
 Document
requirements
 Create design
 Document design
 Review design
 Create code
 Document code
 Define test cases
 Test code
 Demonstrate
 Finish project
To create our 10K program we need the following activities
20
Software Engineering CS 594 T. E. Potok - University of Tennessee
PERT Example
Start Req Design Review Code Test Demo Finish
Doc
Req
Doc
Design
Doc
Code
Test
Case
21
Software Engineering CS 594 T. E. Potok - University of Tennessee
Duration Estimates
Tasks Minimum Average Maximum Critical Path
Start project 0 0 0 Y
Gather requirements 3 5 7 Y
Document requirements 2 3 5 N
Create design 5 9 13 Y
Document design 2 3 5 N
Review design 1 2 3 Y
Create code 7 12 20 Y
Document code 2 4 7 N
Define test cases 3 5 8 N
Test code 5 7 12 Y
Demonstrate 1 2 3 Y
Finish project 0 0 0 Y
22
Software Engineering CS 594 T. E. Potok - University of Tennessee
Critical Path Estimate
Tasks Minimum Average Maximum Critical Path
Start project 0 0 0 Y
Gather requirements 3 5 7 Y
Create design 5 9 13 Y
Review design 1 2 3 Y
Create code 7 12 20 Y
Test code 5 7 12 Y
Demonstrate 1 2 3 Y
Finish project 0 0 0 Y
Total 22 37 58
23
Software Engineering CS 594 T. E. Potok - University of Tennessee
Completion Probability
Triangular Distribution
0.000
0.010
0.020
0.030
0.040
0.050
0.060
20 25 30 35 40 45 50 55 60
Duration
Probability
Probability
24
Software Engineering CS 594 T. E. Potok - University of Tennessee
Cumulative Completion
Probability
Triangular Distribution
0.000
0.100
0.200
0.300
0.400
0.500
0.600
0.700
0.800
0.900
1.000
20 25 30 35 40 45 50 55 60
Duration
Cumulative
Probability
Cumulative Probability
80% Probability of
Completion in 46 days

More Related Content

Similar to 4. Lecture 3.ppt

COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimation
Pramod Parajuli
 
Project management@ ppt doms
Project management@ ppt doms Project management@ ppt doms
Project management@ ppt doms
Babasab Patil
 
Cocomo ( cot constrictive model) and capability maturity model
Cocomo ( cot constrictive model) and capability maturity modelCocomo ( cot constrictive model) and capability maturity model
Cocomo ( cot constrictive model) and capability maturity model
Prakash Poudel
 
SE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdfSE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdf
DISHANTBALOTRA
 
IT6511 Networks Laboratory
IT6511 Networks LaboratoryIT6511 Networks Laboratory
IT6511 Networks Laboratory
gayathridevprasad
 
Cocomo models
Cocomo modelsCocomo models
Cocomo models
minhasmushtaqbhatti
 
Cocomo
CocomoCocomo
Cocomo
Yunis Lone
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
MZ5512
 
Planning & Scheduling - Training
Planning & Scheduling - TrainingPlanning & Scheduling - Training
Planning & Scheduling - TrainingMohammed Feroze
 
CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5
SIMONTHOMAS S
 
Brad rust resume
Brad rust resumeBrad rust resume
Brad rust resume
Brad Rust
 
Metrics
MetricsMetrics
Metrics
geethawilliam
 
cost-estimation-tutorial
cost-estimation-tutorialcost-estimation-tutorial
cost-estimation-tutorial
shopnohin_shopnobalok
 
Software Estimation Part II
Software Estimation Part IISoftware Estimation Part II
Software Estimation Part IIsslovepk
 
EO notes Lecture 27 Project Management 2.ppt
EO notes Lecture 27 Project Management 2.pptEO notes Lecture 27 Project Management 2.ppt
EO notes Lecture 27 Project Management 2.ppt
yashchotaliyael21
 
Cost estimation using cocomo model
Cost estimation using cocomo modelCost estimation using cocomo model
Cost estimation using cocomo model
Nitesh Bichwani
 
CV _Eng_Tran Cong Danh_Project Engineer_15-Oct-16
CV _Eng_Tran Cong Danh_Project Engineer_15-Oct-16CV _Eng_Tran Cong Danh_Project Engineer_15-Oct-16
CV _Eng_Tran Cong Danh_Project Engineer_15-Oct-16Cong Danh Tran
 
3wis_2.pdf
3wis_2.pdf3wis_2.pdf
3wis_2.pdf
austdali
 
COCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. MohiteCOCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. Mohite
Zeal Education Society, Pune
 
Project management @ bec doms
Project management @ bec domsProject management @ bec doms
Project management @ bec doms
Babasab Patil
 

Similar to 4. Lecture 3.ppt (20)

COCOMO methods for software size estimation
COCOMO methods for software size estimationCOCOMO methods for software size estimation
COCOMO methods for software size estimation
 
Project management@ ppt doms
Project management@ ppt doms Project management@ ppt doms
Project management@ ppt doms
 
Cocomo ( cot constrictive model) and capability maturity model
Cocomo ( cot constrictive model) and capability maturity modelCocomo ( cot constrictive model) and capability maturity model
Cocomo ( cot constrictive model) and capability maturity model
 
SE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdfSE_Sec-A_Lecture-10.pdf
SE_Sec-A_Lecture-10.pdf
 
IT6511 Networks Laboratory
IT6511 Networks LaboratoryIT6511 Networks Laboratory
IT6511 Networks Laboratory
 
Cocomo models
Cocomo modelsCocomo models
Cocomo models
 
Cocomo
CocomoCocomo
Cocomo
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Planning & Scheduling - Training
Planning & Scheduling - TrainingPlanning & Scheduling - Training
Planning & Scheduling - Training
 
CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5CS8494 SOFTWARE ENGINEERING Unit-5
CS8494 SOFTWARE ENGINEERING Unit-5
 
Brad rust resume
Brad rust resumeBrad rust resume
Brad rust resume
 
Metrics
MetricsMetrics
Metrics
 
cost-estimation-tutorial
cost-estimation-tutorialcost-estimation-tutorial
cost-estimation-tutorial
 
Software Estimation Part II
Software Estimation Part IISoftware Estimation Part II
Software Estimation Part II
 
EO notes Lecture 27 Project Management 2.ppt
EO notes Lecture 27 Project Management 2.pptEO notes Lecture 27 Project Management 2.ppt
EO notes Lecture 27 Project Management 2.ppt
 
Cost estimation using cocomo model
Cost estimation using cocomo modelCost estimation using cocomo model
Cost estimation using cocomo model
 
CV _Eng_Tran Cong Danh_Project Engineer_15-Oct-16
CV _Eng_Tran Cong Danh_Project Engineer_15-Oct-16CV _Eng_Tran Cong Danh_Project Engineer_15-Oct-16
CV _Eng_Tran Cong Danh_Project Engineer_15-Oct-16
 
3wis_2.pdf
3wis_2.pdf3wis_2.pdf
3wis_2.pdf
 
COCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. MohiteCOCOMO Model By Dr. B. J. Mohite
COCOMO Model By Dr. B. J. Mohite
 
Project management @ bec doms
Project management @ bec domsProject management @ bec doms
Project management @ bec doms
 

More from PedadaSaikumar

9. Information Technology Project Management.pdf
9. Information Technology Project Management.pdf9. Information Technology Project Management.pdf
9. Information Technology Project Management.pdf
PedadaSaikumar
 
7. (lecture 5) Project scheduling..ppt
7. (lecture 5) Project scheduling..ppt7. (lecture 5) Project scheduling..ppt
7. (lecture 5) Project scheduling..ppt
PedadaSaikumar
 
5. COCOMO.pdf
5. COCOMO.pdf5. COCOMO.pdf
5. COCOMO.pdf
PedadaSaikumar
 
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
PedadaSaikumar
 
2. Project identification.ppt
2. Project identification.ppt2. Project identification.ppt
2. Project identification.ppt
PedadaSaikumar
 
3. Demand and market analysis (lecture 2).ppt
3. Demand and market analysis (lecture 2).ppt3. Demand and market analysis (lecture 2).ppt
3. Demand and market analysis (lecture 2).ppt
PedadaSaikumar
 
8. (lecture 6) Project Cost Control.ppt
8. (lecture 6) Project Cost Control.ppt8. (lecture 6) Project Cost Control.ppt
8. (lecture 6) Project Cost Control.ppt
PedadaSaikumar
 
1. PP.pptx
1. PP.pptx1. PP.pptx
1. PP.pptx
PedadaSaikumar
 
empathy map
empathy mapempathy map
empathy map
PedadaSaikumar
 

More from PedadaSaikumar (9)

9. Information Technology Project Management.pdf
9. Information Technology Project Management.pdf9. Information Technology Project Management.pdf
9. Information Technology Project Management.pdf
 
7. (lecture 5) Project scheduling..ppt
7. (lecture 5) Project scheduling..ppt7. (lecture 5) Project scheduling..ppt
7. (lecture 5) Project scheduling..ppt
 
5. COCOMO.pdf
5. COCOMO.pdf5. COCOMO.pdf
5. COCOMO.pdf
 
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
6. FUNDAMENTALS OF SE AND REQUIREMENT ENGINEERING.ppt
 
2. Project identification.ppt
2. Project identification.ppt2. Project identification.ppt
2. Project identification.ppt
 
3. Demand and market analysis (lecture 2).ppt
3. Demand and market analysis (lecture 2).ppt3. Demand and market analysis (lecture 2).ppt
3. Demand and market analysis (lecture 2).ppt
 
8. (lecture 6) Project Cost Control.ppt
8. (lecture 6) Project Cost Control.ppt8. (lecture 6) Project Cost Control.ppt
8. (lecture 6) Project Cost Control.ppt
 
1. PP.pptx
1. PP.pptx1. PP.pptx
1. PP.pptx
 
empathy map
empathy mapempathy map
empathy map
 

Recently uploaded

amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
marketing317746
 
An introduction to the cryptocurrency investment platform Binance Savings.
An introduction to the cryptocurrency investment platform Binance Savings.An introduction to the cryptocurrency investment platform Binance Savings.
An introduction to the cryptocurrency investment platform Binance Savings.
Any kyc Account
 
Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431
ecamare2
 
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Lviv Startup Club
 
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdfMeas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
dylandmeas
 
Helen Lubchak: Тренди в управлінні проєктами та miltech (UA)
Helen Lubchak: Тренди в управлінні проєктами та miltech (UA)Helen Lubchak: Тренди в управлінні проєктами та miltech (UA)
Helen Lubchak: Тренди в управлінні проєктами та miltech (UA)
Lviv Startup Club
 
The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
balatucanapplelovely
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
JeremyPeirce1
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
agatadrynko
 
Understanding User Needs and Satisfying Them
Understanding User Needs and Satisfying ThemUnderstanding User Needs and Satisfying Them
Understanding User Needs and Satisfying Them
Aggregage
 
In the Adani-Hindenburg case, what is SEBI investigating.pptx
In the Adani-Hindenburg case, what is SEBI investigating.pptxIn the Adani-Hindenburg case, what is SEBI investigating.pptx
In the Adani-Hindenburg case, what is SEBI investigating.pptx
Adani case
 
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challengesEvent Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Holger Mueller
 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
Lital Barkan
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
LR1709MUSIC
 
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBdCree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
creerey
 
Authentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto RicoAuthentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto Rico
Corey Perlman, Social Media Speaker and Consultant
 
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdfSearch Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Arihant Webtech Pvt. Ltd
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
dylandmeas
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
Cynthia Clay
 
Buy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star ReviewsBuy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star Reviews
usawebmarket
 

Recently uploaded (20)

amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
 
An introduction to the cryptocurrency investment platform Binance Savings.
An introduction to the cryptocurrency investment platform Binance Savings.An introduction to the cryptocurrency investment platform Binance Savings.
An introduction to the cryptocurrency investment platform Binance Savings.
 
Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431
 
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
 
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdfMeas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
 
Helen Lubchak: Тренди в управлінні проєктами та miltech (UA)
Helen Lubchak: Тренди в управлінні проєктами та miltech (UA)Helen Lubchak: Тренди в управлінні проєктами та miltech (UA)
Helen Lubchak: Тренди в управлінні проєктами та miltech (UA)
 
The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
 
Understanding User Needs and Satisfying Them
Understanding User Needs and Satisfying ThemUnderstanding User Needs and Satisfying Them
Understanding User Needs and Satisfying Them
 
In the Adani-Hindenburg case, what is SEBI investigating.pptx
In the Adani-Hindenburg case, what is SEBI investigating.pptxIn the Adani-Hindenburg case, what is SEBI investigating.pptx
In the Adani-Hindenburg case, what is SEBI investigating.pptx
 
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challengesEvent Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
 
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBdCree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
 
Authentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto RicoAuthentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto Rico
 
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdfSearch Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
Buy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star ReviewsBuy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star Reviews
 

4. Lecture 3.ppt

  • 1. T. E. Potok - University of Tennessee CS 594 Software Engineering Lecture 3 Dr. Thomas E. Potok potokte@ornl.gov 865-574-0834
  • 2. 2 Software Engineering CS 594 T. E. Potok - University of Tennessee Agenda  Review  COCOMO  PERT
  • 3. 3 Software Engineering CS 594 T. E. Potok - University of Tennessee AMI Update  200 jobs per day  AMI has received a quote from Acme Consulting of $40K to do the work in 2 months  Ballpark price range for AMI is $20- $30K.
  • 4. 4 Software Engineering CS 594 T. E. Potok - University of Tennessee Linear Regression Where is an estimate of the mean of Y, and are numerical estimated of the parameters   Sample Regression Line 0 5 10 15 20 25 0 2 4 6 8 10 12 i i i E Y      i Y
  • 5. 5 Software Engineering CS 594 T. E. Potok - University of Tennessee Many early studies applied regression  Data gathered from multiple software project  Log-linear relationship found between project size and effort  Where PM are person-months, KLOC is thousands of lines of code ln(PM) = ln() + ln(KLOC)+ .
  • 6. 6 Software Engineering CS 594 T. E. Potok - University of Tennessee Derivation                 KLOC PM KLOC e PM e e PM e e PM e e KLOC PM Y E Y KLOC KLOC KLOC PM i i i               ) ln( ) ln( ) ln( ) ln( ) ln( ) ln( ) ln( ) ln(
  • 7. 7 Software Engineering CS 594 T. E. Potok - University of Tennessee Typical Effort Vs Project Size Curve Typical Log-linear Effort Curve 0 2000 4000 6000 8000 10000 12000 14000 0 100000 200000 300000 400000 500000 600000 Lines of code Effort
  • 8. 8 Software Engineering CS 594 T. E. Potok - University of Tennessee Constructive Cost Model (COCOMO)  Developed by Barry Boehm  Statistical model of software development effort and time.  Base on results from 63 projects completed at TRW.  Basic model is a log-linear regression model that fits the 63 projects  Productivity ranges: – 20 - 1250 LOC/PM
  • 9. 9 Software Engineering CS 594 T. E. Potok - University of Tennessee Basic COCOMO  Organic - small to medium size, familiar projects – Person-months=2.4(KLOC)1.05 – Development-time = 2.5(PM).38  Semidetached - intermediate – Person-months=3.0(KLOC)1.12 – Development-time = 2.5(PM).35  Embedded - ambitious, tightly constrained – Person-months=3.6(KLOC)1.20 – Development-time = 2.5(PM).32
  • 10. 10 Software Engineering CS 594 T. E. Potok - University of Tennessee COCOMO Models COCOMO Models 0 1000 2000 3000 4000 5000 6000 7000 0 100 200 300 400 500 600 Thousands of lines of code Person-months Organic Semidetached Embedded
  • 11. 11 Software Engineering CS 594 T. E. Potok - University of Tennessee Cost Drivers  Product Attributes – Required Reliability – Database Size – Product Complexity  Computer Attributes – Execution Time Constraints – Main storage constraints – Virtual Machine Volatility – Computer turnaround time
  • 12. 12 Software Engineering CS 594 T. E. Potok - University of Tennessee More Cost Drivers  Personnel Attributes – Analyst Capability – Application Experience – Programmer Capability – Virtual Machine Experience – Programming Language Experience  Project Attributes – Modern Programming Practices – Use of Software Tools – Required Development Schedule
  • 13. 13 Software Engineering CS 594 T. E. Potok - University of Tennessee Example  Need to produce 10,000 LOC, 10 KLOC.  Small project, familiar development  Use organic model: – Person-months=2.4(10)1.05 =26.9 Person-months – Development-time = 2.5(26.9).38 =8.7 Months – Average People = 26.9 PM/8.7 Months = 3 People  Linear model 3 people would take 16.5 months, at 50 person-months
  • 14. 14 Software Engineering CS 594 T. E. Potok - University of Tennessee Example  We also know that the design experience is low – Analyst, - 1.19 – application, - 1.13 – programmer experience is low. - 1.17  Yet the programming experience is high - .95  Adjustment factor 1.19*1.13*1.17*.95 = 1.49  PM = 26.9*1.49 = 40 Person-months  Development time = 10.2 Months  People = 3.9 People
  • 15. 15 Software Engineering CS 594 T. E. Potok - University of Tennessee Drawbacks  COCOMO has to be calibrated to your environment.  Very sensitive to change. – Over a person-year difference in a 10 KLOC project with minor adjustments  Broad brush model that can generate significant errors
  • 16. 16 Software Engineering CS 594 T. E. Potok - University of Tennessee COCOMO 2.0  Includes – COTS and reusable software – Degree of understanding of requirements and architectures – Schedule constraints – Project size – Required reliability  Three Types of models – Application Composition - Prototyping or RAD – Early Design - Alternative evaluation – Post-architecture - Detailed estimates
  • 17. 17 Software Engineering CS 594 T. E. Potok - University of Tennessee COCOMO Summary  Quick and easy to use  Provides a reasonable estimate  Needs to be calibrated  Results must be treated as ball park values unless substantial validation has been performed.
  • 18. 18 Software Engineering CS 594 T. E. Potok - University of Tennessee PERT  Project Evaluation and Review Technique – Developed for the Navy Polaris Missile Program – Directed Acyclic Graphs of project activities – Used for estimation and control of a project
  • 19. 19 Software Engineering CS 594 T. E. Potok - University of Tennessee Example  Start project  Gather requirements  Document requirements  Create design  Document design  Review design  Create code  Document code  Define test cases  Test code  Demonstrate  Finish project To create our 10K program we need the following activities
  • 20. 20 Software Engineering CS 594 T. E. Potok - University of Tennessee PERT Example Start Req Design Review Code Test Demo Finish Doc Req Doc Design Doc Code Test Case
  • 21. 21 Software Engineering CS 594 T. E. Potok - University of Tennessee Duration Estimates Tasks Minimum Average Maximum Critical Path Start project 0 0 0 Y Gather requirements 3 5 7 Y Document requirements 2 3 5 N Create design 5 9 13 Y Document design 2 3 5 N Review design 1 2 3 Y Create code 7 12 20 Y Document code 2 4 7 N Define test cases 3 5 8 N Test code 5 7 12 Y Demonstrate 1 2 3 Y Finish project 0 0 0 Y
  • 22. 22 Software Engineering CS 594 T. E. Potok - University of Tennessee Critical Path Estimate Tasks Minimum Average Maximum Critical Path Start project 0 0 0 Y Gather requirements 3 5 7 Y Create design 5 9 13 Y Review design 1 2 3 Y Create code 7 12 20 Y Test code 5 7 12 Y Demonstrate 1 2 3 Y Finish project 0 0 0 Y Total 22 37 58
  • 23. 23 Software Engineering CS 594 T. E. Potok - University of Tennessee Completion Probability Triangular Distribution 0.000 0.010 0.020 0.030 0.040 0.050 0.060 20 25 30 35 40 45 50 55 60 Duration Probability Probability
  • 24. 24 Software Engineering CS 594 T. E. Potok - University of Tennessee Cumulative Completion Probability Triangular Distribution 0.000 0.100 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900 1.000 20 25 30 35 40 45 50 55 60 Duration Cumulative Probability Cumulative Probability 80% Probability of Completion in 46 days