Upload
praveen-pandey
View
216
Download
0
Embed Size (px)
Citation preview
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
1/37
Project Planning,
Estimation and Post
Mortem Analysis
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
2/37
Project Planning and Estimation
Understand Needs, Objectives, Constraints and Assumptions Identify Conflicting requirements or objectives; Negotiate trade-offs
Make Realistic Commitments on Schedule and Cost Develop Estimates & Options and Negotiate
Tools: Estimation Methods, Critical Path, Critical Chain
Manage Changes to Scope
Obtain necessary sign-offs and acceptances
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
3/37
Estimation
At what stages of the project do you develop estimates?
What all do you estimate?
Which methods or techniques did you use at different stages?##
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
4/37
Estimation is not a one-time
activity
Proposal stage estimate top-down, analogous, parametric Top-down: number of deliverables or programs or features
Analogous: based on similar past project
Parametric: Based on Function Point or UCP or LOC
The degree of error of the Proposal Stage estimate is large
Must validate it with a WBS based Bottom-up Estimate!
Raise early Alert if gap in estimates is significant!! ##
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
5/37
Estimate quality improves with more
info!
TIME
ESTIMATE
ACTUAL
1st 2nd 3rd 4th
A narrow range indicates a
better estimate
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
6/37
Estimation examples
Analogous: It takes 5 minutes to go from SDF 1 to SDF 2; SDF3 is further ahead. So I estimate it will take 10 minutes to gofrom SDF 1 to SDF 3;
Parametric: I can climb at the rate of 1 minute per floor. So itwill take me 10 minutes to reach the 10th floor!!
Beware of scaling problems in parametric estimates!
This will be true for a lift but not for a human being!!
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
7/37
Bottom-up Estimation The PMI
Way From detailed Scope Statement, create the WBS
WBS is a deliverable oriented, hierarchical decomposition
Divides project into smaller, more manageable pieces
Prevents work from slipping thru the cracks
Provides team with the big picture and where their piece fits
Provides a basis for estimating resources, cost and time
WBS How far to decompose? Till you get reasonably accurate estimates!
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
8/37
WBS
Project
Database Application User ManualGUI
Work Package
Design Code Proj MgmtRequirements
Starts with Phase level deliverables
Decompose into smaller components
Lowest level is work package
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
9/37
Project Network Diagrams A project has 7 activities: A, B, C, D, E, F and G. A, B and D can start anytime.
A takes 3 weeks, B takes 5 weeks and D takes 11 weeks. A and B must becompleted before C can start. C takes 6 weeks. B, C and D must becompleted before E can start. E takes 2 weeks. F can start as soon as C iscompleted and requires 4 weeks. E must be completed before G can start. Gtakes 3 weeks. F and G must be completed for the project to be completed.
What activities have slack available?
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
10/37
Project Network Diagram -
Solution
START
A3
B5
D11
C6
E2
F4
G3
END
Which is the Critical Path? Which activities have clack? How much is it?
Why is the Critical Path important for a PM/TL?
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
11/37
Project Network Diagram -
Solution
START
A3
B5
D11
C6
E2
F4
G3
END
PATHS
ACF 13
ACEG 14
BCF 15
BCEG 16
BEG 10
DEG 16
DEG and BCEG are critical paths (length 16) Slack for A=2, F=1
If 2 or more paths are critical, what is the implication?
If additional resources are available, where would you deploy them?
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
12/37
ExerciseGive your effort estimate for the following:
Analysis, Design, Coding and Testing of 1000 LOC in Java;
Make assumptions as necessary, but state them clearly!
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
13/37
Exercise - discussion
What is the variability in estimates of all participants?
What is the difference in estimate for the best-case andworst-case scenarios?
Did you assume average or best resources? Did you factor the risks in the estimate or did you assume
all will go well?
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
14/37
What is 8 times 8?
8? Or 81?What is 8?
64? Are you sure?
So, what is
81 times 81?
Somewhere between 49
and 81! With 64 beingmost likely.
So, what if it is 82 times 82? ...
An estimate is not a single number.Its a range of possibilities - a statistical entity
Understanding Variability in Estimates
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
15/37
Five plus Five equals Thirteen!
Every level of reviewer adds his own safety
The Global Cut by the customer is also built in!
When you add it up, safety must be the majority of the
estimated time for a project!
If this is true, how come so manyprojects have effort / schedule overrun?
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
16/37
Safety
Is there something wrong in the logic that leads us toassume that so much safety exists? Or
Is there something fundamentally wrong in the way weare using that safety?
ConsiderStudent Syndrome
Multi-TaskingDependencies...
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
17/37
STUDENT SYNDROME
Question: If you have 16 days to do a 10 day project,
when do you start?
Immediately! Or,
After 6 days. Or,After 10 days (since you know you are faster
than average and can probably do it in 6 days).
Normal level of effort
AssignedDue Date
StudentSyndrome
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
18/37
I hate Student Syndrome!
Normal level of effort
Assigned Due Date
Self Imposed Overtime
But then, we see many people
slog, day in and day out. They
are under tremendous
pressure
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
19/37
Multi-tasking
When someone is working on four tasks, he is spending 10% ofhis productive time on each task.
That adds up to 40% of his time. Where does the other 60%
go?
That missing 60% goes to ...
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
20/37
That missing 60% goes to:
--breaking concentration on the task A--picking up task B
--organizing materials related to task B
--establishing concentration on task B
--recreating the train of thought that got you to thecurrent point on task B....and so on.
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
21/37
How Safety is Lost? - Multi-tasking
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
22/37
Note how much work is completed in one minute for each step.1. Write numbers starting at 1 incrementing by 2,3,4, etc
2. Write alphabets starting at A skipping next 2,3,4 etc
3. Do Step 1 and 2 together, alternately writing one numberand one alphabet
Exercise on multi-tasking
E l Fi i h l t t
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
23/37
Early Finish almost never gets
reported!
There is little positive incentive to finish ahead of time
If you finish a task earlier than planned, you might beaccused of sandbagging your estimates instead of being
rewarded for completing ahead of scheduleYour future estimates are cut based upon history
The next task may not be ready for an early start
You are not liked by your colleagues who are struggling tomeet their due dates
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
24/37
Dependencies
A delay in one step is passed, in full, to the next step
An advance made in one step is usually wasted
In sequential steps,
deviations do not average out.Delays accumulate,
while advances do not.Safety disappears!
What about
parallel
steps?
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
25/37
Dependencies
Task A
Task B
Task C
Task D
Task E
-5
-5
-5
+15
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
26/37
How Safety is Lost? - Dependencies
In the case of parallel steps, the biggest delay is passedon to the next step
All other early finishes do not count at all! This way, most of the safety put in doesnt help at all
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
27/37
Psychology
ParkinsonsLaw: Work expands to fill (and oftenexceed) the available time
MurphysLaw: If anything can go wrong, it will
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
28/37
How safety is Lost? - Summary
Student Syndrome
Multi-Tasking
Delays accumulate, advances do not
Parkinsons Law
Murphys Law
If we could find away to put the safety
only where its
needed ...
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
29/37
Manage buffers differently
Convert task level buffers into project buffers
Look at the Network Diagram
Move task buffers on the critical path to the end of the path
(called project buffer) Move tasks buffers on a non-critical path to the point where
it meets the critical path (called feed buffers)
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
30/37
Moving Task buffers to Project Buffer
Task buffer
Feed buffer
Project buffer
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
31/37
CCPM Summary Convert task level buffers into project buffers
Encourage reporting of early finishes
Encourage relay-runner work ethic start next task asap
No penalties for task level delays 50% tasks may be delayed No Multi-tasking
More about CCPM Read Critical Chain by Eliyahu Goldratt
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
32/37
Change Management Steps for handling Changes:
Identify and Document the change; Use Change Requestforms
Determine impact on project objectives (positive & negative) Generate Options, Evaluate Options
Negotiate, Negotiate, Negotiate!
Revise the PM plan, and then finally Implement the change
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
33/37
Sign-offs and Acceptance Be aware of the importance of formal sign-offs
Push the customer as much as possible; Escalate if required;
Start Planning for Acceptance Testing early on
Be clear about the Acceptance Criteria Ensure availability of customer resources for UAT
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
34/37
To summarize Planning n
Estimation!
Estimate at relevant stages using multiple tools;
WBS based Bottom-up estimate is the most accurate;
Analyze options and Negotiate with stakeholders; Beware of task level buffers; Use path or project level buffers
Monitor the Critical Path tasks closely;
Dont treat any scope change lightly;
Insist on sign-offs; Develop a joint plan for UAT;
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
35/37
Post Mortem Analysis
As the name suggests, it is about Analyzing the project afterit is over
Gather all the learning's, from mistakes and from new bestpractices
It is time to reflect and learn from the experience
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
36/37
Post Mortem Analysis
Be specific: Discuss the details of the project, includingphases, budget estimates, resource allocation, employeetime, and so on.
Document what went right and what went wrong. Were theproject outcomes better than expected? What problems wereencountered? Did the project take longer or less time thanexpected?
Experimentation: How many risks did you take on thisproject? Did you try out new technology, business processes,
or innovative ideas?
7/31/2019 10 Project Planning, Estimation and Postmortem Analysis
37/37
This was last session of Software Engineering
I enjoyed Teaching you and I look forward to you allbecoming Very Successful in your Professional and
Personal life.
I will be glad to remain in touch with you. You mayconnect with me on Facebook and LinkedIn
Dinesh Anantwar,
[email protected], 9881239632
Bye Bye Keep in touch.