Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, Dennis J. Frailey, All Rights Reserved CSE7315M15."— Presentation transcript:

1 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

2 CSE7315M15 Slide # 2 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

3 CSE7315M15 Slide # 3 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

4 CSE7315M15 Slide # 4 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

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

6 CSE7315M15 Slide # 6 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

7 CSE7315M15 Slide # 7 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

8 CSE7315M15 Slide # 8 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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?

9 CSE7315M15 Slide # 9 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

10 CSE7315M15 Slide # 10 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

11 CSE7315M15 Slide # 11 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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.?

12 CSE7315M15 Slide # 12 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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?

13 CSE7315M15 Slide # 13 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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?

14 CSE7315M15 Slide # 14 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

15 CSE7315M15 Slide # 15 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

16 CSE7315M15 Slide # 16 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

17 CSE7315M15 Slide # 17 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

18 CSE7315M15 Slide # 18 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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.

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

20 CSE7315M15 Slide # 20 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

21 CSE7315M15 Slide # 21 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

22 CSE7315M15 Slide # 22 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

23 CSE7315M15 Slide # 23 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

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

25 CSE7315M15 Slide # 25 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

26 CSE7315M15 Slide # 26 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

27 CSE7315M15 Slide # 27 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

28 CSE7315M15 Slide # 28 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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)

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

30 CSE7315M15 Slide # 30 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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)

31 CSE7315M15 Slide # 31 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

32 CSE7315M15 Slide # 32 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

33 CSE7315M15 Slide # 33 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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)

34 CSE7315M15 Slide # 34 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

35 CSE7315M15 Slide # 35 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

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

37 CSE7315M15 Slide # 37 January 10, 2001 CSE 7315 - SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © 1995-2001, 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

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


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

Similar presentations


Ads by Google