Software development effort estimation explained

In software development, effort estimation is the process of predicting the most realistic amount of effort (expressed in terms of person-hours or money) required to develop or maintain software based on incomplete, uncertain and noisy input. Effort estimates may be used as input to project plans, iteration plans, budgets, investment analyses, pricing processes and bidding rounds.[1] [2]

State-of-practice

Published surveys on estimation practice suggest that expert estimation is the dominant strategy when estimating software development effort.[3]

Typically, effort estimates are over-optimistic and there is a strong over-confidence in their accuracy. The mean effort overrun seems to be about 30% and not decreasing over time. For a review of effort estimation error surveys, see.[4] However, the measurement of estimation error is problematic, see Assessing the accuracy of estimates.The strong overconfidence in the accuracy of the effort estimates is illustrated by the finding that, on average, if a software professional is 90% confident or "almost sure" to include the actual effort in a minimum-maximum interval, the observed frequency of including the actual effort is only 60-70%.[5]

Currently the term "effort estimate" is used to denote as different concepts such as most likely use of effort (modal value), the effort that corresponds to a probability of 50% of not exceeding (median), the planned effort, the budgeted effort or the effort used to propose a bid or price to the client. This is believed to be unfortunate, because communication problems may occur and because the concepts serve different goals.[6] [7]

History

Software researchers and practitioners have been addressing the problems of effort estimation for software development projects since at least the 1960s; see, e.g., work by Farr[8] [9] and Nelson.[10]

Most of the research has focused on the construction of formal software effort estimation models. The early models were typically based on regression analysis or mathematically derived from theories from other domains. Since then a high number of model building approaches have been evaluated, such as approaches founded on case-based reasoning, classification and regression trees, simulation, neural networks, Bayesian statistics, lexical analysis of requirement specifications, genetic programming, linear programming, economic production models, soft computing, fuzzy logic modeling, statistical bootstrapping, and combinations of two or more of these models. The perhaps most common estimation methods today are the parametric estimation models COCOMO, SEER-SEM and SLIM. They have their basis in estimation research conducted in the 1970s and 1980s and are since then updated with new calibration data, with the last major release being COCOMO II in the year 2000. The estimation approaches based on functionality-based size measures, e.g., function points, is also based on research conducted in the 1970s and 1980s, but are re-calibrated with modified size measures and different counting approaches, such as the use case points[11] or object points and COSMIC Function Points in the 1990s.

Estimation approaches

There are many ways of categorizing estimation approaches, see for example.[12] [13] The top level categories are the following:

Below are examples of estimation approaches within each category.

Estimation approachCategoryExamples of support of implementation of estimation approach
Analogy-based estimationFormal estimation modelANGEL, Weighted Micro Function Points
WBS-based (bottom up) estimationExpert estimationProject management software, company specific activity templates
Parametric modelsFormal estimation modelCOCOMO, SLIM, SEER-SEM, TruePlanning for Software
Size-based estimation models[15] Formal estimation modelFunction Point Analysis,[16] Use Case Analysis, Use Case Points, SSU (Software Size Unit), Story points-based estimation in Agile software development, Object Points
Group estimationExpert estimationPlanning poker, Wideband delphi
Mechanical combinationCombination-based estimationAverage of an analogy-based and a Work breakdown structure-based effort estimate[17]
Judgmental combinationCombination-based estimationExpert judgment based on estimates from a parametric model and group estimation

Selection of estimation approaches

The evidence on differences in estimation accuracy of different estimation approaches and models suggest that there is no "best approach" and that the relative accuracy of one approach or model in comparison to another depends strongly on the context.[18] This implies that different organizations benefit from different estimation approaches. Findings[19] that may support the selection of estimation approach based on the expected accuracy of an approach include:

The most robust finding, in many forecasting domains, is that combination of estimates from independent sources, preferable applying different approaches, will on average improve the estimation accuracy.[19] [20] [21]

It is important to be aware of the limitations of each traditional approach to measuring software development productivity.[22]

In addition, other factors such as ease of understanding and communicating the results of an approach, ease of use of an approach, and cost of introduction of an approach should be considered in a selection process.

Assessing the accuracy of estimates

The most common measure of the average estimation accuracy is the MMRE (Mean Magnitude of Relative Error), where the MRE of each estimate is defined as:

This measure has been criticized [23] [24] [25] and there are several alternative measures, such as more symmetric measures,[26] Weighted Mean of Quartiles of relative errors (WMQ)[27] and Mean Variation from Estimate (MVFE).[28]

MRE is not reliable if the individual items are skewed. PRED(25) is preferred as a measure of estimation accuracy. PRED(25) measures the percentage of predicted values that are within 25 percent of the actual value.

A high estimation error cannot automatically be interpreted as an indicator of low estimation ability. Alternative, competing or complementing, reasons include low cost control of project, high complexity of development work, and more delivered functionality than originally estimated. A framework for improved use and interpretation of estimation error measurement is included in.[29]

Psychological issues

There are many psychological factors potentially explaining the strong tendency towards over-optimistic effort estimates. These factors are essential to consider even when using formal estimation models, because much of the input to these models is judgment-based. Factors that have been demonstrated to be important are wishful thinking, anchoring, planning fallacy and cognitive dissonance.[30]

Humor

The chronic underestimation of development effort has led to the coinage and popularity of numerous humorous adages, such as ironically referring to a task as a "small matter of programming" (when much effort is likely required), and citing laws about underestimation:

Comparison of development estimation software

SoftwareSchedule estimateCost estimateCost ModelsInputReport Output FormatSupported Programming LanguagesPlatformsCostLicense
AFCAA REVIC[31] REVICKLOC, Scale Factors, Cost Driversproprietary, TextDOSProprietary
/ Free for public distribution
Seer for SoftwareSEER-SEMSLOC, Function points, use cases, bottoms-up, object, featuresproprietary, Excel, Microsoft Project, IBM Rational, Oracle Crystal BallWindows, Any (Web-based)Commercial
SLIM[32] SLIMSize (SLOC, Function points, Use Cases, etc.), constraints (size, duration, effort, staff), scale factors, historical projects, historical trendsproprietary, Excel, Microsoft Project, Microsoft PowerPoint, IBM Rational, text, HTMLWindows, Any (Web-based)[33] Commercial
TruePlanning[34] PRICEComponents, Structures, Activities, Cost drivers, Processes, Functional Software Size (Source Lines of Code (SLOC), Function Points, Use Case Conversion Points (UCCP), Predictive Object Points (POPs) etc.)Excel, CADWindowsCommercial

Notes and References

  1. Web site: What We do and Don't Know about Software Development Effort Estimation.
  2. Web site: Cost Estimating And Assessment Guide GAO-09-3SP Best Practices for developing and managing Capital Program Costs. 2009. US Government Accountability Office.
  3. Jørgensen, M. . A Review of Studies on Expert Estimation of Software Development Effort . Journal of Systems and Software . 70 . 1–2 . 37–60 . 2004 . 10.1016/S0164-1212(02)00156-5 .
  4. Book: Molokken, K. Jorgensen, M. . 2003 International Symposium on Empirical Software Engineering, 2003. ISESE 2003. Proceedings . 223–230 . 10.1109/ISESE.2003.1237981 . 2003 . 978-0-7695-2002-5 . A review of software surveys on software effort estimation . 15471986 .
  5. Jørgensen, M. Teigen, K.H. Ribu, K. . Better sure than safe? Over-confidence in judgement based software development effort prediction intervals . 10.1016/S0164-1212(02)00160-7 . 70 . 1–2 . 2004 . Journal of Systems and Software . 79–93.
  6. Edwards . J.S. Moores . 1994 . A conflict between the use of estimating and planning tools in the management of information systems . . 3 . 2. 139–147 . 10.1057/ejis.1994.14. 62582672 .
  7. Goodwin, P. (1998). Enhancing judgmental sales forecasting: The role of laboratory research. Forecasting with judgment. G. Wright and P. Goodwin. New York, John Wiley & Sons: 91-112. Hi
  8. Web site: Farr, L. Nanus, B. . Factors that affect the cost of computer programming, volume I . https://web.archive.org/web/20170221211529/http://www.dtic.mil/dtic/tr/fulltext/u2/603707.pdf . dead . February 21, 2017 .
  9. Web site: Farr, L. Nanus, B. . Factors that affect the cost of computer programming, volume II . https://web.archive.org/web/20180728134658/http://www.dtic.mil/dtic/tr/fulltext/u2/607546.pdf . dead . July 28, 2018 .
  10. Nelson, E. A. (1966). Management Handbook for the Estimation of Computer Programming Costs. AD-A648750, Systems Development Corp.
  11. Book: Anda, B. Angelvik, E. Ribu, K. . Product Focused Software Process Improvement . Improving Estimation Practices by Applying Use Case Models . Lecture Notes in Computer Science . 10.1007/3-540-36209-6_32 . 2002 . 2559 . 383–397 . 978-3-540-00234-5 . 10.1.1.546.112 . .
  12. Briand, L. C. and Wieczorek, I. (2002). "Resource estimation in software engineering". Encyclopedia of software engineering. J. J. Marcinak. New York, John Wiley & Sons: 1160–1196.
  13. Web site: Jørgensen, M. Shepperd, M. . A Systematic Review of Software Development Cost Estimation Studies .
  14. Web site: Custom Software Development Services – Custom App Development – Oxagile.
  15. Hill Peter (ISBSG) – Estimation Workbook 2 – published by International Software Benchmarking Standards Group ISBSG - Estimation and Benchmarking Resource Centre
  16. Morris Pam — Overview of Function Point Analysis Total Metrics - Function Point Resource Centre
  17. Srinivasa Gopal and Meenakshi D'Souza. 2012. Improving estimation accuracy by using case based reasoning and a combined estimation approach. In Proceedings of the 5th India Software Engineering Conference (ISEC '12). ACM, New York, USA, 75-78.
  18. Shepperd, M. Kadoda, G. . Comparing software prediction techniques using simulation . IEEE Transactions on Software Engineering . 27 . 11 . 1014–1022 . 10.1109/32.965341 . 2001 .
  19. Web site: Jørgensen, M. . Estimation of Software Development Work Effort:Evidence on Expert Judgment and Formal Models .
  20. Winkler, R.L. . Combining forecasts: A philosophical basis and some current issues Manager . 10.1016/0169-2070(89)90018-6 . 5 . 4 . 1989 . International Journal of Forecasting . 605–609.
  21. Blattberg, R.C. Hoch, S.J. . Database Models and Managerial Intuition: 50% Model + 50% Manager . 2632364 . 36 . 8 . 887–899 . 10.1287/mnsc.36.8.887 . Management Science . 1990.
  22. Web site: BlueOptima . Identifying Reliable, Objective Software Development Metrics . 2019-10-29 .
  23. Shepperd, M. Cartwright, M. Kadoda, G. . On Building Prediction Systems for Software Engineers . 10.1023/A:1026582314146 . 5 . 3 . 2000 . Empirical Software Engineering . 175–182. 1293988 .
  24. Web site: Kitchenham, B., Pickard, L.M., MacDonell, S.G. Shepperd . What accuracy statistics really measure .
  25. Foss, T., Stensrud, E., Kitchenham, B., Myrtveit, I. . A Simulation Study of the Model Evaluation Criterion MMRE . IEEE Transactions on Software Engineering . 29 . 11 . 985–995 . 10.1109/TSE.2003.1245300 . 2003 . 10.1.1.101.5792 .
  26. Miyazaki, Y. Terakado, M. Ozaki, K. Nozaki, H. . Robust regression for developing software estimation models . Journal of Systems and Software . 27 . 3–16 . 10.1016/0164-1212(94)90110-4 . 1994 .
  27. Web site: Lo, B. Gao, X. . Assessing Software Cost Estimation Models: criteria for accuracy, consistency and regression .
  28. Hughes, R.T. Cunliffe, A. Young-Martos, F. . Evaluating software development effort model-building techniquesfor application in a real-time telecommunications environment . IEE Proceedings - Software . 145 . 29 . https://web.archive.org/web/20170920055746/http://ieeexplore.ieee.org/document/689296/ . dead . September 20, 2017 . 10.1049/ip-sen:19983370 . 1998 .
  29. Web site: Grimstad, S. Jørgensen, M. . A Framework for the Analysis of Software Cost Estimation Accuracy . 2006 .
  30. Jørgensen, M. Grimstad, S. . How to Avoid Impact from Irrelevant and Misleading Information When Estimating Software Development Effort . IEEE Software . 2008 . 78–83 .
  31. AFCAA Revic 9.2 manual Revic memorial site
  32. Web site: SLIM Suite Overview . Qsm.com . 2019-08-27.
  33. Web site: SLIM-WebServices . Qsm.com . 2019-08-27.
  34. TruePlanning Integrated Cost Models PRICE Systems site