Planning and Scheduling


Published on

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Planning and Scheduling

  1. 1. Objectives <ul><li>Develop the necessary understanding and skills to produce and manage a simple project schedule. </li></ul>
  2. 2. Scheduling and Planning <ul><li>So far we have a project for which we have estimated duration and effort based on a high level understanding of what needs to be done. </li></ul><ul><li>The majority of projects are 'completed' late, if at all. </li></ul><ul><li>A project schedule is required to ensure that required project commitments are met. </li></ul><ul><li>A schedule is required to track progress toward achieving these commitments. </li></ul>
  3. 3. Why Software Is Delivered Late? <ul><li>An unrealistic deadline </li></ul><ul><li>Changing but unpredicted customer requirements </li></ul><ul><li>Underestimation of efforts needed </li></ul><ul><li>Risks not considered at the project start </li></ul><ul><li>Unforeseen technical difficulties </li></ul><ul><li>Unforeseen human difficulties </li></ul><ul><li>Miscommunication among project staff </li></ul><ul><li>Failure to recognize that project is falling behind schedule </li></ul>
  4. 4. “ One day a time” <ul><li>All technical projects involve 100s of small tasks </li></ul><ul><li>Some tasks do no affect the project completion </li></ul><ul><li>Other tasks are critical for project completion </li></ul><ul><li>Project manager must: </li></ul><ul><ul><li>define all project tasks </li></ul></ul><ul><ul><li>build a network that depicts their interdependence </li></ul></ul><ul><ul><li>identify the critical tasks </li></ul></ul><ul><ul><li>track the progress of these tasks </li></ul></ul><ul><ul><li>recognize the delay “ one day at a time” </li></ul></ul>
  5. 5. Two different Perspectives to view Scheduling End date for completion has been finalized Only Rough time-frame is given
  6. 6. Basic Principles for SE Scheduling <ul><li>Compartmentalization – define distinct tasks </li></ul><ul><li>Interdependency- parallel and sequential tasks </li></ul><ul><li>Time allocation - assigned person days, start time, ending time ) </li></ul><ul><li>Effort validation - be sure resources are available </li></ul><ul><li>Defined responsibilities — people must be assigned </li></ul><ul><li>Defined Outcomes- each task must have an output </li></ul><ul><li>Defined milestones - review for quality </li></ul>
  7. 7. People and Effort “ If we fall behind schedule we can always add more programmers and catch to late in the project” Has a disruptive effect on the project Schedules slip even further
  8. 8. People and Effort The relationship between the number of people working in software project and overall productivity is not linear Fewer people and longer time period is a better option for software development
  9. 9. Effort Distribution Front-end Analysis & Design 40-20-40 Back-end testing Coding
  10. 10. Effort Allocation 40-50% 30-40% <ul><li>“ front end” activities </li></ul><ul><ul><li>customer communication </li></ul></ul><ul><ul><li>analysis </li></ul></ul><ul><ul><li>design </li></ul></ul><ul><ul><li>review and modification </li></ul></ul><ul><li>construction activities </li></ul><ul><ul><li>coding or code generation </li></ul></ul><ul><li>testing and installation </li></ul><ul><ul><li>unit, integration </li></ul></ul><ul><ul><li>white-box, black box </li></ul></ul><ul><ul><li>regression </li></ul></ul>15-20%
  11. 11. Effort Distribution (2-3%) (20-25%) (15 -20%) (20-25%) (30 - 40%) Testing Coding RA SD
  12. 12. Scheduling and Planning <ul><li>In order to make a schedule, the following tasks must be completed: </li></ul><ul><ul><li>Identify manageable activities and tasks by decomposing the process and the product. </li></ul></ul><ul><ul><li>Determine which tasks are dependent on the completion of others. (Which activities must occur in sequence and which can occur concurrently.) </li></ul></ul><ul><ul><li>Allocate each task a number of work-units (often person-days), a start date and a completion date. </li></ul></ul><ul><ul><li>Define responsibilities for the tasks (allocate them to a person or persons). </li></ul></ul><ul><ul><li>Define outcomes of the tasks (deliverables) and milestones for the schedule. </li></ul></ul><ul><ul><li>Review the proposed tasks, their effort allocation and start and end dates with the people involved to ensure there are no conflicts and over allocation. </li></ul></ul>
  13. 13. Identifying Tasks <ul><li>The first step : </li></ul><ul><li>identify the tasks required to be performed. </li></ul><ul><li>These tasks will comprise software engineering activities broken down for product functions. </li></ul><ul><li>A schedule is not a fixed entity and as such it will be refined as a project progresses. </li></ul><ul><ul><li>Initially rough </li></ul></ul><ul><ul><li>a project schedule usually refers to the work tasks, deliverables and milestones for major software engineering activities and major product functions </li></ul></ul><ul><ul><li>is refined in detail </li></ul></ul><ul><ul><li>as the project progresses to refer to specific tasks and activities that must be completed for those major activities and functions. </li></ul></ul>
  14. 14. Selecting Project Tasks <ul><li>No set of tasks is appropriate for all projects. </li></ul><ul><li>The set of tasks that are appropriate for a project depends on a number of factors. These include: </li></ul><ul><ul><li>The process model selected. An iterative development model would require different tasks, etc... than would a waterfall model or rapid application development model. </li></ul></ul><ul><ul><li>The type of project. A new development project has a different set of tasks to a maintenance project or to a concept development. </li></ul></ul><ul><ul><li>The size and complexity of the product. </li></ul></ul><ul><ul><li>The rigor required in development. This is a factor generally determined by things like product size, mission criticality, stability of requirements, etc... </li></ul></ul>
  15. 15. Selecting Project Tasks <ul><li>Many software engineering tasks have deliverables. </li></ul><ul><li>For example, the Software Requirements Specification (SRS) might be the deliverable produced as a result of requirements analysis. </li></ul><ul><li>Milestones are objectively identifiable points in a project. They are generally associated with the completion of a major activity. It is often a good idea to associate them with deliverables. </li></ul><ul><li>For example, a milestone might be established at initial requirements sign-off. This checkpoint will come after the requirements documents have been produced, inspected, corrected and signed off on. The only rule for establishing a checkpoint is that you must be able to objectively determine if that milestone has been reached . </li></ul>
  16. 16. Selecting Project Tasks <ul><ul><li>Milestone = end-point of a specific, distinct software process activity or task (for each milestone a report should be presented to the management) </li></ul></ul><ul><ul><li>Deliverable = project result delivered to the client </li></ul></ul><ul><ul><li>In order to establish milestones the phases of the software process phases need be divided in basic activities/tasks. </li></ul></ul>
  17. 17. Defining Task Sets <ul><li>determine type of project </li></ul><ul><li>assess the degree of rigor required </li></ul><ul><ul><li>identify adaptation criteria </li></ul></ul><ul><ul><li>compute task set selector (TSS) value </li></ul></ul><ul><ul><li>interpret TSS to determine degree of rigor </li></ul></ul><ul><li>select appropriate software engineering tasks </li></ul>
  18. 18. Software Project Types <ul><li>Concept Development projects </li></ul><ul><li>New Application Development Projects </li></ul><ul><li>Application Enhancement Project </li></ul><ul><li>Application Maintenance Project </li></ul><ul><li>Reengineering Project </li></ul>
  19. 19. Degree of Rigor <ul><li>Casual </li></ul><ul><li>Minimum task set is required </li></ul><ul><li>Umbrella tasks are minimized </li></ul><ul><li>Documentation requirements are reduced </li></ul><ul><li>Basic principles of SE are applicable </li></ul><ul><li>Structured </li></ul><ul><li>Framework activities will be applied </li></ul><ul><li>Umbrella tasks are applied </li></ul><ul><li>Documentation and measurement tasks will be done in a streamlines manner </li></ul><ul><li>Strict </li></ul><ul><li>Full process will be applied </li></ul><ul><li>Degree of discipline ensures high quality </li></ul><ul><li>All umbrella activities will be applied </li></ul><ul><li>Robust work products will be produced </li></ul><ul><li>Quick Reaction </li></ul><ul><li>Process framework will be applied </li></ul><ul><li>Only essential tasks will be undertaken </li></ul><ul><li>Documentation will be provided after product delivery </li></ul>
  20. 20. Adaptation Criteria <ul><li>Size of the Project </li></ul><ul><li>Number of potential users </li></ul><ul><li>Mission criticality </li></ul><ul><li>Application Longevity </li></ul><ul><li>Stability requirements </li></ul><ul><li>Ease of communication </li></ul><ul><li>Maturity of technology </li></ul><ul><li>Performance constraints </li></ul><ul><li>Embedded and non-embedded characteristics </li></ul><ul><li>Project staff </li></ul><ul><li>Reengineering factors </li></ul>5 1
  21. 21. Task Set selector <ul><li>Based on adaptation criteria, TSS is computed </li></ul>TSS > 1.2 Strict 1.0 < TSS < 3.0 Casual TSS > 2.4 Structured
  22. 22. Activity Network Diagrams <ul><li>An activity network diagram provides a notation for documenting </li></ul><ul><ul><li>a network of tasks needed to complete a project, </li></ul></ul><ul><ul><li>their interdependencies </li></ul></ul><ul><ul><li>the times required for each task. </li></ul></ul><ul><li>There are a number of activity network techniques which are similar in nature. The most commonly used include PERT (Project Evaluation and Review Technique) and CPM (Critical Path Method). </li></ul>
  23. 23. Pert Chart <ul><li>A simple PERT chart comprises circles (nodes) to represent events within the development lifecycle </li></ul><ul><li>For example commencement / completion of tasks, and lines (edges) which represent the the tasks. The lines are additionally labeled by the estimated duration of the task. </li></ul><ul><li>Note: there are a number of variations to this notation. A real PERT chart shows earliest time to completion, latest time to completion, and slack in the circles also. </li></ul>
  24. 24. How to construct a PERT chart <ul><li>The basic steps to constructing a PERT chart are: </li></ul><ul><ul><li>Identify tasks and estimate duration of times </li></ul></ul><ul><ul><li>Identify a single start and end event </li></ul></ul><ul><ul><li>Arrange events in sequence (give events a unique number) </li></ul></ul><ul><ul><li>Establish start and finish times of each task. Keep in mind the estimates made for duration and effort. </li></ul></ul><ul><ul><li>Determine float </li></ul></ul><ul><ul><li>Revise </li></ul></ul>
  25. 25. Pert Chart <ul><li>As an example of using a PERT chart, consider the following simple chart showing a project with tasks A,B,C,D and E </li></ul><ul><li>This diagram states that tasks A,B,C and E will take 2 days (assume d is abbreviation for days) and task D has a planned duration of 5 days. </li></ul><ul><li>Task D is dependent on completion of task B , etc. </li></ul>1 2 4 5 3 A 2d B 2d C 2d E 2d D 5d
  26. 26. The Critical Path <ul><li>The critical path is the path between the start event and end event which takes the longest time. </li></ul><ul><li>Note that: </li></ul><ul><ul><li>No task on the critical path can take longer without extending the end date of the project. </li></ul></ul><ul><ul><li>Tasks on the critical path are called critical tasks. </li></ul></ul><ul><ul><li>No critical task can have any slack. </li></ul></ul><ul><ul><li>Tasks on the critical path must be carefully monitored . </li></ul></ul>
  27. 27. The Critical Path <ul><li>In the example above the critical path can be described by events 1,3 and 5 or by tasks B,D. </li></ul><ul><li>This is because the time to reach the end event (5) on this path is longer than any other path. This means that task B must take no longer than 2 days and task D no longer than 5 days or the end date for event E will need to be extended. </li></ul><ul><li>The duration of the other path is 6 days. Because the critical path is 7 days, there is slack (or float) of one day on the other path. </li></ul><ul><li>This means that this path can take 1 day longer than planned. </li></ul><ul><li>That is, any one task on this path (A,C or E) can take 1 day longer than expected. Note this slack must be shared between the tasks on this other path. They can not all take an extra day </li></ul>1 2 4 5 3 A 2d B 2d C 2d E 2d D 5d
  28. 28. Project Scheduling Program Evaluation and Review Technique (PERT) Critical Path Method (CPM)
  29. 29. Project Scheduling <ul><li>Both techniques (PERT and CPM) are driven by information already developed in earlier project planning activities: </li></ul><ul><ul><li>Estimates of efforts </li></ul></ul><ul><ul><li>Decomposition of product function </li></ul></ul><ul><ul><li>selection of appropriate process model and task set </li></ul></ul><ul><ul><li>Decomposition of tasks </li></ul></ul>
  30. 30. Project Scheduling <ul><li>Both PERT and CPM provides quantitative tools to </li></ul><ul><ul><li>determine the critical path </li></ul></ul><ul><ul><li>establish the most likely time estimated for individual tasks by applying statistical models </li></ul></ul><ul><ul><li>calculate boundary time (window) for a particular task </li></ul></ul>
  31. 31. Project Scheduling Important boundary times for PERT and CPM Earliest time a task can begin when all preceding tasks are completed in shores possible time Latest time for task initiation before the minimum project completion time is delayed Earliest finish - the sum of the earliest start and the task duration Latest finish - the latest start time added to task duration T otal float - the amount of surplus time allowed in scheduling tasks so that the network critical path is maintained on schedule
  32. 32. Gantt Charts <ul><li>GANTT charts are a project planning tool that can be used to represent the timing of tasks required to complete a project. </li></ul><ul><li>It describes similar information to a PERT chart. </li></ul><ul><li>Here is one that was produced automatically with a project management tool from the PERT chart info above: </li></ul>
  33. 33. Project Table
  34. 34. Tracking the Project Schedule <ul><li>It is a road map for the Software Project </li></ul><ul><li>It defines the tasks and milestones </li></ul><ul><li>Tracking can be done by: </li></ul><ul><ul><li>Conducting periodic project status meetings </li></ul></ul><ul><ul><li>Evaluating the results of all reviews </li></ul></ul><ul><ul><li>Determining whether milestones were reached by the scheduled date </li></ul></ul><ul><ul><li>Compare actual start date to planned start date </li></ul></ul><ul><ul><li>Meeting informally with professionals to get their subjective opinion </li></ul></ul><ul><ul><li>Using earned value analysis </li></ul></ul>
  35. 35. Tracking Earned Value <ul><li>The earned value system provides a common value scale for every task, regardless of the type of work being performed. </li></ul><ul><li>The total hours to do the whole project are estimated, and every task is given an earned value based on its estimated percentage of the total. </li></ul><ul><li>Basically, earned value is useful as it provides a quantitative technique of assessing progress on the project as a whole (even when tasks are completed in an order that differs from the original schedule) </li></ul>
  36. 36. Tracking Earned Value <ul><li>Example </li></ul><ul><li>Consider the following project </li></ul>
  37. 37. Calculating the planned Value <ul><li>The planned value for a task is the estimated percentage of the planned duration of that task of the total planned duration of all tasks. </li></ul><ul><li>Planned ValueT = DT / TD </li></ul><ul><li>where T is a task, DT is the duration of T and TD is the total planned duration of all tasks. </li></ul><ul><li>Applying this formula we calculate the planned value for the planning task from the above table. We have estimated that planning will take 180 minutes. The total duration of all of our estimates for development is 2305 minutes. The planned value for the planning task by the formula above is, therefore, given by </li></ul><ul><li>Planned Value = 180/2305 ~ 7.81% </li></ul>
  38. 38. Calculating the planned Value <ul><li>We write this value in the planned value (unit) column for the planning task. We do the same for all of the tasks in the plan. The total of all of the unit planned values will be 100% if this is done correctly. </li></ul>
  39. 39. Calculating the planned Value <ul><li>We also wish to document when we expect each task to be completed. </li></ul><ul><li>In this example, this has been done by filling in the week number in the planned completion column. </li></ul><ul><li>In order to track progress against this plan, we should have an idea of what percentage complete we expect to be at the end of each week. </li></ul><ul><li>Notice that in the table below (most of) our tasks are listed in order of expected completion (not necessary, but advisable to start with). </li></ul><ul><li> We keep a cumulative total of the planned value in the cumulative planned value column. We can use this column to determine what percentage of the project will be complete by the end of week 3, for example. </li></ul><ul><li>We can see that the sum of all of the planned values for tasks planned to be complete before the end of week 3 is approx. 48.81% (because the tasks are in order, the cumulative planned value for the last week 3 entry gives us this number - if the tasks are listed unordered by completion date, the sum must be calculated by adding the planned values of all tasks due to be completed before the date in question). In the next section, we describe how to use this information to track progress. </li></ul>
  40. 40. Tracking a Project with Earned Value <ul><li>Ok we have reached the end of the second week on this project and we need to know how our progress toward completion on time. </li></ul><ul><li>We haven't done everything in the order in which it was planned, so this may not be easy to guess at. </li></ul><ul><li>We can use the concept of an earned value. </li></ul><ul><li>Earned value is assigned only to completed tasks . </li></ul><ul><li>If I have completed a task with a planned value of p%, then the earned value for that task is p%. Incomplete tasks have no earned value . </li></ul><ul><li>In the example below, compiled at the end of the second week, we see that the group has completed the following tasks with their associated earned value: </li></ul><ul><ul><li>Planning - 7.81% </li></ul></ul><ul><ul><li>Scope - 2.64% </li></ul></ul><ul><ul><li>Product Features - 2.64% </li></ul></ul><ul><ul><li>User Profile - 1.98% </li></ul></ul><ul><ul><li>Assumptions - 2.64% </li></ul></ul><ul><ul><li>UI requirements - 5.21% </li></ul></ul><ul><li>By summing the earned values for the completed tasks we determine that at the end of week 2, the cumulative earned value (the percent complete) is 7.81+2.64+2.64+1.98+2.64+5.21=22.91%. </li></ul><ul><li>Now, knowing the earned value the project group can determine if they are ahead, behind on on schedule to complete on time </li></ul>
  41. 41. Tracking a Project with Earned Value <ul><li>Looking at the cumulative planned value in the table, we see that at the end of week 2 to be on schedule, the group should have been 33.19% complete. </li></ul><ul><li>By the above calculation that they are actually only 22.91% complete, it appears that the project is falling behind schedule. </li></ul>
  42. 42. Tracking a Project with Earned Value <ul><li>Knowing this allows the project team to take action. </li></ul><ul><li>Such action may involve </li></ul><ul><ul><li>adjusting work practices, </li></ul></ul><ul><ul><li>negotiating with the client for an extension to the deadline, </li></ul></ul><ul><ul><li>etc... </li></ul></ul><ul><li>It is argued that earned value provides accurate and reliable readings of performance as early as 15% into a project. This kind of quantitative project management is essential if projects are to be consistently delivered on time. </li></ul>
  43. 43. Tracking the Project Schedule Administer Project Resources Cope with problems Direct Project staff Control
  44. 44. Tracking the Project Schedule Project is on schedule and within budget Problem diagnosed Additional resources focussed on problem area Project Tracking Staff may be redeployed Project Schedule can be redefined
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.