CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, Dennis J. Frailey, All Rights Reserved CSE7315M15.

Slides:



Advertisements
Similar presentations
Project management.
Advertisements

Effort Estimation and Scheduling
Software Quality Assurance Plan
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M30 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
Computer Engineering 203 R Smith Project Tracking 12/ Project Tracking Why do we want to track a project? What is the projects MOV? – Why is tracking.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 1 Slide 1 Project management.
SE is not like other projects. l The project is intangible. l There is no standardized solution process. l New projects may have little or no relationship.
ANSI/EIA -748 EVMS 32 Guidelines National Aeronautics and Space Administration.
LSU 10/09/2007Project Schedule1 The Project Schedule Project Management Unit #4.
Information System Economics Software Project Cost Estimation.
Copyright © 2009 T.L. Martin & Associates Inc. Chapter 3 Requirements of a realistic CPM schedule.
Software Estimation and Function Point Analysis Presented by Craig Myers MBA 731 November 12, 2007.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 26 Slide 1 Software cost estimation 1.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 23Slide 1 Chapter 23 Software Cost Estimation.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M29 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
Software Engineering Lecture 7: Scheduling & Tracking.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M14 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M11 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
CSEM01 - wk8 - Software Planning1 Software Planning CSEM01 SE Evolution & Management Anne Comer Helen Edwards.
10/27/20151Ian Sommerville.  Fundamentals of software measurement, costing and pricing  Software productivity assessment  The principles of the COCOMO.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M10 8/20/2001Slide 1 SMU CSE 8314 /
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Disciplined Software Engineering Lecture #2 Software Engineering Institute Carnegie Mellon University Pittsburgh, PA Sponsored by the U.S. Department.
Copyright © 1994 Carnegie Mellon University Disciplined Software Engineering - Lecture 1 1 Disciplined Software Engineering Lecture #2 Software Engineering.
SE is not like other projects. l The project is intangible. l There is no standardized solution process. l New projects may have little or no relationship.
©Ian Sommerville 2000Software Engineering, 7th edition. Chapter 26Slide 1 Software cost estimation l Predicting the resources required for a software development.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M16 - Version 8.01 SMU CSE 7315 Planning and Managing a Software Project.
February 15, 2004 Software Risk Management Copyright © , Dennis J. Frailey, All Rights Reserved Simple Steps for Effective Software Risk Management.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M18 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
Copyright © , Dennis J. Frailey, All Rights Reserved Day 2, Part 2, Page 1 4/19/2003 Day 2, Part 2 Estimating Software Effort & Cost Section 1.
CSE SW Project Management / Module 20 - More Effort Estimation Models Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M20 Slide.
CSE SW Project Management / Module 25 - Risk Management Overview Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M25 Slide.
January 20, 2000 CSE SW Project Management / Chapter 6 - Detailed Planning - Effort and Cost Estimating Copyright © , Dennis J. Frailey,
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M15 version 5.09Slide 1 SMU CSE.
CSE SW Project Management / Module 10 - WBS Construction Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M10 Slide 1 January.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M14 version 3.09Slide 1 SMU CSE.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M31 version 5.09Slide 1 SMU CSE.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 5 Slide 1 Project management.
CSE SW Project Management / Module 26 - Risk Management Process, In Detail Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M26.
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.
January 20, 2000 CSE SW Project Management / Chapter 15 – Course Summary Copyright © , Dennis J. Frailey, All Rights Reserved Slide # 1.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M13 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Project Management / Module 23 - Cycle Time Management and Negotiation Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M23.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M18 8/20/2001Slide 1 SMU CSE 8314 /
SCOPE DEFINITION,VERIFICATION AND CONTROL Ashima Wadhwa.
CSE SW Project Management / Module 30 - Managing with Earned Value / Measurement Issues Copyright © , Dennis J. Frailey, All Rights Reserved.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M19 - Version 8.01 SMU CSE 7315 Planning and Managing a Software Project.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M21 - Version 8.01 SMU CSE 7315 Planning and Managing a Software Project.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M09 version 5.09Slide 1 SMU CSE.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M15 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
CSE SW Project Management / Module 26 - Risk Management Process, In Detail Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M26.
CSE SW Project Management / Module 14 - Size Estimating Notes and Reuse Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M14.
CSE SW Project Management / Module 12 - Size Estimating Methods Part 1 Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315 v3.0.
CSE SW Project Management / Module 11 - Overview of Size Estimating Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M11 Slide.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M11 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M23 version 3.09Slide 1 SMU CSE.
CSE SW Project Management / Module 27 - Project Tracking and Oversight Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M27.
CSE SW Project Management / Module 19 - Some Popular Effort Estimation Models Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M19.
CSE SW Project Management / Module 18 - Introduction to Effort Estimating Models Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M18.
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M00 - Version 7.09 SMU CSE 8314 Software Measurement.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M11 version 5.09Slide 1 SMU CSE.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M20 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
Information Technology Project Management, Seventh Edition Note: See the text itself for full citations.
Software project management 3rd Umer khalid Lecturer University of Lahore Sargodha campus.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M33 8/20/2001Slide 1 SMU CSE 8314 /
Project management. Software project management ■It is the discipline of planning, organizing and managing resources to bring about the successful completion.
Software Engineering, COMP201 Slide 1 Software Engineering CSE470.
Software Engineering, COMP201 Slide 1 Software Engineering CSE470.
IS301 – Software Engineering V:
Presentation transcript:

CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M15 Slide 1 January 10, 2001 SMU CSE 7315 / NTU SE 584-N Planning and Managing a Software Project Module 15 Introduction to Effort Estimation

CSE7315M15 Slide # 2 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Objectives of This Module To discuss ways of measuring effort To discuss the relationship between effort and schedule To discuss some general points about effort estimating

CSE7315M15 Slide # 3 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved The Big Picture for Cost Estimating Estimate Size Estimate Effort and Cost Estimate Schedule Evaluate Source Information Statement of Work Requirements Constraints Standards Processes History etc. WBSSize Effort & Cost Schedule OK Complete Detailed Planning Revise & Negotiate Not OK

CSE7315M15 Slide # 4 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved The Effort/Cost Estimating Process WBS Estimate Size and Then Effort Estimate Costs Directly or as % of Development Costs Software Development Tasks requirements design code... Other Tasks and Costs management travel training overhead facilities equipment software … Convert to $ Total Cost Estimate Total Cost Estimate

CSE7315M15 Slide # 5 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Measures of Effort

CSE7315M15 Slide # 6 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Effort Is... … the amount of labor required for the project It is typically measured in staff- months, staff-days or staff-hours  A month (or calendar-month) is a measure of time  A staff-month is a measure of effort If three people complete a job in 1 calendar-month, it is a 1 calendar-month job that requires 3 staff-months of effort

CSE7315M15 Slide # 7 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Effort Is Not Defined Precisely There are no generally accepted, precise definitions for terms like staff-month or staff-day And people are known to “fudge” the definitions in their own favor

CSE7315M15 Slide # 8 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Two Executives on the Golf Course We do 50 LOC per staff-month - you do only 40! How do you measure staff- months?

CSE7315M15 Slide # 9 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Staff-Hours, Staff-Days, or Staff-Months There are many ways to measure these And these three are not necessarily related in a simple manner Because of this, comparisons can be very misleading

CSE7315M15 Slide # 10 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved How Many Hours per Day? 1 staff-hour = 1 person working for 1 hour 1 staff-day = 1 person working for 1 day

CSE7315M15 Slide # 11 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved How Many Hours per Day? (continued) How many staff-hours per staff- day? – 7? 7.5? 8.0? 8.5? 9.5? ??? – How do you handle paid overtime? – How do you handle unpaid overtime? – How do you handle breaks, lunch hours, etc.?

CSE7315M15 Slide # 12 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved How many productive staff-days per staff-month? – 30? 21? 19? ??? – Does it depend on which month? The underlined value is the default assumed by many U.S. companies and many estimating models (this value allows for an average number of vacation days and holidays in the U.S.) How Many Days per Month?

CSE7315M15 Slide # 13 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved How Many Hours per Month? 144? 148? 152? 160? 175? 184? ??? Factors that can affect this: – Which month is it? – What is the length of the work day? – How do you handle overtime? – Vacations and holidays – Sick days – What country are you in? – How do you allocate management overhead?

CSE7315M15 Slide # 14 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Lines of code per staff- month Objects tested per staff-hour Consistency is the Most Important Factor If you measure effort consistently, you can understand what it costs, compare different projects, and predict future performance

CSE7315M15 Slide # 15 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Consistency Allows Reasonable Comparisons With Past History Like software size, there are many ways to measure effort and many arguments why each is good or bad You cannot make meaningful evaluations if each project measures effort differently

CSE7315M15 Slide # 16 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved There tend to be fewer variations in how a staff-hour is measured But many organizations use staff- months -- so you need to know how to convert properly in your organization Measure Hours if You Can

CSE7315M15 Slide # 17 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Projects Often Hide Actual Effort Data You cannot tell what really happened on a previous project if you don’t know how they measured effort How many hours did you really spend? We don’t know - we didn’t count unpaid overtime

CSE7315M15 Slide # 18 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Possible Exam Questions  Explain the difference between a calendar-month and a staff-month. Give an example to show each of the following: – A 3 calendar-month project using 6 staff-months of effort – A 6 calendar-month project using 3 staff-months of effort  Show how to convert effort in staff-hours to effort in staff-months. Explain how two different organizations might convert differently.  Explain how projects might hide the actual amount of effort they spent.

CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M15 Slide 19 January 10, 2001 The Relationship Between Time and Effort

CSE7315M15 Slide # 20 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved What Does a Staff-Month Mean? If it requires 12 staff-months, does this mean – 12 people for 1 month? – 1 person for 12 months? – 3 people for 4 months? – does it depend on the people? Too often, managers get caught by the assumption that all of these are equivalent

CSE7315M15 Slide # 21 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved vs How Flexible is a Staff-Month? There is some flexibility, but only so much Brooks (see references: “The Mythical Man-Month”) explored this issue in considerable detail

CSE7315M15 Slide # 22 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Cost of Adding More People CC = (N * (N-1))/2 Where... N = Number of people CC = Communication Complexity (extra overhead of managing N people) Brooks’ Equation for Intercommunication Effort

CSE7315M15 Slide # 23 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved You Cannot Just Allocate People Arbitrarily staff- days required to do the work calendar time allocated for the work Optimal Schedule COCOMO MODEL OF TIME VS EFFORT

CSE7315M15 Slide # 24 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Putnam’s Size vs. Time Equation EFFORT = CONSTANT / TIME 4

CSE7315M15 Slide # 25 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved The Optimal Schedule Depends on Many Factors Process, people, nature of task, tools, management approach, environment, … Different cost estimating models make different assumptions about these matters and how they affect the results

CSE7315M15 Slide # 26 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Until we have a better theoretical foundation, the only way to determine the optimal is through experience The various estimating models represent the experience of their originators and thus may predict different “optimal” schedules The Experience Factor

CSE7315M15 Slide # 27 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Your Actual High Level Schedule May be Determined by Other Factors In early planning, your project’s overall goals and milestones may define constraints Product deadlines may determine schedule dates Reviews may have to occur at times convenient to others – Customers – Managers

CSE7315M15 Slide # 28 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Compare the Actual and the Optimal Schedule to Gauge the Schedule Risk If the optimal is significantly different from the actual, you have a significant expectation of – increased cost, and – schedule risk Optimal vs. actual schedule information may help you determine cost impact (see later)

CSE7315M15 Slide # 29 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Typical Inputs to the Effort Estimate

CSE7315M15 Slide # 30 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Tasks to be Performed are a Major Input to Effort Estimation Typically these are found in the WBS – Software development tasks (design, code, test) – Additional development tasks (requirements, system integration) – Support tasks (CM, QA, management) – Tasks requiring additional labor (documents, audits, etc.) – Additional dollar costs (travel, equipment, etc)

CSE7315M15 Slide # 31 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Other Inputs to Effort Estimate Estimated software size Historical data on effort & productivity High level schedule Process and methods Programming language Operating system for target system Tools to be used Staff experience level

CSE7315M15 Slide # 32 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Effort Estimating Steps 1) Summarize & document the requirements for each task – Basis of estimate – WBS dictionary 2) Quantify the magnitude of each task – Size & complexity for software – # of pages, # of trips, # of whatever for other things

CSE7315M15 Slide # 33 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Effort Estimating Steps (continued) 3) Estimate effort for software development tasks 4) Estimate again with an alternative method 5) Resolve discrepancies (repeat from step 1, as required) 6) Add effort estimates for other tasks (such as support tasks)

CSE7315M15 Slide # 34 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved In Other Words... WBS Estimate Size and Then Effort Estimate Costs Directly or as % of Development Costs Software Development Tasks requirements design code... Other Tasks and Costs management travel training overhead facilities equipment software … Convert to $ Total Cost Estimate Total Cost Estimate Estimate Development Costs Then Estimate Other Costs

CSE7315M15 Slide # 35 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Notes for Effort Estimation Accuracy of estimate depends on – Experience – Historical data – Availability of information – & LUCK! When writing a proposal you could easily be 50% off in your estimate At the start of a project, you are lucky to be within 20% unless you have very good historical data

CSE7315M15 Slide # 36 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Good History Data Good historical data are essential for accurate estimating.

CSE7315M15 Slide # 37 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved Module Summary There are many ways to measure effort - make sure you have a consistent way to measure Size and effort are related, but the relationship is not always simple The estimating process begins with estimating software development costs - then estimating other costs, often as a percent of sw development cost

CSE7315M15 Slide # 38 January 10, 2001 CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved END OF MODULE 15