Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Agile Estimating

5,019 views

Published on

Published in: Business, Technology, Sports

Agile Estimating

  1. 1. Mike CohnNorwegian Developer’s Conference6 June 2012Agile Estimating1
  2. 2. © Copyright Mountain Goat Software®AgendaWhat is agile planning?Story pointsIdeal timeEstimating with Planning Poker2
  3. 3. © Copyright Mountain Goat Software®Iteration BacklogCode the UI 12Write tests 8Code middle tier 4Update docs 6Automate tests 5As a user…Product BacklogAs a user…As a user…As a user…As a user…35522We’re talkingabout theseright now3
  4. 4. © Copyright Mountain Goat Software®…to drive toParis?…to read thelast Harry Potterbook?How long will it take…4
  5. 5. © Copyright Mountain Goat Software®Size Calculation Duration300kilogramsVelocity=20300/20 = 15iterationsEstimate size; derive duration5
  6. 6. © Copyright Mountain Goat Software®Measures of sizeTraditionalmeasuresof sizeLines of CodeFunction PointsAgilemeasuresof sizeStory pointsIdeal days6
  7. 7. © Copyright Mountain Goat Software®Story pointsHow long a user story will take (effort)Influenced by complexity, uncertainty, risk,volume of work, etc.Relative values are what is important:A login screen is a 2.A search feature is an 8.Basic math properties should hold5+5 = 107
  8. 8. © Copyright Mountain Goat Software®Estimating in zoo pointsLionKangarooRhinocerosBearGiraffeGorillaHippopotamusTiger8
  9. 9. © Copyright Mountain Goat Software®AgendaWhat is agile planning?Story pointsIdeal timeEstimating with Planning Poker9
  10. 10. © Copyright Mountain Goat Software®Ideal TimeHow long somethingwill take if:it’s all you work onno one interrupts youand everything youneed is available10
  11. 11. © Copyright Mountain Goat Software®Elapsed time vs. ideal timeMonday has 8 hoursEach week has 40hoursIdeallyEach day has something like:2 hours of meetings2 hours of email4 hours left for the projectBut instead“How long will thistake?”•Are you answeringwhat is beingasked?11
  12. 12. © Copyright Mountain Goat Software®Story points are additive; time-basedestimates may not be1Story points help avoid problemswith unit confusion2Two big advantages to story points12
  13. 13. © Copyright Mountain Goat Software®Confusing unitsIteration BacklogCode the UI 12Write tests 8Code middle tier 4Update docs 6Automate tests 5As a user…Product BacklogAs a user…As a user…As a user…As a user…305050202013
  14. 14. © Copyright Mountain Goat Software®AgendaWhat is agile planning?Story pointsIdeal timeEstimating with Planning Poker14
  15. 15. © Copyright Mountain Goat Software®Planning Poker®An iterative approach to estimatingStepsEach estimator is given a deck of cards, each card hasa valid estimate written on itCustomer/Product owner reads a story and it’sdiscussed brieflyEach estimator selects a card that’s his or her estimateCards are turned at the same timeDiscuss differences (especially outliers)Re-estimate until estimates converge15
  16. 16. © Copyright Mountain Goat Software®Estimator Round 1Trond 5Ana 5Maria 8Johannes 20Round 288813Planning Poker®–an example16
  17. 17. © Copyright Mountain Goat Software®Product Backlog Items EstimateRead (and understand) a high-level, 10-page overview of agilesoftware development in a celebrity news magazine.Read (and understand) a densely written 5-page research paperabout agile software development in an academic journal.Your uncle owns a clock store and wants to sell clocks over theinternet. Write a basic product backlog for him covering whathe’ll need his website to do.Recruit, interview, and hire a new member for your team.Create a 60-minute presentation about agile softwaredevelopment for your coworkers.Wash and wax your boss’ Porsche.Read (and understand) a 150-page book on agile softwaredevelopment.Write a 5-page summary of this conference for your boss.Estimate these17
  18. 18. © Copyright Mountain Goat Software®Free, or Iwouldn’tmention itwww.PlanningPoker.com18
  19. 19. © Copyright Mountain Goat Software®mike@mountaingoatsoftware.comwww.mountaingoatsoftware.comtwitter: mikewcohn(888) 61-AGILEMike Cohn19

×