University of Southern California Center for Software Engineering C S E USC Using COCOMO for Software Decisions - from COCOMO II Book, Section 2.6 Barry.

Slides:



Advertisements
Similar presentations
COST ESTIMATION TECHNIQUES AND COCOMO. Cost Estimation Techniques 1-)Algorithmic cost modelling 2-)Expert judgement 3-)Estimation by analogy 4)-Parkinsons.
Advertisements

SW Economics & COCOMO II November 25, 2005 Jongmoon Baik, Ph.D. School of Engineering Information and Communications University.
CSCI COCOMO Tutorial1 CS “Tutorial” Presentation: Software Cost Estimation Tools – COCOMO II and COCOTS A Winsor Brown and Ye.
University of Southern California Center for Software Engineering CSE USC COSYSMO: Constructive Systems Engineering Cost Model Barry Boehm, USC CSE Annual.
University of Southern California Center for Software Engineering C S E USC Using COCOMO for Software Decisions - from COCOMO II Book, Section 2.6, 6.5.
University of Southern California Center for Software Engineering CSE USC ©USC-CSE 10/23/01 1 COSYSMO Portion The COCOMO II Suite of Software Cost Estimation.
May 11, 2004CS WPI1 CS 562 Advanced SW Engineering Lecture #5 Tuesday, May 11, 2004.
Introduction Wilson Rosa, AFCAA CSSE Annual Research Review March 8, 2010.
University of Southern California Center for Systems and Software Engineering © 2009, USC-CSSE 1 Reuse and Maintenance Estimation Vu Nguyen March 17, 2009.
April 13, 2004CS WPI1 CS 562 Advanced SW Engineering General Dynamics, Needham Tuesdays, 3 – 7 pm Instructor: Diane Kramer.
University of Southern California Center for Software Engineering CSE USC 9/14/05 1 COCOMO II: Airborne Radar System Example Ray Madachy
COSYSMO Reuse Extension COSYSMO Workshop – USC CSSE Annual Research Review March 17, 2008 Ricardo ValerdiGan Wang Garry RoedlerJohn Rieff Jared Fortune.
April 27, 2004CS WPI1 CS 562 Advanced SW Engineering Lecture #3 Tuesday, April 27, 2004.
University of Southern California Center for Systems and Software Engineering © 2009, USC-CSSE 1 An Analysis of Changes in Productivity and COCOMO Cost.
Chapter 23 – Project planning Part 2. Estimation techniques  Organizations need to make software effort and cost estimates. There are two types of technique.
Cost Management Week 6-7 Learning Objectives
Information System Economics Software Project Cost Estimation.
COCOMO-SCORM: Cost Estimation for SCORM Course Development
By K Gopal Reddy.  Metrics in software are of two types.direct and indirect.  Function points as indirect metrics.  Function points are used to measure.
University of Southern California Center for Systems and Software Engineering Cost Estimation with COCOMO II Barry Boehm CS 510, Fall 2015 v3: Slide 10.
University of Southern California Center for Software Engineering C S E USC Using COCOMO for Software Decisions - from COCOMO II Book, Section 2.6 Barry.
University of Southern California Center for Systems and Software Engineering Barry Boehm, USC CS 510 Software Planning Guidelines.
Software Project Planning Part II. Troutman's Postulates Profanity is the one language understood by all programmers. Not until a program has been in.
Fifth Lecture Hour 9:30 – 10:20 am, September 9, 2001 Framework for a Software Management Process – Life Cycle Phases (Part II, Chapter 5 of Royce’ book)
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 26 Slide 1 Software cost estimation 2.
SFWR ENG 3KO4 Slide 1 Management of Software Engineering Chapter 8: Fundamentals of Software Engineering C. Ghezzi, M. Jazayeri, D. Mandrioli.
University of Southern California Center for Systems and Software Engineering © 2010, USC-CSSE 1 Trends in Productivity and COCOMO Cost Drivers over the.
Function Points Synthetic measure of program size used to estimate size early in the project Easier (than lines of code) to calculate from requirements.
Estimating “Size” of Software There are many ways to estimate the volume or size of software. ( understanding requirements is key to this activity ) –We.
The COCOMO model An empirical model based on project experience. Well-documented, ‘independent’ model which is not tied to a specific software vendor.
Chapter 7: Project Cost Management
Copyright © , Dennis J. Frailey, All Rights Reserved Day 2, Part 1, Page 1 1/11/2004 Day 2, Part 1 Estimating Software Size Section 2 Calculating.
1 COCOMO II Estimation Example: Transaction Processing System (TPS) II Based on Chapter 3 of COCOMO II book Used for new microeconomics examples –Replaces.
University of Southern California Center for Systems and Software Engineering ICSM Stage II: Phases and Continuing Project Example Anandi Hira CS 510,
1 Using COCOMO for Software Decisions - from COCOMO II Book, Section 2.6, 6.5 LiGuo Huang Computer Science and Engineering Southern Methodist University.
COCOMO Software Cost Estimating Model Lab 4 Demonstrator : Bandar Al Khalil.
1 Agile COCOMO II: A Tool for Software Cost Estimating by Analogy Cyrus Fakharzadeh Barry Boehm Gunjan Sharman SCEA 2002 Presentation University of Southern.
Project Cost Management
Using COCOMO for Software Decisions - from COCOMO II Book, Section 2.6
Metrics and Terms SLOC (source lines of code)
Cost Estimation with COCOMO II
Tutorial: Software Cost Estimation Tools – COCOMO II and COCOTS
COCOMO II Overview CSCI 510 Fall 2013 (c) USC CSSE.
COCOMO II Overview Barry Boehm CSCI 510 Fall 2011 (c) USC CSSE
COCOMO II Overview Barry Boehm CSCI (c) USC CSSE 2018/9/19.
Constructive Cost Model
Pongtip Aroonvatanaporn CSCI 577b Spring 2011 March 25, 2011
COCOMO II Overview Ray Madachy CSCI 510
SLOC and Size Reporting
Cost Estimation with COCOMO II
Software Systems Cost Estimation
COCOMO Model Basic.
Using COCOMO for Software Decisions - from COCOMO II Book, Section 2
Using COCOMO for Software Decisions - from COCOMO II Book, Section 2
Cost Estimation with COCOMO II
Cost Estimation with COCOMO II
More on Estimation In general, effort estimation is based on several parameters and the model ( E= a + b*S**c ): Personnel Environment Quality Size or.
Cost Estimation with COCOMO II
COCOMO 2 COCOMO 81 was developed with the assumption that a waterfall process would be used and that all software would be developed from scratch. Since.
COCOMO II Overview LiGuo Huang Computer Science and Engineering
Cost Estimation with COCOMO II
Cost Estimation with COCOMO II
COCOMO II: Airborne Radar System Example
Using COCOMO for Software Decisions - from COCOMO II Book, Section 2.6
COCOMO II Overview Marilee Wheaton CSCI 510.
COCOMO II: Airborne Radar System Example
Center for Software and Systems Engineering,
Using COCOMO for Software Decisions - from COCOMO II Book, Section 2.6
Using COCOMO for Software Decisions - from COCOMO II Book, Section 2
Midterm 1 Content Q&A - COCOMO-Related Questions -- ICSM-Related Questions Barry Boehm CS 510, Fall 2014.
Presentation transcript:

University of Southern California Center for Software Engineering C S E USC Using COCOMO for Software Decisions - from COCOMO II Book, Section 2.6 Barry Boehm CS 510, Fall 2015

University of Southern California Center for Software Engineering C S E USC 2 Outline COCOMO II Objective: Decision Support Example Company: UST, Inc. Auto Parts Frequent Software Decisions –Investment; Business Case Analysis –Setting Project Budgets and Schedules –Performing Tradeoff Analysis –Cost Risk Management –Development vs. Reuse –Legacy Software Phaseout –Software Process Improvement Software Organizational Decisions Conclusions

University of Southern California Center for Software Engineering C S E USC 3 UST, Inc. Auto Parts Company Large manufacturing company –200-person software organization Considering development of manufacturing control system (MCS) –100 KSLOC; nominal driver ratings; $8K/PM Scaling exponent E= ( )=1.10 Estimated effort and cost Effort=2.94*100^1.10 = 466 PM Cost = 466 PM * $8K/PM = $3.728M

University of Southern California Center for Software Engineering C S E USC 4 UST, Inc. Auto Parts Company (Cont.) Plus Inception (6%) and Transition (12%) costs –Acquisition Cost = $3.728*1.18 = $4.4M Annual Maintenance Cost Annual Software Change = 100*(0.20) = 20 KSLOC Cost = 2.94*(20)^1.10*$8K=$635K

University of Southern California Center for Software Engineering C S E USC 5 MCS Business Case Analysis MCS estimate to reduce manufacturing inventory 20% –Enables more just-in-time arrival of suppliers components Current Manufacturing inventory valued at $80M Inventory carrying costs average around 25% –Inventory control, property taxes, capital costs, etc. MCS savings in reduced inventory carrying costs = ($80)*(0.25)*(0.2)=$4M/Year MCS savings subtracts software maintenance cost =$4M-0.635M=$3.365M 5-year-ROI = (5 * $3.365M - $4.4M) / $4.4M = 2.8 –Well worth the investment

University of Southern California Center for Software Engineering C S E USC 6 Setting Project Budgets and Schedules Schedule TDEV=3.67*(PM)^[ *(E-0.91)] = 3.67*(466)^0.318 = 26 month Development phase schedule and effort –Effort=0.76*(466)=354 PM; Schedule=0.625*26=16.25 Month; –Staff Level = 354/16.25=28.8 people

University of Southern California Center for Software Engineering C S E USC 7 Performing Tradeoff Analysis MCS Life-cycle Costs vs. Reliability Level RELY RatingVery Low LowNominalHighVery High Dev. Effort Mult Dev. Cost ($K) Maint. Effort Mult Maint. Cost (*2 for Nominal: 20%/year * 10 years) 11,88010,1208,8008,6249,680 Life-cycle Cost15,48814,16813,20013,46415,224

University of Southern California Center for Software Engineering C S E USC 8 Value-Based Tradeoff Analysis Cost of Downtime = $38K*(Downtime) RELY RatingVery Low LowNominalHighVery High Mean Time to Failure (hr) ,000300,000 Mean Time to Repair (hr) Avail= MTBF/(MTBF+MTTR) Downtime Cost=$38K*Downtime $1660M$330M$10M$0.33M$0.01M SW Life-cycle Cost $15.5M$14.2M$13.2M$13.5M$15.2M Ownership Cost $1675.5M$344.2M$23.2M$13.8M$15.2M

University of Southern California Center for Software Engineering C S E USC 9 Outline COCOMO II Objective: Decision Support Example Company: UST, Inc. Auto Parts Frequent Software Decisions –Investment; Business Case Analysis –Setting Project Budgets and Schedules –Performing Tradeoff Analysis –Cost Risk Management –Development vs. Reuse –Legacy Software Phaseout –Software Process Improvement Software Organizational Decisions Conclusions

University of Southern California Center for Software Engineering C S E USC 10 Cost Risk Management Risk reserve for requirement volatility –Estimate as high as 15% –Resulting cost = 2.94*(100+15)^1.10*($8k)=$5130k –Risk reserve = $5130k – 4400k = $730k Risk reserve for less experienced personnel –Average applications, Platform experience ½-level lower –Resulting cost = $4400k*(1.05)*(1.045)=$4828k –Risk reserve = $428k

University of Southern California Center for Software Engineering C S E USC 11 Development vs. Reuse Possibility of reusing a 40 KSLOC component Reuse parameters not a strong match –% design modified DM=40 –% code modified CM=50 –% integration redone IM=100 –Understanding penalty SU=50 –SW unfamiliarity UMFM=1.0 –Adaptation of assessment AA =5% Equivalent new lines of code = 40k*[(0.4*40+0.3*50+0.3*100)/100+(5+50*1.0)/100] = 40k * ( ) = 46.4KSLOC Not a good decision to reuse

University of Southern California Center for Software Engineering C S E USC 12 Legacy Software Phaseout Candidate: Corporate property accounting system –50K COBOL program; 20% annual change (10K) –SU = 50: poorly structured, documented –UNFM = 0.7: few people familiar with code Equivalent annual maintenance size = 10KSLOC * [1 + (50*0.7)/100] = 13.5 KSLOC/year 3 years: 40.5K SLOC Replacement could use MCS GUI, DBMS –Only 20 KSLOC of new software needed; 20% annual change (4KSLOC) –SU = 25: better structured, documented –UNFM = 0.4: New developers familiar with the code Equivalent annual maintenance size = 4KSLOC * [1+ (25*0.4)/100] = 4.4 KSLOC/year 3 years + development = 3* = 33.2 KSLOC –Better to phase out and replace legacy SW

University of Southern California Center for Software Engineering C S E USC 13 Software Process Improvement UST currently at Process maturity Level 2 –Planning & control, config. Management, quality assurance Cost to achieve level 3 (process group, training, product engr.) –Process group: (2yr)*(4 persons)*($96K/yr) = $768K –Training: (200 persons)*(3weeks)*($96K/yr) = $1108K –Contingency = $124K; Total = = $2000K Benefit: scale exponent reduced by =.0156, to 1.10 – = –From 100^1.10 = to 100^ = 147.5, or 7% less effort –Annual savings = (200 persons)*(96K/yr)(.07)=$1344K 5 year ROI = [5*$1344K-$2000K]/$2000K = 2.36 –Again, well worth the investment

University of Southern California Center for Software Engineering C S E USC 14 Outline COCOMO II Objective: Decision Support Example Company: UST, Inc. Auto Parts Frequent Software Decisions –Investment; Business Case Analysis –Setting Project Budgets and Schedules –Performing Tradeoff Analysis –Cost Risk Management –Development vs. Reuse –Legacy Software Phaseout –Software Process Improvement Software Organizational Decisions Conclusions

University of Southern California Center for Software Engineering C S E USC 15 COCOMO II Experience Factory: I Ok? Rescope COCOMO 2.0 Corporate parameters: tools, processes, reuse System objectives: fcn’y, perf., quality No Yes Cost, Sched, Risks

University of Southern California Center for Software Engineering C S E USC 16 COCOMO II Experience Factory: II Ok? Rescope COCOMO 2.0 Corporate parameters: tools, processes, reuse System objectives: fcn’y, perf., quality Execute project to next Milestone Ok? Done? End Revise Milestones, Plans, Resources No Revised Expectations M/S Results Yes Milestone expectations No Yes Cost, Sched, Risks No Milestone plans, resources

University of Southern California Center for Software Engineering C S E USC 17 COCOMO II Experience Factory: III Ok? Rescope COCOMO 2.0 Recalibrate COCOMO 2.0 Corporate parameters: tools, processes, reuse System objectives: fcn’y, perf., quality Execute project to next Milestone Ok? Done? End Revise Milestones, Plans, Resources Accumulate COCOMO 2.0 calibration data No Revised Expectations M/S Results Yes Milestone expectations No Yes Cost, Sched, Risks No Milestone plans, resources

University of Southern California Center for Software Engineering C S E USC 18 COCOMO II Experience Factory: IV Ok? Rescope COCOMO 2.0 Recalibrate COCOMO 2.0 Corporate parameters: tools, processes, reuse System objectives: fcn’y, perf., quality Execute project to next Milestone Ok? Done? End Revise Milestones, Plans, Resources Evaluate Corporate SW Improvement Strategies Accumulate COCOMO 2.0 calibration data No Revised Expectations M/S Results Yes Milestone expectations Improved Corporate Parameters No Yes Cost, Sched, Risks Cost, Sched, Quality drivers No Milestone plans, resources

University of Southern California Center for Software Engineering C S E USC 19 Conclusions COCOMO II is useful in many decision situations –Supports objective discussion and negotiation Most analyses can be done with hand calculator –Simpler, easier to explain Usage builds shared understanding and trust

University of Southern California Center for Software Engineering C S E USC CS 510 Homework 3 Preparation Due Wednesday, September 16 Become familiar with EP-2: Chapter 2 of the COCOMO II cost model book. Use Table 2.50 for the COCOMO II cost estimation parameters. Become familiar with Sections 5.4, 6.6, and 7.6 of the ICSM book. These describe the Medical First Responder System (MedFRS) used as an example project using the ICSM. 20

University of Southern California Center for Software Engineering C S E USC CS 510 Homework 3 Assignment 1 The total software portion of the $2million budget for the initial operational capability of the MedFRS system, excluding the deferred Electronic Health Record (EHR) system, is $500K. To provide evidence of the feasibility of the $500K budget, Table 7-3 proposes a prototype of the new integrated patient- monitoring systems and 4G communications on a single first-responder vehicle and one level 1 trauma center. 3.1 (15 points). Perform a COCOMO II cost and schedule estimate for developing the prototype, using the following additional parameters: a prototype size estimate of 5 KSLOC and an average developer cost of $6K per person-month. The COCOMO II parameter ratings are all Nominal (round off the all-Nominal exponent to be 1.10) except for: RELY: Low, since the prototype will not be operational. CPLX: High; some complex cross-device and external interfaces ACAP: High; prototype needs top talent PCAP: High; prototype needs top talent APEX: High; prototypers familiar with medical field PLEX: Low; prototypers unfamiliar with new devices 21

University of Southern California Center for Software Engineering C S E USC CS 510 Homework 3 Assignment (15 points). Assume that the prototype has been successful and has not only provided evidence of feasibility of the approach, but also has determined the likely size of the full development to be 22 KSLOC, and provided evidence for stronger ratings for the system’s complexity CPLX (now Nominal due to experience with the prototype) and the team’s added platform experience PLEX (now High). For the full system, perform a COCOMO II cost and schedule estimate, assuming that the average developer cost is still $6K per person-month, and the COCOMO II parameter ratings are all Nominal except for: RELY: Very High, since the system needs to be safety-critical. ACAP: High; system needs top talent PCAP: High; system needs top talent APEX: High; developers familiar with medical field PLEX: High; developers now familiar with new devices Does the total cost of prototype and development fit within the $500K budget? 22