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.

Project Management

791 views

Published on

  • Be the first to comment

  • Be the first to like this

Project Management

  1. 1. Software Project Management Manage your people
  2. 2. <ul><li>Software development and maintenance is a complex task: </li></ul><ul><ul><li>Specific details. </li></ul></ul><ul><ul><li>Unexpected circumstances. </li></ul></ul><ul><li>To succeed, manager has to take in mind: </li></ul><ul><ul><li>People </li></ul></ul><ul><ul><li>Process </li></ul></ul><ul><ul><li>Tools </li></ul></ul><ul><ul><li>Measurements </li></ul></ul><ul><li>Discarding any one of the previous 4, will lead to a problem in the project. </li></ul>
  3. 3. <ul><li>Good management of people will lead to a successful project. </li></ul><ul><li>The project team is cultural entity : you improve their skills and culture. </li></ul><ul><li>The project itself is cultural event : you put them in a real circumstances. </li></ul><ul><li>Part of management is improving every team member. </li></ul>
  4. 4. 1.1 Managing project culture <ul><li>Any project begins from an idea from the top managers, users, or any other people. </li></ul><ul><li>The role of manager and the team is to make this idea to be a complete up and running project. </li></ul><ul><li>The role of the manager of the team is to improve the team members, the process and the tools used to build the project. </li></ul>
  5. 5. <ul><li>Every project has its own circumstances and its own culture. </li></ul><ul><li>Project manager has to understand every project culture in order to use people and tools to make a good process to develop the project. </li></ul><ul><li>Steps for that: </li></ul><ul><ul><li>Understand organizational structure. </li></ul></ul><ul><ul><li>Understand each person in the project and his background: to put him in the suitable place in the project. </li></ul></ul><ul><ul><li>Match cultural and engineering roles to people. </li></ul></ul><ul><ul><li>Monitor the whole process </li></ul></ul>
  6. 6. <ul><li>Understand the organizational structure: </li></ul><ul><ul><li>Project culture is influenced by the organizational structure. </li></ul></ul><ul><ul><li>Understanding culture of your organization may involve asking some questions: </li></ul></ul><ul><ul><ul><li>How projects normally proceed in this organization. </li></ul></ul></ul><ul><ul><ul><li>Are project typically successful. </li></ul></ul></ul><ul><ul><ul><li>How do software engineers deal with projects. </li></ul></ul></ul><ul><ul><ul><li>How software engineers deal with schedules, CASE tools, measurements, and other things. </li></ul></ul></ul><ul><ul><ul><li>What difficulties do you face with the four building blocks of software project management. </li></ul></ul></ul>
  7. 7. <ul><li>Understand each team member: </li></ul><ul><ul><li>Team members usually come from different cultures, so you have to understand each one. (different backgrounds, generation and experience). </li></ul></ul><ul><ul><li>To asses these different factors, you have to raise up these questions for every member: </li></ul></ul><ul><ul><ul><li>What type of his educational background. </li></ul></ul></ul><ul><ul><ul><li>How much his experience. </li></ul></ul></ul><ul><ul><ul><li>What is his generation. </li></ul></ul></ul><ul><ul><ul><li>Try to know about his personal life. </li></ul></ul></ul><ul><ul><ul><li>What are the strengths and weakness points of this person. </li></ul></ul></ul>
  8. 8. <ul><li>Determining the previous information of every member in the team, will lead you to make good combinations of those members. </li></ul>
  9. 9. Match roles to people <ul><li>Roles in the project may be determined by project manager, members, or from the progress in the project. </li></ul><ul><li>Typical roles in a project are: </li></ul><ul><ul><li>Requirement engineer: maintains project requirements during the production of the project (documents, clarifications,…etc). </li></ul></ul><ul><ul><li>Lead Designer: evaluates, chooses, documents, clarifies, and maintains product design. </li></ul></ul>
  10. 10. <ul><ul><li>Coder: implements the project and correct errors. </li></ul></ul><ul><ul><li>Quality assurance engineer: measures the quality of the software, determines the level of the quality, by working on the errors in the project. </li></ul></ul><ul><ul><li>Customer liason: maintains the relationships with users of the project. </li></ul></ul><ul><ul><li>Tools expert: installs, troubleshoots, upgrades, and maintains project tools. </li></ul></ul><ul><ul><li>Other: additional roles required by the project. </li></ul></ul>
  11. 11. <ul><li>Project roles can be defined in many ways: </li></ul><ul><ul><li>Team leader: builds and maintains and effective team. </li></ul></ul><ul><ul><li>Development leader: produces a superior product. </li></ul></ul><ul><ul><li>Planning manager: guides the team to produce a plan and tracks progress against the plan. </li></ul></ul><ul><ul><li>Support manager: ensures the project is properly supported and controlled. </li></ul></ul>
  12. 12. Monitor and manage team culture <ul><li>Team cohesion is the first factor in leading teams that influence the productivity. </li></ul><ul><li>To manage project culture you must: </li></ul><ul><ul><li>Make each member role to be clear. </li></ul></ul><ul><ul><li>Understand each person’s personality and try to use that in assigning him a suitable role. </li></ul></ul><ul><ul><li>State and maintain your view of the team. </li></ul></ul><ul><ul><li>Recognize problems that might occur before they impact the team. </li></ul></ul><ul><ul><li>Solve the problems before they impact the project. </li></ul></ul><ul><ul><li>(if an employee has a problem, then the whole company has a problem). </li></ul></ul>
  13. 13. 1.2 Managing Good People <ul><li>Difficult task, because you are dealing with people who are talented. </li></ul><ul><li>You have to balance between authority and respect. </li></ul><ul><li>There are six guidelines you should follow to manage the team: </li></ul><ul><ul><li>Gain visibility without micromanagement. </li></ul></ul><ul><ul><li>Review process and products, not people. </li></ul></ul><ul><ul><li>Coordinate with talented people. </li></ul></ul><ul><ul><li>Use your knowledge, not your position of power. </li></ul></ul><ul><ul><li>Channel people. </li></ul></ul><ul><ul><li>Focus on their and the project’s needs, not your authority as manager. </li></ul></ul>
  14. 14. 1.3 Making Good People Better <ul><li>Deal with team members side by side as you deal with project itself. </li></ul><ul><li>Steps t make good people better: </li></ul><ul><ul><li>Make professional development a project goal. </li></ul></ul><ul><ul><li>Recognize long- and short-term professional development goals. </li></ul></ul><ul><ul><li>Let each team member specify personal improvement goals. </li></ul></ul><ul><ul><li>Have team members track their individual time. </li></ul></ul>
  15. 15. <ul><li>Make a professional development a project goal: </li></ul><ul><ul><li>Professional development of your team includes short-term and long-term goals. </li></ul></ul><ul><ul><li>Short-term goals focuses on skills needed for this project while long-term goals prepare the team for future projects. </li></ul></ul><ul><li>Recognize long- and short-term goals: </li></ul><ul><ul><li>You have to discuss with team members their individual goals for long-term improvement, and then support these goals through the project life cycle. </li></ul></ul><ul><ul><li>For example, when you have not enough time to give a person coding tasks, you have to give this task to an expert person, and try to assign coding for a person who has little experience in an offline times of the project. </li></ul></ul>
  16. 16. <ul><li>Let each team member specify goals: </li></ul><ul><ul><li>You have to review with every member in the team where he and how he can improve his skills. </li></ul></ul><ul><ul><li>This will improve the activity of the member, because you show him that you care about him, and your care is not only for the project. </li></ul></ul><ul><li>Track individual time: </li></ul><ul><ul><li>Team members have to use time to track and assess their effort, in order for them to know where is the part in the project that took times from them. </li></ul></ul><ul><ul><li>You as manager, has to know what are the parts in the project that took a lot of effort. </li></ul></ul><ul><ul><li>A special piece of software could be used to log activities in the project assigned with times needed to accomplish these tasks. </li></ul></ul>
  17. 17. 1.4 Leading good people <ul><li>Leadership is not as management. </li></ul><ul><li>People have to obey manager because of his position. </li></ul><ul><li>Leadership is much more difficult than management. </li></ul><ul><li>Leadership needs more effort, tasks from the leader in order to follow the right track of project production. </li></ul>
  18. 18. <ul><li>Now, combining management with leadership, will be better for both people and project. </li></ul><ul><li>This can be done by 6 steps: </li></ul><ul><ul><li>Be confident in yourself and the team: you can make them do what you need. </li></ul></ul><ul><ul><li>Take responsibility for making mistakes and focus on corrective actions: take and give advices, don’t concentrate on individual mistakes. </li></ul></ul><ul><ul><li>Lead by example. Show the team what do you expect from yourself and from them: don’t leave them working while you are in a rest for launch. </li></ul></ul><ul><ul><li>Work in groups soul, you can’t finish the project by yourself alone. </li></ul></ul><ul><ul><li>Complete all your commitments on time: if you couldn’t, explain why.. </li></ul></ul><ul><ul><li>Don’t mix between friendship and leadership. </li></ul></ul>
  19. 19. Software Project Management Process Implementation
  20. 20. Preface <ul><li>Software Process: is a sequence of tasks intended to produce a high-quality software product on time and within budget. </li></ul><ul><li>Software process shows the team members what they have to do, what they did, why they did, what are the consequences and results. </li></ul>
  21. 21. <ul><li>Depending on the answers of the previous questions, the process can be updated. (quality assurance). </li></ul><ul><li>Processes have to be planed and documented. Just like houses. </li></ul><ul><li>Processes that are not documented, will lead to a different project. </li></ul><ul><li>Process is a property for the company and it must be a secret for that company. </li></ul><ul><li>Software project needs a documented process, that made by all of the members of the team. </li></ul>
  22. 22. <ul><li>Process must be assessed from time to time (quality assurance), by different tools, measures, and different types of inputs. </li></ul>
  23. 23. <ul><li>2.1 Putting a process in place: </li></ul><ul><ul><li>A project must have a process investment, project that has no investments for processes will end up with a thrashing situation. </li></ul></ul><ul><ul><li>When a project proceeds without a well studied process, thrashing will increase and vice versa. </li></ul></ul><ul><ul><li>As project length increases, the project typically must require more hardware, software and requirements changes (so there must be a well prepared process to finish the project on time). </li></ul></ul>
  24. 24. Project Launch effort 100% 0% Project Conclusion Useful Work Thrashing Thrashing when no process is specified
  25. 25. Thrashing with a process Process Investment Useful Work 100% 0% Effort Project Launch Project Completion Thrashing when a Process is specified
  26. 26. <ul><li>Project process must be specified well, specifying it depends on the size of project, numbers of members in team and time period needed to finish the project. (3 people, 3 months, VS 30 people 3 years project). </li></ul>
  27. 27. Useful Work Thrashing without a process 100% 0% 2 People 100 people Thrashing as team size increases when no process is specified
  28. 28. 100 people 2 people 0% 100% Effort Thrashing with a process Useful work Process Investment Thrashing as team size increases when a process is specified
  29. 29. <ul><li>A specified process helps control, manage, and archive all activities occurred during the process (audit trail). </li></ul><ul><li>At the opposite side, team does need a micro specified process that makes the work to be tedious and boring. </li></ul><ul><li>Team needs a specified process that helps them to control the whole project far a way from routines. </li></ul>
  30. 30. <ul><li>Team leader with team members have to specify one of two ways of processes: </li></ul><ul><ul><li>Tailor the organizational process to your project. </li></ul></ul><ul><ul><li>Specify a process for your project (ready well known processes followed by the organization in the past). </li></ul></ul><ul><li>in the first case, you have to be careful when specifying the process, this process must be compatible with organization’s rules. (ISO). </li></ul>
  31. 31. <ul><li>Literature has a great processes that can be followed. </li></ul><ul><li>These processes take in mind many factors such that: </li></ul><ul><ul><li>Requirements volatility (not fixed). </li></ul></ul><ul><ul><li>Risk assessment. </li></ul></ul><ul><ul><li>Scheduling difficulties. </li></ul></ul><ul><ul><li>Product concurrency. </li></ul></ul><ul><li>These ready to use processes took in mind the previous 4 problems that might face any software project. </li></ul>
  32. 32. <ul><li>Following a stage implementation of the product, will lead to more control and great management for the project. </li></ul>Software Concept Requirements Development Architectural Design Stage 1: Detailed Design, Construction and release Stage 2: Detailed Design, Construction and release Stage 3: Detailed Design, Construction and release Software Release Staged Implementation Model
  33. 33. <ul><li>The spiral model in specifying processes focuses on risk assessment and works well where risk, technical changes, or other factors might cancel a project. (figure 2.6 in the text book). </li></ul>
  34. 34. <ul><li>2.1.1 tailoring a process: </li></ul><ul><ul><li>Tailoring requires gathering information, propose changes, integrate feed back on changes, and then settle on a reasonable process specification. </li></ul></ul><ul><ul><li>Steps followed to tailor a process: </li></ul></ul><ul><ul><ul><li>Determine how is your project differs from the typical organizational projects. </li></ul></ul></ul><ul><ul><ul><li>Form two lists: activities your project needs and activities it does not need from the organizational process. </li></ul></ul></ul><ul><ul><ul><li>Process changes to the organizational process. </li></ul></ul></ul><ul><ul><ul><li>Provide the team with the new process for review. </li></ul></ul></ul><ul><ul><ul><li>Integrate the changes to the process. </li></ul></ul></ul>
  35. 35. <ul><li>Determine Project differences: </li></ul><ul><ul><li>Ask some questions to determine how is the new project differs from the organizational projects such as: </li></ul></ul><ul><ul><ul><li>How is the size of team compared with other projects? </li></ul></ul></ul><ul><ul><ul><li>Are the development and target platforms well known within the organization? </li></ul></ul></ul><ul><ul><ul><li>Is the development environment well understood (OS, languages, tools, system configuration,…etc.)? </li></ul></ul></ul><ul><ul><ul><li>How is the schedule compared with other projects (in terms of time, effort and proposed changes) ?. </li></ul></ul></ul><ul><ul><ul><li>Do any contractual requirements differ significantly fro the organizational norm? </li></ul></ul></ul><ul><ul><ul><li>Do the talented and experienced people fit in this project, as they were in previous projects. </li></ul></ul></ul><ul><ul><ul><li>Will external parties influence previous projects? </li></ul></ul></ul>
  36. 36. <ul><li>Make two lists: </li></ul><ul><ul><li>Once you gathered information from the previous step, make two lists: </li></ul></ul><ul><ul><ul><li>Tasks in the process that you don’t need. </li></ul></ul></ul><ul><ul><ul><li>Tasks you need that are not in the process. </li></ul></ul></ul><ul><ul><li>The criteria for selecting items in both lists should depend on : </li></ul></ul><ul><ul><ul><li>What will this task cost in terms of time and resources. </li></ul></ul></ul><ul><ul><ul><li>What benefit will this task provide for the project. </li></ul></ul></ul><ul><ul><li>Study the two lists well, and give explanations for that. </li></ul></ul>
  37. 37. <ul><li>Propose Process Changes: </li></ul><ul><ul><li>Prepare a document that will contain all of the changes that must be applied for all that tasks. </li></ul></ul><ul><ul><li>Make the document readable, understandable, and to the point. </li></ul></ul><ul><li>Circulate the process and gather feedback: </li></ul><ul><ul><li>Don’t do all of the previous steps alone, instead, share your team with that. </li></ul></ul><ul><ul><li>Receive comments from them, and these comments with them. </li></ul></ul>
  38. 38. <ul><li>Integrate changes: </li></ul><ul><ul><li>Integrate the changes in the process. </li></ul></ul><ul><ul><li>Reviewing process must end at some point, it must not be endless job. </li></ul></ul>
  39. 39. <ul><li>2.1.2 Specifying a Process: </li></ul><ul><ul><li>Process must be specified by the following steps: </li></ul></ul><ul><ul><ul><li>Know the goals for specifying the process. </li></ul></ul></ul><ul><ul><ul><li>Specify a format. </li></ul></ul></ul><ul><ul><ul><li>Specify the process from the highest level. </li></ul></ul></ul><ul><ul><ul><li>Include more detail progressively. </li></ul></ul></ul><ul><ul><ul><li>Use team input to the process specification. </li></ul></ul></ul>
  40. 40. <ul><li>Know your goal: </li></ul><ul><ul><li>The goals of process specification should: </li></ul></ul><ul><ul><ul><li>Document a process that will best benefit your project. </li></ul></ul></ul><ul><ul><ul><li>Communicate to your team the tasks needed for project success. </li></ul></ul></ul><ul><ul><ul><li>Establish the coordination, quality, and control mechanisms for this project. </li></ul></ul></ul><ul><ul><ul><li>Explicitly indicate what needs to be completed when. </li></ul></ul></ul>
  41. 41. <ul><li>Specify Format: </li></ul><ul><ul><li>Process specifications can take several forms. </li></ul></ul><ul><ul><li>Layered process diagram supports abstraction, encapsulation, and maintenance activities such as adding, deleting, and changing tasks. </li></ul></ul>
  42. 43. <ul><li>Specify from the highest level first: </li></ul><ul><ul><li>Begin with the levels of the highest abstraction. </li></ul></ul><ul><ul><li>Layered process </li></ul></ul><ul><li>Include more detail progressively: </li></ul><ul><ul><li>Move from the highest to the lowest. </li></ul></ul><ul><ul><li>Level of details must be specified. </li></ul></ul><ul><ul><li>Moving from the top most level to the lowest, will make adding new tasks, changing current tasks, deleting unnecessary ones, to be easier and more controlled. </li></ul></ul>
  43. 44. <ul><li>Use team input: </li></ul><ul><ul><li>Team members have their own notes about the steps of the process, taking their opinions will enrich the process. </li></ul></ul>
  44. 45. Software Project Management Sketch your schedule
  45. 46. <ul><li>Obviously, a schedule communicates the length of time a team has to complete a project. </li></ul><ul><li>It also advertises to stakeholders and others what the team has done, is doing, and plans on doing in the future. </li></ul><ul><li>A schedule supports visibility into project progress, risk assessment, identification of critical events, and rescheduling. </li></ul>
  46. 47. <ul><li>Unfortunately, schedules are rarely accurate for long periods of time. </li></ul><ul><li>As software projects progress your schedule will become out of date and incorrect. </li></ul><ul><li>This doesn't mean you are a poor scheduler; it only means you need to update your schedule. </li></ul><ul><li>Iterative and staged development processes specifically assume schedules are incorrect and attempt to solve this problem by scheduling only a limited distance into the future. </li></ul>
  47. 48. <ul><li>Your first task is size estimation. How big is this project? From this number, estimate how long it will take to complete the project. </li></ul><ul><li>This book introduces the function point method for size estimation and the COCOMO model for effort and schedule estimation. </li></ul><ul><li>Many if not most software projects have immovable milestones in their schedules before the project is even launched. </li></ul>
  48. 49. <ul><li>Immovable milestones force you to estimate how much of the project your team can complete by the milestone date. </li></ul><ul><li>Once you have this estimate, you need to schedule the tasks required to meet this deadline. </li></ul>
  49. 50. <ul><li>7.1 Estimating Project Size and Effort: </li></ul><ul><li>You can estimate project size and effort in several ways. </li></ul><ul><li>One method that has been around for more than twenty years is the function point method </li></ul><ul><li>One of its most beneficial aspects is that you can tailor it to your organization. </li></ul><ul><li>you can tailor the basic COCOMO model and COCOMO II to your organization as well. </li></ul>
  50. 51. <ul><li>To use these models, follow the following steps: </li></ul><ul><ul><li>Estimate the Adjusted and Unadjusted Function Points: </li></ul></ul><ul><ul><ul><li>The function point method can be used to estimate the source lines of code (SLOC) your software product will require. </li></ul></ul></ul>
  51. 52. <ul><ul><li>Estimate the Schedule Length and Effort: </li></ul></ul><ul><ul><ul><li>The SLOC estimate produced by the function point method can be used by the COCOMO model to estimate the effort and schedule length needed to produce your software. </li></ul></ul></ul>
  52. 53. <ul><ul><li>Adjust the Estimates as the Project Progresses: </li></ul></ul><ul><ul><ul><li>Will be covered later. </li></ul></ul></ul><ul><li>7.1.1 Function Points: </li></ul><ul><li>Function points are a way to quantify the amount of functionality of a software product based on its requirements. </li></ul><ul><li>The basic idea of function points is to count the complexity of the software's interface with the outside world and the complexity of its internal data storage. </li></ul>
  53. 54. <ul><li>To count function points, the following types of information must be collected for a software system: </li></ul><ul><ul><li>User inputs—The total number of user inputs and their complexity. In practice this would not mean counting every input on a dialog box but rather counting the dialog box as an input and classifying it as simple, average, or complex based on the number of input items and their interaction. </li></ul></ul>
  54. 55. <ul><ul><li>User outputs—The total number of user outputs and their complexity. This does not mean counting every output on a report or interface screen but rather counting each report or screen once and classifying it as simple, average, or complex based on the number of output items and their relationships. </li></ul></ul>
  55. 56. <ul><ul><li>User inquiries—The total number of user inputs that generate a software response, such as a word count, search result, or software status. Again, each inquiry is counted once and classified as simple, average, or complex. </li></ul></ul><ul><ul><li>Files—The total number of external files or internal file structures (internal databases, large complex data structures, etc.) created and used dynamically by the system, each of which is classified as simple, average, or complex. </li></ul></ul>
  56. 57. <ul><ul><li>External interfaces—The total number of external files (data connections, databases, etc.) that connect this software to an external hardware or software system. For example, if the software communicates to a device over a communications port, this would be an external Interface. </li></ul></ul><ul><li>To put this method to work, count items in each category and then classify them based on consistent criteria. </li></ul><ul><li>Once you have the function points counted, you can easily total them using the Software Cost Modeling System. Simply enter your counts into the dialog box. COSMOS will provide you with the total unadjusted function points. </li></ul>
  57. 59. <ul><li>You can then adjust your function point count by a set of complexity factors. The complexity factors are: </li></ul><ul><ul><li>Data communications—The degree to which communication facilities are required for the application. </li></ul></ul><ul><ul><li>Distributed functions—The existence of distributed functions in the application. </li></ul></ul><ul><ul><li>Performance—The degree to which performance is a critical issue. </li></ul></ul><ul><ul><li>Heavily used configuration—The installation of the application on current equipment that is heavily used. </li></ul></ul>
  58. 60. <ul><ul><li>Transaction rate—The measurement of the transaction rate. </li></ul></ul><ul><ul><li>On-line data entry—The complexity of on-line data transactions, giving consideration to the number of screens and functions. </li></ul></ul><ul><ul><li>End-user efficiency—The degree to which on-line functions promote end user efficiency. </li></ul></ul><ul><ul><li>On-line update—The use of on-line updates to master files. </li></ul></ul><ul><ul><li>Complex processing—The amount of complex processing. Complex processing may have many control interactions and decision points, a significant number of logical and mathematical equations, or extensive exception processing. </li></ul></ul>
  59. 61. <ul><li>Reusability—The evaluation of code in terms of reusability. </li></ul><ul><li>Installation ease—The degree of ease with which the application is installed. </li></ul><ul><li>Operational ease—The proficiency of the application's general operations, such as startup, backup, recovery, and shutdown. </li></ul><ul><li>Multiple sites—The number of installations of the application across diverse organizations or sites. </li></ul><ul><li>Facilitate change—The appraisal (assessment) of the application in terms of how easily it accommodates user modifications, such as providing a flexible query facility or functions for setting and maintaining user defined parameters. </li></ul>
  60. 62. <ul><li>Once you have the function points and complexity factors, choose your development language from the list of available languages to determine the SLOC estimate. </li></ul><ul><li>COSMOS allows you to adjust these counts for your particular organization, which you should consider during project assessment. </li></ul>
  61. 63. <ul><li>The function point method is not perfect, Two people may arrive at different estimates. </li></ul><ul><li>In practice, though, this can be a good thing because each person may have considered factors the other did not, or put different emphases on different factors. </li></ul><ul><li>An excellent way to get more accurate estimates is to have two or more people count and adjust function points separately, then meet and resolve the differences to form a single estimate. </li></ul>
  62. 65. <ul><li>7.1.2 COCOMO I </li></ul><ul><li>The COCOMO I model requires as input a product SLOC estimate. Using this estimate, COCOMO I produces an estimate of the effort and schedule length for a project. </li></ul><ul><li>Much like the function point method, the more sophisticated Intermediate COCOMO I model uses additional inputs unique to your project to adjust this basic estimate. </li></ul>
  63. 66. <ul><li>COCOMO I actually contains models for three types of projects: </li></ul><ul><li>1. Organic-Relatively small projects from stable, familiar, forgiving, and relatively unconstrained environments </li></ul><ul><li>2. Semidetached-intermediate-sized projects from less stable, less familiar, less forgiving environments with some rigid constraints </li></ul><ul><li>3. Embedded-Ambitious intermediate or large projects from unfamiliar,unforgiving, and tightly constrained environments </li></ul>
  64. 67. <ul><li>You need to classify your project into one of these types in order to use the correct estimation formula. </li></ul><ul><li>The COCOMO I model estimates effort and schedule for each of these types of projects with slightly different formulas. The formulas (where KSLOC is one thousand SLOC) are: </li></ul><ul><li>Organic - Effort = 2.4 (KSLOC) 1.05 ; Schedule length = 2.5 (Effort) 0.38 </li></ul><ul><li>Semidetached - Effort = 3.0 (KSLOC) 1.12 ; Schedule length = 2.5 (Effort) 0-35 </li></ul><ul><li>Embedded - Effort = 3.6 (KSLOC) 1.2 ; Schedule length = 2.5 (Effort) 0.32 </li></ul>
  65. 68. <ul><li>You can immediately see that these formulas are amenable to adjustment to fit your organization if you change the constants and exponents to better fit your historical data. </li></ul><ul><li>For example, if your organization can complete organic projects with less effort than the standard effort formula, adjust the 1.05 exponent in the effort equation to 1.03. This would reduce a 100.000 SLOC project from 300 person-months (2.4 * (100) 1.05 ) to 273.6 person-months (2.4 * (100) 1.03 ). </li></ul>
  66. 69. <ul><li>If your organization can complete an organic project faster than the standard schedule length, adjust the 0.38 exponent in the schedule length equation to 0.36. This reduces the project length on a 100.000 SLOC project requiring 300 person-months from 21.8 months (2.5 (300) 0.38 ) to 19.4 months (2.5 (100) 0.36 ). </li></ul>
  67. 70. <ul><li>The Intermediate COCOMO I model adjusts the output of these formulas based on specific cost drivers. These cost drivers fall into four categories: </li></ul><ul><li>Personnel </li></ul><ul><li>Analyst capability—The percentile ranking of the analyst's aptitude </li></ul><ul><li>Software engineer capability—The percentile ranking of the programmer's aptitude </li></ul><ul><li>Application experience—The number of years of staff background knowledge regarding the application </li></ul><ul><li>Programming language experience—The number of years of staff experience with the language </li></ul><ul><li>Virtual machine experience—The number of years of staff experience with the operating system and hardware </li></ul>
  68. 71. <ul><li>Hardware </li></ul><ul><li>Time—The measurement of time required for user feedback </li></ul><ul><li>Run-time performance constraints—The measurement of use of available execution time </li></ul><ul><li>Memory constraints—The measurement of use of available storage space </li></ul><ul><li>Virtual machine volatility—The amount the application's environment, such as the operating system and hardware, changes over time </li></ul><ul><li>Required turnaround time—The measurement of time required for user feedback </li></ul>
  69. 72. <ul><li>Product </li></ul><ul><li>Required software reliability—The degree to which software errors can be tolerated. The range for poor reliability can be from slight inconvenience to risk to human life. </li></ul><ul><li>Size of application database—The ratio of the data storage to the program size </li></ul><ul><li>Complexity of product—The degree of complexity in the application functions. Simple functions have simple expressions in the computational operations, very little nesting in the control operations, and data management operations that consist of simple arrays in main memory. Complex functions have highly nested control operations, difficult mathematical computations, dynamic data relationships in the data storage, and microcoding for device-dependent operations </li></ul>
  70. 73. <ul><li>Project </li></ul><ul><li>Use of software tools—The richness in features of the tools being used for development. Tools can be very basic and require additional manual involvement or quite comprehensive with auto­mated design, documentation, and coding components. </li></ul><ul><li>Application of software engineering methods—The degree of commitment of the staff to using software engineering methods </li></ul><ul><li>Required development schedule—The significance of the project delivery date, a high rating means that early delivery is very desirable or needed. </li></ul>
  71. 74. <ul><li>You will need to rate each of these cost drivers on a scale from very low to nominal to very high. </li></ul><ul><li>Each cost driver influences the COCOMO I estimate but not in the same way. </li></ul><ul><li>For example, if you rated software engineer capability very high the estimate would be reduced, which makes sense: If the team of software engineers is very capable they can complete the project in a shorter period of time. </li></ul>
  72. 77. <ul><li>Once you have used the function point method and the COCOMOI model to estimate product size, effort, and schedule length, you have some idea of what kind of project you are faced with. </li></ul><ul><li>If your estimates far exceed the schedule you were given, now is the time to sound the alarm. </li></ul><ul><li>Accepting an impossible schedule dooms you and the team to failure. </li></ul>
  73. 78. <ul><li>Even if you can't change the schedule, make sure you go on record as having used accepted estimation methods to point out the significant risk of tailing to meet it. </li></ul>

×