Mod 5
Mod 5
Agenda
Background
Effort estimation
Schedule and resource estimation
Quality Planning
Risk management
Project monitoring plans
Project Planning 2
Software Project
Project Planning 3
Project Failures
Major reasons for project failures
unclear objectives
bad planning
no project management methodology
new technology
insufficient staff
All of these relate to project management
Effective project management is key to
successfully executing a project
Project Planning 4
Why improve PM?
Project Planning 5
Why improve PM ….
Project Planning 7
Project Planning
Basic objective: To create a plan to
meet the commitments of the project,
I.e. create a path that, if followed, will
lead to a successful project
Planning involves defining the LC
process to be followed, estimates,
detailed schedule, plan for quality, etc.
Main output - a project management
plan and the project schedule
Project Planning 8
Key Planning Tasks
Estimate effort
Define project milestones and create a schedule
Define quality objectives and a quality plan
Identify risks and make plans to mitigate them
Define measurement plan, project-tracking
procedures, training plan, team organization, etc.
Project Planning 9
Effort Estimation
Effort Estimation
For a project total cost and duration
has to be committed in start
Requires effort estimation, often in
terms of person-months
Effort estimate is key to planning -
schedule, cost, resources depend on
it
Many problems in project execution
stem from improper estimation
Project Planning 11
Estimation..
Project Planning 13
Effort Estimation Models..
A model tries to determine the effort
estimate from some parameter values
A model also requires input about the
project
So to apply a model, we should be able
to extract properties about the system
Two types of models - top-down and
bottom-up
Project Planning 14
Effort Estimation Models
Knowledge about
SW project
Effort Estimate
Values of some
characteristics
Project Planning 15
Top down estimation
First determines the total effort, then effort for
components
Simple approach – estimate effort from size
and productivity
Get the estimate of the total size of the software
Estimate project productivity using past data and
project characteristics
Obtain the overall effort estimate from productivity
and size estimates
Effort distribution data from similar project are
used to estimate effort for different phases
Project Planning 16
Top-down Estimation
A better method is to have effort
estimate as a function of size using:
Effort = a * size b
E is in person-months, size in KLOC
Incorporates the observation that
productivity can dip with increased size
Constants a and b determined through
regression analysis of past project data
Project Planning 17
COCOMO Model
Project Planning 18
COCOMO..
Initial estimate: a * size b ; some standard
values for a, b given for diff project types
There are 15 cost driver attributes like
reliability, complexity, application
experience, capability, …
Each factor is rated, and for the rating a
multiplication factor is given
Final effort adjustment factor is the
product of the factors for all 15 attributes
Project Planning 19
COCOMO – Some cost drivers
Project Planning 21
Bottom-up Estimation
An alternate approach to top-down
Effort for components and phases
first estimated, then the total
Can use activity based costing - all
activities enumerated and then each
activity estimated separately
Can group activities into classes -
their effort estimate from past data
Project Planning 22
An Estimation Procedure
Identify programs in the system and classify
them as simple, medium, or complex (S/M/C)
Define the average coding effort for S/M/C
Get the total coding effort.
Use the effort distribution in similar projects
to estimate effort for other tasks and total
Refine the estimates based on project
specific factors
Project Planning 23
Scheduling and Staffing
Project Schedule
Project Planning 25
Overall Schedule
Project Planning 26
Overall Scheduling...
Project Planning 28
Manpower Ramp-up
PTS
Project Planning 29
Milestones ...
With manpower ramp-up and effort
distribution, milestones can be decided
Effort distribution and schedule
distribution in phases are different
Generally, the build has larger effort but
not correspondingly large schedule
COCOMO specifies distr of overall sched.
Design – 19%, programming – 62%,
integration – 18%
Project Planning 30
Detailed Scheduling
Project Planning 31
Detailed Scheduling
Detailed schedule not done
completely in the start - it evolves
Can use Microsoft Project for keeping
it
Detailed Schedule is the most live
document for managing the project
Any activity to be done must get
reflected in the detailed schedule
Project Planning 32
Quality Planning
Quality Planning
Project Planning 34
Defect Injection and Removal
Defect Injection
Development
Process
Req.
R Design R Coding R UT IT/ST AT
Analysis
Defect Removal
Project Planning 36
Approaches to Quality
Management
Project Planning 37
Procedural Approach
Project Planning 38
Quantitative Approach
Project Planning 39
Quality Plan
Project Planning 42
Risk Management
Risk: any condition or event whose
occurrence is not certain but which
can cause the project to fail
Aim of risk management: minimize
the effect of risks on a project
Risk management has two basic
aspects
Risk assessment
Risk control
Project Planning 43
Risk Assessment
Project Planning 46
Risk Prioritization ...
Project Planning 48
Risk Control
Project Planning 50
Examples ...
Manpower attrition
Ensure that multiple resources are assigned
on key project areas
Have team building sessions
Rotate jobs among team members
Keep backup resources in the project
Maintain documentation of individual’s work
Follow the CM process and guidelines
strictly
Project Planning 51
Examples ...
Unrealistic schedules
Negotiate for better schedule
Identify parallel tasks
Have resources ready early
Identify areas that can be automated
If the critical path is not within the
schedule, negotiate with the client
Negotiate payment on actual effort
Project Planning 52
Risk Mitigation Plan
Project Planning 53
A Practical Risk Mgmt Approach
Project Planning 54
A risk mgmt plan
Project Planning 58
Project Tracking
Project Planning 59
Tracking…
Activity-level monitoring
Each activity in detailed schd is getting done
Often done daily by managers
A task done marked 100%; tools can
determine status of higher level tasks
Status reports
Generally done weekly to take stock
Summary of activities completed, pending
Issues to be resolved
Project Planning 60
Tracking…
Milestone analysis
A bigger review at milestones
Actual vs estimated for effort and sched
is done
Risks are revisited
Changes to product and their impact
may be analyzed
Cost-schedule milestone graph is
another way of doing this
Project Planning 61
Project Management Plan
The project management plan (PMP)
contains outcome of all planning activities -
focuses on overall project management
Besides PMP, a project schedule is needed
Reflects what activities get done in the project
Microsoft project (MSP) can be used for this
Based on project planning; is essential for day-
to-day management
Project Planning 62
PMP Structure - Example
Project Planning 64
Project Planning - Summary
Project planning forms the foundation of
project management
Key aspects: effort and schedule
estimation, quality planning, risk mgmt., …
Outputs of all can be documented in a
PMP, which carries all relevant info about
project
Besides PMP, a detailed project schedule
maintains tasks to be done in the project
Project Planning 65