Presentation is loading. Please wait.

Presentation is loading. Please wait.

Project Estimation: Metrics and Measurement. Persons and Months  Calculated Efforts (in pm) of task/project = Number of persons X duration in months.

Similar presentations


Presentation on theme: "Project Estimation: Metrics and Measurement. Persons and Months  Calculated Efforts (in pm) of task/project = Number of persons X duration in months."— Presentation transcript:

1 Project Estimation: Metrics and Measurement

2 Persons and Months  Calculated Efforts (in pm) of task/project = Number of persons X duration in months  The efforts for a task with 2 persons working for 3 months is 3 x 2 = 6 pm  A worker can be full time or part-time  Full-Time Equivalent (FTE) number of workers = Sum (number of part-time x percent) + Number of full time workers  For example: A project with 4 workers at 75%, 3 others at 50%, and 2 full-time. The FTE is: (4X.75)+(3x.5)+2 =6.5 persons

3 The mythical person-month

4 Metrics Guidelines  Use common sense and organizational sensitivity when interpreting metrics data.  Provide regular feedback to the individuals and teams who have worked to collect measures and metrics.  Work with practitioners and teams to set clear goals and metrics that will be used to achieve them.  Don’t use metrics to appraise individuals and never use metrics to threaten individuals or teams.  Metrics data that indicate a problem area should not be considered “negative.” These data are merely an indicator for process improvement.  Don’t obsess on a single metric to the exclusion of other important metrics.

5 Types of Metrics 1.Size oriented metrics: Based on number of lines of code (LOC) to be written. 2.Function oriented metric: Based on number of Function Points (FP) to be completed.

6 Typical Size-Oriented Metrics  errors per KLOC (thousand lines of code)  defects per KLOC  $ per LOC  page of documentation per KLOC  errors / person-month  LOC per person-month  $ / page of documentation

7 Typical Function-Oriented Metrics  errors per FP (thousand lines of code)  defects per FP  $ per FP  pages of documentation per FP  FP per person-month

8 Why FP Measures?

9 Computing Function Points F P = Count-total x Complexity (Count-total =  count x weight, Complexity = ([ x  Fi])

10 Taking Complexity into Account Formula: F P = count-total x [ x  F i ]

11 Exercise Compute the Function Point (FP) value ( F P = count-total x [ x  F i ]): Count Weighting Factor 1. Number of user inputs Number of user outputs Number of inquiries Number of files Number of external interface 5 8 The complexity adjustments values rating (F i ) are: 1. Critical value of performance: 3 2. Heavy operational environment: 3 3. On line: 3 4. Multiple screen operation: 3 5. On-line master files update: 3 6. Complexity of I/O: 3 7. Complexity of internal processing: 4 8. Backup and recovery: 4 9. Data communications: Distributed Processing: Reusable code: Conversion: Multiple installations: Facilitation of changes: 4

12 Function Point Value Exercise 1. Total-count= (10x4+20x5+15x4+3x10+5x8)=  Fi = )= Function Points = 270 x ( x50) =310.5 FPs

13 Cost Estimation

14 Conventional Methods Total Efforts = Estimated efforts required per FP x Size in FPs Or: Total efforts = Estimated efforts required per KLOC x Size in KLOCs KLOC : Thousand Lines of Code

15 Empirical Estimation Models

16 Example: LOC Approach

17 Project Staffing Estimation The unit of measure for project HR efforts is person-months (pm). For a project with two persons who work for one month the total efforts is 2 persons * 1 month = 2 pm. Efforts in pm= number of full time workers * duration in months Number of full-time workers = Efforts/ Duration

18 Empirical Estimation Models General model: E = A + B (ev) c where: A, B, C: empirically derived constant ev: estimated variable of size in terms of KLOC or FP Samples models: E= 5.2 (KLOC).091 (Walston-Felix) E= (KLOC) 1.16 (Bailey-Basili) E=3.2 (KLOC) (Doty) E= FP (Albrech and Gaffney) E= FP (Matson, Barnett, and Mellichamp)

19 COCOMO

20 COCOMO: Basic Model

21 Example: COCOMO

22 COCOMO II Total Efforts in pm = 3.13 x (KLOC) Example: for a software module of 8050 LOCs Total efforts= 3.13 X(8.05) = pm For a cost of $10,000/pm Total cost = $29,280

23 Estimation Guidelines

24 Metric for Software Quality  Correctness  Maintainability  Integrity = Sum [1 - threat x (1- security)]  Usability Number of defects found and removed  Defect Removal Efficiency = Total defects that exist at stage

25 Efforts of a 3 person project is originally estimated at 12 person- months. However, after two months only 40% completed. 1. Compute the remaining efforts in person-months. Let T = total revised efforts Efforts consumed : 3 p x 2 m = 6 pm 6 pm =.40 x T T= 15 pm 2. If you wanted to hire more workers to meet the completion schedule, how many should you hire? Remaining efforts = 15 – 6 = 9 pm for 2 months Number of new hires = (9/2) – 3 = 1.5 (2 rounded) 3. If each new worker only works at 70% capacity and requires training that reduces the productivity of an experienced worker 20%, can the project meet the deadline in the remaining 2 months? FTE = 2 x x x.70 = 4 Full Time workers 4 x 2 = 8 pm Required efforts 9 pm, 1 pm short. Exercise 1

26 Exercise #2 Use the Basic COCOMO model to estimate efforts and duration of an embedded software development project with size of 55 KLOC. 1. How many workers should be hired for this project? Embedded: a=3.6 b=1.2, c= 2.5, d = If the project must be completed within 15 months, how many additional workers should be hired?

27 Solutions 1. How many workers should be hired for this project? Embedded: a=3.6 b=1.2, c= 2.5, d =.32 Efforts= 3.6*(55) 1.2 = pm Duration = 2.5 * (441.3).32 = months Number of workers needed: 441.3/17.54 = If the project must be completed within 15 months, how many additional workers should be hired? Number of workers required for 15 month completion: 441/15=29.4 Additional workers: 29.4 – 25.1 = 4.3 rounded to 5

28 Group Project Meeting

29 Homework 3: Due Sunday PM D2L Dropbox  Efforts of a 5 person project is originally estimated at 40 person-months. However, after 3 months only 30% completed. 1. Compute the remaining efforts in person- months. 2. If you wanted to hire more workers to meet the completion schedule, how many should you hire? 3. If each new worker only works at 70% capacity and requires training that reduces the productivity of an experienced worker 20%, can the project meet the deadline in the remaining 3 months?


Download ppt "Project Estimation: Metrics and Measurement. Persons and Months  Calculated Efforts (in pm) of task/project = Number of persons X duration in months."

Similar presentations


Ads by Google