applied software project management
DESCRIPTION
Applied Software Project Management. Project Schedules. Definition of a project. A completion of work which must satisfy performance, time, cost, and scope (PCTS) a multiple constraints or requests Precise scope is a must www.standishgroup.com Only 17% software projects meet PCTS - PowerPoint PPT PresentationTRANSCRIPT
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 1
Applied Software Project Management
Project Schedules
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Definition of a project
A completion of work which must satisfy performance, time, cost, and scope
(PCTS) a multiple constraints or requests
Precise scope is a must
www.standishgroup.comOnly 17% software projects meet PCTS 80 billion dollars are wasted on problematic
software project per year
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
C=f(P,T,S)
P = performance
T = time
S= scope
C = costS
PC
T
S
P C
T
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
PTCS
In principle of other discipline, the transformation between P (performance),T(time), C(cost) is trueTo software development, the transformation is not true.If you think you can add more people (more cost) and you can reduce the completion time. That is not true at all in software engineeringIt is the well-known man-month mythic More software engineering efforts , more true the principle
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
What is project planning
Project planning is to answer questionsDo what?How to do it?Who is in charge ( 誰負責)When to finishAt what costWhat kind of performance
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Using the work break down structure (WBS)
A project needs to answer When to completeComplete whatWhat is the cost
The only way to achieve this objective is to break down the work and then estimating
Fact: estimating error is inevitable
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
WBSIn software project, typically we break down the work from project -> subsystem -> modules
When to stop? When a module is not too complicated but also not too detailed?A general rule is: until you can precisely
estimate its cost and time
Have we done a good job?
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 8
What is a project schedule?
The project schedule is a calendar that links the tasks to be done with the resources that will do them.Before a project schedule can be created,
the project manager must have a work breakdown structure (WBS) and estimates.
The schedule is part of the project plan.
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Scheduling Project Work
Grantt chart (bar chart)
1950-1960CPM (Critical Path Method)PERT( Program evaluation and review
techniques) – U.S. NAVY, add probability
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Producing a workable schedule
using critical path method leverage float labor, or resources你必須先找出 critical path 然後才能知道你
有哪些人力,時間,資源,是浮動的,可以調配
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
ES = early start ( 最快開始時間)LS = late start ( 最遲開始時間)EF = early finish ( 最快完成時間)LF = late finish ( 最遲完成時間)DU= duration 作業時間
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
forward pass computationand
backward pass computation
compute ES, EF from the beginning of the network
compute LS, LF from the end to beginning
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
critical task – ES=LS EF = LF
critical path – the path constituted by critical task
floating task – the task has a time bufferzone between EF and LF
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
comments
a reminder: the time in the network is estimated time. Typically, we will loosen the estimated time.
people assigned to tasks in critical path must be very cautious not to delay the whole project
if all the tasks are critical task – allowing no room for adjustments, no flexibility
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
長條圖長條圖
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
分配作業資源 and level resource過渡使用資源案例
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
This constraints makeleveling resourcesimpossible
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Leveling resources
when leveling resources is impossible the only way isget more labor resourceor change C = f (P,T,S)
• time critical leveling– fix time and let software find a possible leveling
• resource critical leveling– fix resource, allow time to be increased
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
資源有效性 (availability)
一般而言人的有效性不會超過 80 %一天工作 8 小時大概只有 6 個小時真的有效20 %花在 PDF
• P : personal 個性• F : fatigue 疲勞• D : delay 延遲,或等候下一步的訊息
80% 的有效性通常指作業員研究顯示,腦力工作的人員比 50 %還低了解參與專案人員的有效性十分重要,否則一定會有大災難
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 27
Scheduling concepts:Effort vs. Duration
Effort represents the work required to perform a task. Effort is measured in person-hours (or person-days, person-
weeks, etc.) It represents the total number of hours that each person
spent working on the task.
Duration is amount of time that elapses between the time the task is started and the time it is completed. Duration is measured in hours (or days, weeks, etc.) It does not take into account the number of people
performing the task
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 28
Scheduling concepts:Slack and Overhead
Slack is the amount of time which any of the tasks can be delayed without causing the due date of the final task in the sequence to be delayed as well. A tight schedule has very little slack; a delay in any task will cause
a delay in the due date Parkinson’s Law: “Work expands so as to fill the time available for
its completion.”Overhead is any effort that does not go to the core activities of the task but is still required in order for the people to perform it—a sort of “real world” cost of actually doing the work. Two people performing a task will require more effort than one
person doing the same task Assigning two people to the task requires more effort, but the task
has a shorter duration
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 29
Building the project schedule
Allocate resourcesFor each task in the WBS, one or more
resources must be assignedChoose person or people for each task
based on qualifications, familiarity and availability
Take overhead into account when calculating the duration of each task
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 30
Building the project schedule
Identify dependenciesA task has a dependency if it involves an
activity, resource or work product which is subsequently required by another task
Tasks may have dependencies because they require the same resource
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 31
Building the project schedule
Identify dependencies (continued) Every dependency has a predecessor, or a task that must
be begun, in progress, or completed, for another task to begin
Identify the type of predecessor for each dependency
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 32
Building the project schedule
Create the scheduleMost project
schedules are represented using a Gantt chart
The Gantt chart shows tasks, dependencies and milestones using different shapes
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 33
Building the project schedule
Reconcile the schedule with the organization’s needsOnce resources are allocated to each task, a final
date can be calculatedIf this date is unacceptable, the project plan must
changeEither additional resources must be allocated to
the project or the scope must be cut downBrooks’ Law: “Nine women cannot have a baby in
one month.”• In other words, some tasks can only be done by one
person, no matter how critical they are.
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 34
Building the project schedule
Add review meetings to the scheduleProgress reviews are meetings held regularly to
check the progress of a project versus it's scheduled progress.
Milestone reviews are meetings which the project manager schedules in advance to coincide with project events.
• The most common way for project managers to handle milestone reviews is to schedule them to occur after the last task in a project phase (such as the end of design or programming).
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 35
Building the project schedule
Step 4: Optimize the schedule The critical path is the sequence of tasks that represent the
minimum time required to complete the project.• If a task is only on the critical path when delaying that task will
delay the project.• Allocating resources to tasks on the critical path will reduce the
project schedule; allocating them to other tasks will have less effect.
A resource is over-allocated if more than 100% allocated to multiple tasks simultaneously
• If any resource is over-allocated, it means that there is a dependency between two tasks which was not discovered.
• When this happens, the schedule is guaranteed to be inaccurate. Find and fix over-allocated resources.
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 36
Don’t abuse buffers
A buffer is a task added to the schedule with no specific purpose except to account for unexpected delays. This practice involves either adding extra tasks or padding existing
tasks at strategic points in the schedule where overruns are “expected”.
Buffers can be useful:• On a year-long project, every programmer will take two weeks of
vacation• Buffers can be used to account for this known delay
Buffers are often abused• The idea that overruns are expected means that there is an implicit
assumption that the estimate is incorrect.• Buffers should not be used to add time to compensate for an inaccurate
estimate.
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 37
Project metrics
The baseline is the version of the schedule that has been approvedThe schedule will change based on the actual
work done by the project team.When the deadline of the revised schedule is later
than that of the baseline, the project has slipped.
Variance is the difference between the estimated effort in the baseline and the actual effort performed by the team.
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 38
Project metrics
Earned value management tracks the project by considering effort “earned” against a budget only after it has actually been performedThe budgeted cost for work scheduled (BCWS) is
the estimated effort of the actual tasks that appear on the schedule to date.
The actual cost of work performed (ACWP) is the effort spent on the tasks in the schedule that have actually been completed by the development team members.
Variance = BCWS – ACWP
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
http://www.stellman-greene.com 39
Project metrics
The cost performance index is used to compare projects with each other or to compare phases within a project CPI is calculated by dividing BCWS / ACWP (budgeted cost for
work scheduled/actual cost for work performed) and multiplying by 100 to express it as a percentage.
A CPI of 100% means that the estimated cost was exactly right and the project came in exactly on budget.
A CPI under 100%, the work cost less effort than planned; a CPI greater than 100% means that the estimate was not adequate for the work involved.
• For example, if the programming tasks took twice as long as estimated but every other type of task in the project took less time than estimated, the total variance for the project might still be low. However, the problem can still be pinpointed by calculating the CPI for each phase of development.
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Real Project Evaluation
When a project is finished, it is important to evaluate the project
If a schedule does not run as planned, the problem could be Programmer’s skill does not meet the expectation PM has problem in create and analyze a WBS
which make schedule impossible to achieveSome real technical difficulties do occurs
http://www.stellman-greene.com 40
Applied Software Project Management
Andrew Stellman & Jennifer Greene
Applied Software Project Management
Dig the truth and story
As a higher-level PM, you just need to dig the story when a schedule does not work as planned.
Be aware that it becomes a 批鬥大會Some of these findings can be collected and improved in your next project.
http://www.stellman-greene.com 41