software estimation concepts
play

Software Estimation Concepts Seagull Systems Analysis Series TM - PDF document

Software Estimation Concepts Seagull Systems Analysis Series TM Presented for BlueCross BlueShield of South Carolina By The Rushing Center Furman University 1 SA : Software Estimation Concepts Module 1: Overview of Estimating 2 1 Art


  1. Software Estimation Concepts Seagull Systems Analysis Series TM Presented for BlueCross BlueShield of South Carolina By The Rushing Center Furman University 1 SA : Software Estimation Concepts Module 1: Overview of Estimating 2 1

  2. Art vs. Science of Software Estimation Our natural tendency is to believe that complex formulas like this: Will always produce more accurate results than simple formulas like this: Effort = NumberOfRequirements * AverageEffortPerRequirement  The typical software organization is not struggling to improve its estimates from ±10% to ±5% accuracy.  The typical software organization is struggling to avoid estimates that are incorrect by 100% or more.  Complex formulas aren't necessarily better.  Software projects are influenced by numerous factors that undermine many of the assumptions contained in complex formulas.  This seminar emphasizes rules of thumb, procedures, and simple formulas that are highly effective and understandable to practicing software professionals. 3 What is an Estimate “It is very difficult to make a vigorous, plausible, and job -risking defense of an estimate that is derived by no quantitative method, supported by little data, and certified chiefly by the hunches of managers” - Fred Brooks Dictionary: 1. A tentative evaluation or rough calculation 2. A preliminary calculation of the project cost. 3. A judgment based upon one’s impressions, opinion. PMBOK: “An estimate is an assessment of the likely quantitative result. Usually applied to project costs and durations and should always include some indication of accuracy (+ - ‘X’ %).”  When executives ask for an estimate they often are asking for a commitment or for a plan to meet a target. 4 2

  3. Estimates, Targets and Commitments  A target is a statement of a desirable business objective.  “These functions need to be completed by July 1 so that we’ll be in compliance with government regulations”  A commitment is a promise to deliver functionality at a specific level of quality by a certain date. When you are asked to provide an estimate determine whether you’re supposed to be estimating or figuring out how to hit a target. 5 Estimates, Targets and Commitments  Estimates should be treated as an unbiased , analytical process  Planning should be treated as a biased, goal seeking process.  Estimates form the foundation of plans.  It is hazardous to want the estimate to come out to a particular answer.  The goal is accuracy  If the estimates are dramatically different from the targets, the project plan will need to recognize that gap and account for a high level of risk 6 3

  4. Estimates as Probability Statements Software estimates a routinely presented as single point numbers.   “This project will take 14 weeks” Single point estimates are meaningless because they don’t include  any indication of probability.  Usually a target masquerading as an estimate. Sources of uncertainty mean that project outcomes follow a  probability distribution – some outcomes more likely, some less likely Single-point estimates assume 100% probability of the actual outcome equaling the planned outcome. This isn't realistic. 7 All single-point estimates are associated with a probability, explicitly or implicitly. This figure presents the idea of probabilistic project outcomes in another way. As you can see from the figure, a naked estimate like "18 weeks" leaves out the interesting information that 18 weeks is only 10% likely. An estimate like "18 to 24 weeks" is more informative and conveys useful information about the likely range of project outcomes. 8 4

  5. Definition of a “Good” Estimate  Casper Jones has stated that accuracy within plus or minus 10% is possible, but only on very well controlled projects.  The most common evaluation standard used to evaluate estimation accuracy is to provide estimates within 25% of the actual results 75% of the time .  Accurate estimation results cannot be accomplished through estimation practices alone.  They must be supported by effective project control. 9 Definition of a “Good” Estimate  Criteria of a good estimate cannot be based on predictive capability , which is impossible to access, but on the estimate’s ability to support project success.  A good estimate is an estimate that provides a clear enough view of the project reality to allow the project leadership to make good decisions about how to control the project to hit its targets .  This definition is the foundation of the discussion throughout this seminar. 10 5

  6. Benefits of Accurate Estimates  Improved status visibility  If the planned progress is realistic (that is, based on accurate estimates), it's possible to track progress according to plan.  Higher quality  Helps avoid schedule-stress-related quality problems. About 40% of all software errors have been found to be caused by stress  When schedule pressure is extreme, about four times as many defects are reported in the released software. 11 Better to Over or Under Estimate on a Project? “More software projects have gone awry for lack of calendar time than all other causes combined” -Fred Brooks  Arguments Against Overestimation  Parkinson’s Law Cost will rise to meet budget  Work expands to fill the resources available   “Gold plating”  Procrastination 12 6

  7. Better to Over or Under Estimate on a Project?  Arguments Against Underestimation  Reduced effectiveness of project plans.  When planning assumptions are wrong by a large magnitude, the project plan is based on assumptions that are so far off that the plans are useless.  Statistically reduced chance of on-time completion.  Developers typically underestimate by 20-30% of their actual effort.  Poor technical foundation leads to worse than nominal results  A low estimate can lead to too little time spent on up stream activities such as requirements and design. This makes the project take longer than it would have taken with an accurate estimate 13 Better to Over or Under Estimate on a Project?  Arguments Against Underestimation (continued)  Destructive late project dynamics make the project worse than nominal.  More status meetings to discuss how to get the project back on track.  Frequent reestimations late in the project to determine just when the project will be completed.  Loosing face with key customers for missing delivery dates.  Preparing interim releases to support customer requirements. If the software were ready on time interim releases would not be necessary.  More discussions about which requirements absolutely must be added -. i.e. the necessity to descope.  Fixing problems from quick and dirty workarounds implemented in response to schedule pressure. 14 7

  8. It’s Better to Overestimate  The penalty for overestimation is linear and bounded – work will expand to fill available time, but it will not expand further.  The penalty for underestimation is nonlinear and unbounded – planning errors, shortchanging upstream activities and the creation of more defects cause more damage than overestimating, with little ability too predict the damage ahead of time. Don’t intentionally underestimate. The penalty is more severe than the penalty for overestimation. Address concerns about overestimation through planning and control, not by biasing your estimates 15 Industry Track Record for Delivering Projects  18% of projects failed outright  54% of projects delivered late  100-200% cost overruns not uncommon  Average project exceeds cost by 90%; schedule by 120%  Only 28% of projects are successful (on time within budget, all functionality originally specified)  Projects routinely throw out functionality to achieve schedule and budget goals. 16 * 1998, 1999, 2000 Standish report, Chaos Report 8

  9. Your Track Record for Delivering Projects  How many of you have worked on software projects delivered over budget and late?  How many of you have worked on a software project that was on time and within budgeted hours?  How many of you have worked on a software project that was delivered early and under budget? 17 SA : Software Estimation Concepts Module 2: Sources of Estimation Error 18 9

  10. Complexity and Size Affect Project Success  As size becomes larger complexity increases.  As size becomes larger a greater number of tasks need to be completed.  As size becomes larger there is a greater number of staff members and they become more difficult to manage.  Since fixed costs for software projects is minimal. There are little if any economies of scale for software projects. 19 Complexity and Size Affect Project Success Project Outcomes by Project Size Size in Function Points (and Approximate Lines of Code) Early On Time Late Failed (Canceled) 10 FP (1,000 LOC) 11% 81% 6% 2% 100 FP (10,000 LOC) 6% 75% 12% 7% 1,000 FP (100,000 LOC) 1% 61% 18% 20% 10,000 FP (1,000,000 <1% 28% 24% 48% LOC) 100,000 FP (10,000,000 0% 14% 21% 65% LOC) Source: Estimating Software Costs (Jones 1998) 20 10

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend