You are on page 1of 71

Instructions

Student Workbook Instructions


The student workbook provides automated support for the Personal Software Process course. The workbook includes worksheets for the calculation-intensive forms and analysis charts and tables required for reports R3, R4, and R5. The workbook includes: Student - a worksheet for the student background survey Summary - a worksheet containing PSP Project Plan Summary forms for each assignment, 1A to 8A SizeEstimate - a worksheet contining a PSP Size Estimating Template for each assignment 3A to 8A PROBE - a worksheet that automates the PROBE method computations TimeLog - a worksheet for recording all time log data DefectLog - a worksheet for recording all defect data R3 - a worksheet that generates the defect analysis tables for the R3 report R4 - a worksheet that generates the defect analysis tables for the R4 and R5 report Pareto - a worksheet that generates pareto distributions of defects by type and by fix time Defect, Plan, Process, and Quality analysis worksheets that include analyses required for the R4 and R5 reports

General Instructions 1. During the planning phase of an assignment, select the assignment number using the project selector on the Summary worksheet. Calculate and enter data in all the highlighted cells containing ????? in the Plan column of the Summary worksheet for that assignment. For assignments 3A through 8A the SizeEstimate worksheet and the PROBE worksheet are used to generate size and time estimates. The SizeEstimate worksheet replaces the PSP Size Estimating worksheet. The planned and actual LOC are entered on this form (e.g. Base LOC, Deleted LOC, Modified LOC, Base Additions, New Object LOC, and Reused LOC). The PROBE worksheet is used to select the estimating method, regression parameters, prediction intervals, and size and time estimates. The estimate is then transferred to the SizeEstimate worksheet. 2. During the development phases, use the time and defect logs to capture actual time and defect data for the assignment, or record this data on paper forms and enter during postmortem. 3. During the postmortem phase of an assignment, calculate and enter data in all the highlighted cells that contain ????? in the Actual, ToDate, or ToDate% columns for the assignment. For assignments 3A to 8A, measure and enter actual LOC on the SizeEstimate worksheet. 4. To print a Summary report, select the assignment with the project selector and print. For assignments 1A to 6A, an extra blank page will be printed. Print page 1 only to avoid printing the blank page. Application Notes: A. Only enter data in highlighted fields containing ?????. B. All other fields contain formulas that are calculated by Excel and are locked to prevent accidental entry. C. If you need to modify a protected cell you may turn cell protection off. D. After your modifications are complete turn cell protection back. E. Excel will request a password when you turn protection on. DO NOT ENTER A PASSWORD.

Page 1

Instructions

F.The Summary worksheet automates many of the PSP calculations, but as new PSP measures appear on the worksheet, they must be calculated and entered manually.

Page 2

Instructions

stuw bk 2004 0615 .v5

Page 3

Instructions

Page 4

PSP Student Background Survey


Student Name Omar Alberto Vzquez Girn Instructor Name(s) Alejandro Montes Moreno 1.0 Which of the following best describes your employment status in the software industry (mark one with an X) Executive Management Senior technical Technical Full-time support Other What is your software experience in: (Please specify for each category, rounded to the nearest year) YRS. 1 In your present organization? 1 In your present position? 3 Your overall software experience? 1 Software requirements? 2 Software design? 2 Code and unit test? 2 Test and integration? 0 Software quality assurance? 0 Configuration management? 0 Software process improvement/quality management? Student # X22

2.0

3.0

About how much of your work-related time have you spent over the past year on each of the following? Please specify an approximate percentage for each, rounded up to the nearest whole number (with no % sign). The categories overlap, so your estimates need not total 100% 50 Software requirements? 40 Software design? 20 Code and unit test? 20 Test and integration? 0 Software quality assurance? 0 Configuration management? 0 Software process improvement/quality management? 0 Other

4.0

What programming languages have you used? (Please mark as many as apply with an X) Ada Basic C C++ Java PASCAL OBJECT PASCAL Visual Basic Visual C++ OTHER How many high level languages do you know well? (Please specify) 4 Number of languages

X X

X X X 4.1

5.0

What language will you use in this course? Ada Basic C C++ Java PASCAL OBJECT PASCAL Visual Basic Visual C++ OTHER Approximately how much code have you written in this language? (please specify, rounded to the nearest 1,000 lines of code, e.g. 10K)
40K

X 5.1

Lines of Code

5.2

Approximately how much code have you written in all languages? (please specify, rounded to the nearest 1,000 lines of code, e.g. 10K)
50K

Lines of Code

5.3

Approximately how much code have you written in the last year? (please specify, rounded to the nearest 1,000 lines of code, e.g. 10K)
5K 3K

Lines of Code - In the language you will be using Lines of Code - In all languages What is the highest degree that you have attained? (please specify) Highest degree

6.0

6.1

What was your major field of study? (please specify) Software Engineering.

6.2

Have you had courses in any of the following subjects? (Please mark all that apply with an X) X Statistics Physical Sciences Software Project Management Formal Software Methods

Project

PSP1.1 Project Plan Summary - Program 4A Student X22-Omar Alberto Vzquez Girn Date 9/10/2011 Program Numerical Integration Program# 4A Instructor Alejandro Montes Moreno Language C# Plan Actual To Date To Date% Summary LOC/Hour 70.7 137.0 87.3 Planned Time 217 629 Actual Time 98 559 CPI (Planned/Actual Time) 1.12 % Reused 0 0 0 % New Reused 17.64 0 0 Program Size (LOC) Base(B) Deleted(D) Modified(M) Added(A) Reused(R) Total N&C (N) Total LOC(T) Total New Reused Total Object LOC(E) Time in Phase (min.) Planning Design Code Compile Test Postmortem Total Defects Injected Planning Design Code Compile Test Total Development Defects Removed Planning Design Code Compile Test Total Development After Development

A copy of the da EstObjLOC Planning Est ### ### ### ### ### ### ### ### ### ### ###

0 0 0 255 0 255 255 45 159.17

0 0 0 224 0 224
224

0 224

0 825 826 0 577

9 27 142 2 26 10 217

6 10 66 2 6 9 98

26 68 374 5 63 31 567

4.6 12.0 65.9 0.9 11.1 5.4 100.0

0 0 1 0 0 1

0 0 3 0 0 3

0.0 0.0 100.0 0.0 0.0 100.0

0 0 0 1 0 1 ????? ?????

0 0 0 3 0 3

0.0 0.0 0.0 100.0 0.0 100.0

Project

Size Estimating Template


Student Instructor BASE PROGRAM LOC BASE SIZE (B) => LOC DELETED (D) => LOC MODIFIED (M) => OBJECT LOC BASE ADDITIONS: Omar Alberto Vzquez Girn Alejandro Montes Moreno Date Program# ESTIMATE 9/10/2011 4A ACTUAL

TYPE

METHODS REL. SIZE

LOC

LOC

(BA) subtotal from page 2 TOTAL BASE ADDITIONS (BA) NEW OBJECTS: TYPE Clase Estadstica Calc Form1 (Formulario de la aplicacin) I/O

0.0 0.0 METHODS REL. SIZE 4 M 7 L

0 0 LOC 78 146

* LOC 45.0 * 114.2

(NO) subtotal from page 2 TOTAL NEW OBJECTS (NO) REUSED OBJECTS

0.0 159.2 LOC LOC

0 224

(R) subtotal from page 2 REUSED TOTAL (R)

0.0 0.0 Size 159.17 0.00 1.60 255.3 255.3 45 0.0 Time

0 0

Estimated Object LOC: Regression Parameter: Regression Parameter: Estimated New and Changed LOC: Estimated Total LOC: Estimated Total New Reuse (sum of * LOC): Estimated Total Developent Time: Prediction Range: Upper Prediction Interval: Lower Prediction Interval:

E = BA+NO+M B0 B1 N = B0 + B1 ` * E T=N+B-D-M+R Time = B0 + B1` * E Range UPI = N + Range LPI = N - Range

0.00 1.36

216.8 0.0

Prediction Interval Percent Method Selected R^2

70% C 0.00

70% C 0.00

Size Estimating Template (continued)


Student Instructor OBJECT LOC BASE ADDITIONS: Omar Alberto Vzquez Girn Alejandro Montes Moreno Date Program# ESTIMATE LOC 9/10/2011 4A ACTUAL LOC

TYPE

METHODS REL. SIZE

SUBTOTAL BASE ADDITIONS (BA) => NEW OBJECTS: TYPE

0.0 METHODS REL. SIZE LOC * LOC

0 *

SUBTOTAL NEW OBJECTS (NO) REUSED OBJECTS

=> LOC

0.0 LOC

SUBTOTAL REUSED (R) =>

0.0

PROBE

PROBE Method Selector Project Estimate (E) Size Method Selector Size Estimate Range B0 B1 R^2 Time Method Selector Time Estimate Range B0 B1 R^2 4 159.17 PROBE Method A

PROBE Method Calculations B C Size 255 0.00 1.60 Time 217 0.00 1.36 D Size 159 0.00 1.00 Time Prog 1 2 3 4 5 6 7 8

Historical Data Est. (N&C) 100 197 255 0 0 0 0 Actual (N&C) 125 123 353 224 0 0 0 0 Actual Est. (E) Min. 64.8 126.4 277.78 98.13 Outliers

255.29 0 0 1.6 0 3 217 0 0 1.36 0

Estimate R-Squared Beta0 Beta1 Range (70%) UPI LPI Variance Std. Deviation

Size Time Size Time #DIV/0! #DIV/0! 264 219 #DIV/0! #DIV/0! 1.00 1.00 #DIV/0! #DIV/0! -114.66 -30.03 #DIV/0! #DIV/0! 2.38 1.56 #ADDIN? #ADDIN? #ADDIN? #ADDIN? #DIV/0! #DIV/0! #ADDIN? #ADDIN? #DIV/0! #DIV/0! #ADDIN? #ADDIN? #ADDIN? #ADDIN? #ADDIN? #ADDIN? #ADDIN? #ADDIN? #ADDIN? #ADDIN?

0.00 0.00

160 159 0 0 0 0

2 3 4 5 6 7 8

Method C Est. vs. Act. Size


400 350 300 250 200 150 100 50 0 80 100 120 140 Est. Size 160 180 200 220 50 Actual Time Actual Size 200 300

Method C Est. Size vs. Act. Time

250

150

100

0 80 100 120 140 Est. Size 160 180 200 220

Page 14

TimeLog

Project 1 DLD

Phase 1 PLAN 1 CODE 1 CODE 1 COMPILE 1 TEST 1 PM 2 PLAN 2 DLD 2 CODE 2 COMPILE 2 TEST 2 PM 3 PLAN 3 DLD 3 CODE 3 COMPILE 3 TEST 3 PM 4 PLAN 4 DLD 4 CODE 4 COMPILE 4 TEST 4 PM

Date 08/15/11 08/15/11 08/15/11 08/16/11 08/16/11 08/16/11 08/16/11 08/28/11 08/28/11 08/28/11 08/28/11 08/28/11 08/28/11 09/04/11 09/04/11 09/04/11 09/04/11 09/04/11 09/04/11 09/10/11 09/10/11 09/10/11 09/10/11 09/10/11 09/10/11

Start 15:04:31 15:12:47 15:18:34 10:20:07 10:52:47 10:53:18 10:58:27 8:17:04 8:23:13 8:31:15 9:57:41 10:00:02 10:19:22 12:16:14 12:30:03 13:17:11 16:09:07 22:02:04 22:36:55 10:26:35 10:32:56 10:43:10 11:49:50 11:51:54 11:58:27

Int.

Stop 15:07:35 15:16:47 15:37:05 10:52:25 10:53:52 10:57:03 11:00:32 8:21:04 8:30:49 9:56:31 9:58:55 10:18:54 10:28:48 12:29:29 13:16:54 16:08:37 16:10:21 22:36:24 22:47:36 10:32:22 10:42:45 11:49:27 11:51:40 11:57:48 12:06:58

Delta 3.1 4.0 18.5 32.3 1.1 3.7 2.1 4.0 7.6 85.3 1.2 18.9 9.4 13.3 46.9 171.4 1.2 34.3 10.7 5.8 9.8 66.3 1.8 5.9 8.5

Comments

Page 15

DefectLog

Project 2 3 4

Date 8/28/2011 9/4/2011 9/10/2011

Num 1 2 3

Type

Injected

Removed COMPILE COMPILE COMPILE

FixTime Fix Ref. 1.0 1.0 1.0

Description Falt un ; en la declaracin de una variable El operador == no se puede aplicar entre operandos del tipo char y Windows.Forms.Keys No se puede convertir implicitamente el tipo string en Windows.Forms.textbox

20 CODE 40 CODE 40 CODE

Page 16

69789368.xls

Defect Densities
Program Number 1 2 3 4 5 6 7 8 Totals New and Changed LOC 125 123 353 224 0 0 0 0 825 Total Defects 0 1 1 1 0 0 0 0 3 Defects per KLOC 0 8 3 4 0 0 0 0 4

Compile and Test Defects


Defects found in Compile defects Defects found in Test defects per compile per KLOC test KLOC 0 1 1 1 0 0 0 0 3 0 8 3 4 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Defect Fix Times


Defects found in Defects found in compiling testing Defects injected in designing Defects injected in coding Total defects injected Tot. fix time Tot. defects Avg. fix time Tot. fix time Tot. defects Avg. fix time Tot. fix time Tot. defects Avg. fix time 0 0 0 0 0 0 Err:504 Err:504 Err:504 0 0 0 0 0 0 Err:504 Err:504 Err:504 Total defects found Err:504 Err:504 Err:504 Err:504 Err:504 Err:504 Err:504 Err:504 Err:504

Page 17

R4

Table D23 Number Injected


Type 10 20 30 40 50 60 70 80 90 100 Total Design 0 0 0 0 0 0 0 0 0 0 0 Code 0 0 0 0 0 0 0 0 0 0 0

Percentage Injected
Design 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% Code 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%

Number Removed
Compile 0 0 0 0 0 0 0 0 0 0 0 Test 0 0 0 0 0 0 0 0 0 0 0

Percentage Removed
Compile 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% Test 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%

Table D24

Defect Type
10 20 30 40 50 60 70 80 90 100 Total

Number of Number of defects through defects found in Compile Compile


0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Percentage of Type found by the Compiler

Page 18

1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

10 20 30 40 50 60 70 80 90 100

0 Defects Removed By Type 10 0 0 20 0 0 30 0 0 40 0 0 50 0 0 60 0 0 70 0 0 80 0 0 90 0 0 100 0

10

20

30

40

50

60

70

80

90

100

Defect Fix Time By Type


1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 10 20 30 40 50 60 70 80 90 100

69789368.xls

Analysis of the defect data for the programs you have written to date. Total defects per KLOC Defects per KLOC injected in design and code Defects per KLOC removed in design review, code review, compile, and test Defect % distribution by phase, injected and removed x-y plot of compile vs. test defects

Total Defects
9 8 7 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 2 3 4 5 6 7 8 9 10 1

Defects Injected in Design

Defects/KLOC

6 5 4 3 2 1 0

Defects/KLOC

Program Number

Program Number

A copy of selected portions of your development data, as entered in your Summary file. Item: EstLOC ActLOC EstMin ActMin EstDef ActDef Time by Phase Planning Design Formulas 1 2 3 4 5 6 7 8 9 10 Totals

Design Review

100 196.78 255.29 0 0 0 0 0 0 552.07

125 123 353 224 0 0 0 0 0 0 825

90 120 202.21 216.78 0 0 0 0 0 0 628.99

64.8 126.4 277.78 98.13 0 0 0 0 0 0 567.12

0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 3

3.07 4 13.25 5.78 0 0 0 0 0 0 26.1

4 7.6 46.85 9.82 0 0 0 0 0 0 68.27

0 0 0 0 0 0 0

Analysis calculations

Page 20

69789368.xls

Total Def Def/KLOC Formulas 1 2 3 4 5 6 7 8 9 10 Totals 0 0 8.13 2.83 4.46 0 0 0 0 0 0 15.43

Def. Inj. in Design Def/KLOC 0 0 0 0 0 0 0 0 0 0 0 0

Def. inj. in Code Def/KLOC 0 0 8.13 2.83 4.46 0 0 0 0 0 0 15.43

Def. rem. in Des. Rev.Def. rem. in CodeRev. Def/KLOC Def/KLOC 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Defect Injection Distribution - % by phase Plng Des Design DLDR Cum. Formulas 0 0 0 1 0 0 0 2 0 0 0 3 0 0 0 4 0 0 0 5 0 0 0 6 0 0 0 7 0 0 0 8 0 0 0 9 0 0 0 10 0 0 0 Total 0 0 0

Des.Rev Cum 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code 0 0 100 100 100 0 0 0 0 0 0 300

Code Cum 0 0 100 100 100 0 0 0 0 0 0 300

CDR 0 0 0 0 0 0 0 0 0 0 0 0

CDR Cum 0 0 100 100 100 0 0 0 0 0 0 300

Defect Removal Distribution - % by phase Planning Design Design Des.Rev Des.Rev Code Cum. Cum Formulas 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 5 0 0 0 0 0 6 0 0 0 0 0 7 0 0 0 0 0 8 0 0 0 0 0 9 0 0 0 0 0 10 0 0 0 0 0 Totals 0 0 0 0 0

Code Cum 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

CDR 0 0 0 0 0 0 0 0 0 0 0 0

CDR Cum 0 0 0 0 0 0 0 0 0 0 0 0

Page 21

69789368.xls

cts Injected in Design


9 8 7

Defects Injected in Code

Defects/KLOC
3 4 5 6 7 8 9 10

6 5 4 3 2 1 0 1 2 3 4 5 6 7 8 9 10

Program Number

Program Number

Code

Code Review

Compile

Test

PM

Defects Injected by Phase Planning Design Design Review 2.08 9.43 10.68 8.52 0 0 0 0 0 0 30.72 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code

Code Review 0 1 1 1 0 0 0 0 0 0 3

50.82 85.27 171.43 66.28 0 0 0 0 0 0 373.8

0 0 0 0 0 0 0

1.08 1.23 1.23 1.83 0 0 0 0 0 0 5.38

3.75 18.87 34.33 5.9 0 0 0 0 0 0 62.85

0 0 0 0 0 0 0

0 0 0 0 0 0 0

Page 22

69789368.xls

Def. rem. in CodeRev.DefRemComp Def/KLOC 0 0 8.13 2.83 4.46 0 0 0 0 0 0 15.43

DefRemTest Def/KLOC 0 0 0 0 0 0 0 0 0 0 0 0

Comp 0 0 0 0 0 0 0 0 0 0 0 0

Comp Cum 0 0 100 100 100 0 0 0 0 0 0 300

Test 0 0 0 0 0 0 0 0 0 0 0 0

Test Cum 0 0 100 100 100 0 0 0 0 0 0 300

Comp 0 0 100 100 100 0 0 0 0 0 0 300

Comp Cum 0 0 100 100 100 0 0 0 0 0 0 300

Test 0 0 0 0 0 0 0 0 0 0 0 0

Test Cum 0 0 100 100 100 0 0 0 0 0 0 300

Page 23

69789368.xls

Defects Removed in Design Review


1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 9 10 1 2 3 4 5 6 7 8 9 10

Defects Removed in C
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 2 3 4 5

Defects/KLOC

Defects/KLOC

Program Number

Program Nu

Compile

Test

Defects Removed by Phase Planning Design Design Review 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code

Code Review 0 0 0 0 0 0 0 0 0 0 0

Compile

Test

0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 3

0 0 0 0 0 0 0 0 0 0 0

Page 24

69789368.xls

Page 25

69789368.xls

Defects Removed in Code Review


9 8 7

Defects Removed in Compile

Defects/KLOC
1 2 3 4 5 6 7 8 9 10

6 5 4 3 2 1 0 1 2 3 4 5 6 7 8 9 10

Program Number

Program Number

Page 26

69789368.xls

Page 27

69789368.xls

Compile
1 0.9 0.8 0.7 0.6 0.4 0.3 0.2 0.1 0 7 8 9 10 1 0.5

Defects Removed in Test


120 100 80

Defect Injec

Defects/KLOC

60 40 20 0

10

ber

Program Number

Program

Page 28

69789368.xls

Page 29

69789368.xls

Defect Injection % by Phase


120 100 80 120 100 80
Code Design

Defect Removal % by Phase

40 20 0 1 2 3 4 5 6 7 8 9 10

60

60 40 20 0 1 2 3 4 5 6 7 8

Test Comp CDR Des.Rev

9 10

Program Number

Program Number

Page 30

69789368.xls

Page 31

69789368.xls

val % by Phase
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 7 8 9 10 0 0

Compile vs. Test Defects

Test Comp CDR Des.Rev

Test Defects/KLOC

umber

Compile Defects/KLOC

Page 32

69789368.xls

Page 33

69789368.xls

Analysis of the time spent developing the programs to date Size and size estimating error Development time and time estimating error Percent of development time spent in planning, postmortem, compile, and test

Actual Size
400 350 300 250 60 100 80

Size Estimating Error

LOC

150 100 50 0 1 2 3 4 5 6 7 8 9 10

200

40 20 0 -20 1 2 3 4 5 6 7

Program Number

Program Number

A copy of selected portions of your development data, as entered in your Summary file. Item: EstLoc ActLoc EstMin ActLoc EstDef ActDef Time by Phase Planning Design Formulas 1 2 3 4 5 6 7 8 9 10 Totals

Design Review

100 196.78 255.29 0 0 0 0 0 0 552.07

125 123 353 224 0 0 0 0 0 0 825

90 120 202.21 216.78 0 0 0 0 0 0 628.99

64.8 126.4 277.78 98.13 0 0 0 0 0 0 567.12

0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 3

3.07 4 13.25 5.78 0 0 0 0 0 0 26.1

4 7.6 46.85 9.82 0 0 0 0 0 0 68.27

0 0 0 0 0 0 0

Analysis calculations

Page 34

69789368.xls

Size Error % Formulas 0 1 #DIV/0! 2 23 3 79.39 4 -12.26 5 0 6 0 7 0 8 0 9 0 10 0 Totals #DIV/0!

Time Hours 0 1.08 2.11 4.63 1.64 0 0 0 0 0 0 9.45

Time Error % 0 -28 5.33 37.37 -54.73 0 0 0 0 0 0 -40.03

Plan Time % 0 4.73 3.16 4.77 5.89 0 0 0 0 0 0 18.56

PM Time % 0 3.22 7.46 3.85 8.68 0 0 0 0 0 0 23.2

Page 35

69789368.xls

ze Estimating Error
5 4.5 4 3.5 3

Actual Development Time

Hours
3 4 5 6 7 8 9 10

2.5 2 1.5 1 0.5 0 1 2 3 4 5 6 7 8 9 10

Program Number

Program Number

Code

Code Review

Compile

Test

PM

Defects Injected by Phase Planning Design Design Review 2.08 9.43 10.68 8.52 0 0 0 0 0 0 30.72 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code

Code Review 0 1 1 1 0 0 0 0 0 0 3

50.82 85.27 171.43 66.28 0 0 0 0 0 0 373.8

0 0 0 0 0 0 0

1.08 1.23 1.23 1.83 0 0 0 0 0 0 5.38

3.75 18.87 34.33 5.9 0 0 0 0 0 0 62.85

0 0 0 0 0 0 0

0 0 0 0 0 0 0

Page 36

69789368.xls

Plan+PM Time % 0 7.95 10.63 8.62 14.57 0 0 0 0 0 0 41.76

Compile Time % 0 1.67 0.98 0.44 1.87 0 0 0 0 0 0 4.96

Test Time % 0 5.79 14.93 12.36 6.01 0 0 0 0 0 0 39.09

Compile+Test Time % 0 7.46 15.9 12.8 7.88 0 0 0 0 0 0 44.04

Page 37

69789368.xls

Time Estimating Error


60 40 20 7 6 5 4

% Planning T

%
1 2 3 4 5 6 7 8 9 10

0 -20 -40 -60

3 2 1 0 1 2 3 4 5

10

Program Number

Program Nu

Compile

Test

Defects Removed by Phase Planning Design Design Review 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code

Code Review 0 0 0 0 0 0 0 0 0 0 0

Compile

Test

0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 3

0 0 0 0 0 0 0 0 0 0 0

Page 38

69789368.xls

Page 39

69789368.xls

% Planning Time
10 9 8 7 6 5 4 3 2 1 0 2 3 4 5 6 7 8 9 10 1 2

% Postmortem Time

10

Program Number

Program Number

Page 40

69789368.xls

Page 41

69789368.xls

ime
16 14 12 10

% Plan + Postmortem Time


2 1.8 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 1 2 3 4 5 6 7 8 9 10 1 2

% Co

6 4 2 0 7 8 9 10

ber

Program Number

Pro

Page 42

69789368.xls

Page 43

69789368.xls

% Compile Time
2 1.8 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 1 2 3 4 5 6 7 8 9 10 16 14 12 10

% Test Time

8 6 4 2 0 1 2 3 4 5 6 7 8 9

Program Number

Program Number

Page 44

69789368.xls

Page 45

69789368.xls

st Time
18 16 14 12 10

% Compile + Test Time

%
5 6 7 8 9 10

8 6 4 2 0 1 2 3 4 5 6 7 8 9 10

am Number

Program Number

Page 46

69789368.xls

Page 47

69789368.xls

Analysis of the quality of the process used for the programs you have written to date. Productivity Comparative x-y plots of productivity, yield, A/FR, and test defects

Productivity
160 160 140 120 140 120 100 80 60 40 20 0 0

Productivity vs. Yield

LOC/Hour

100 80 60 40 20 0 1 2 3 4 5 6 7 8 9 10

Productivity (LOC/Hour)

0.1 0.2 0.3 0.4 0.5 0.6 0.7

Program Number

Yield %

A copy of selected portions of your development data, as entered in your Summary file. Item: EstLoc ActLoc EstMin ActMin EstDef ActDef Time by Phase Planning Design Formulas 1 2 3 4 5 6 7 8 9 10 Totals

Design Review

100 196.78 255.29 0 0 0 0 0 0 552.07

125 123 353 224 0 0 0 0 0 0 825

90 120 202.21 216.78 0 0 0 0 0 0 628.99

64.8 126.4 277.78 98.13 0 0 0 0 0 0 567.12

0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 3

3.07 4 13.25 5.78 0 0 0 0 0 0 26.1

4 7.6 46.85 9.82 0 0 0 0 0 0 68.27

0 0 0 0 0 0 0

Analysis calculations

Page 48

69789368.xls

Yield Early inj. Formulas 1 2 3 4 5 6 7 8 9 10 Totals 0 0 1 1 1 0 0 0 0 0 0 3

Early rem. Yield% 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Cost of Quality Failure Appraisal TotalCOQ A/FR Cost Cost 0 0 0 7.46 0 7.46 15.9 0 15.9 12.8 0 12.8 7.88 0 7.88 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 44.04 0 44.04

0 0 0 0 0 0 0 0 0 0 0 0

Page 49

69789368.xls

roductivity vs. Yield


160 140 120 100 80 60 40 20 0 1 0

Productivity vs. A/FR

0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

Productivity (LOC/Hour)

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

Yield %

Appraisal to Failure Ratio (A/FR)

Code

Code Review

Compile

Test

PM

Defects Injected by Phase Planning Design Design Review 2.08 9.43 10.68 8.52 0 0 0 0 0 0 30.72 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code

Code Review 0 1 1 1 0 0 0 0 0 0 3

50.82 85.27 171.43 66.28 0 0 0 0 0 0 373.8

0 0 0 0 0 0 0

1.08 1.23 1.23 1.83 0 0 0 0 0 0 5.38

3.75 18.87 34.33 5.9 0 0 0 0 0 0 62.85

0 0 0 0 0 0 0

0 0 0 0 0 0 0

Page 50

69789368.xls

DefRemTest Def/KLOC 0 0 0 0 0 0 0 0 0 0 0 0

Productivity LOC/Hour 0 115.74 58.39 76.25 136.96 0 0 0 0 0 0 87.28

Page 51

69789368.xls

Yield vs. A/FR


0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

A/FR vs. Yie


Appraisal to Failure Ratio (A/FR)
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0

.8 0.9

Yield %

0.1 0.2 0.3 0.4 0.5

R)

Appraisal to Failure Ratio (A/FR)

Yield

Compile

Test

Defects Removed by Phase Planning Design Design Review 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code

Code Review 0 0 0 0 0 0 0 0 0 0 0

Compile

Test

0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 3

0 0 0 0 0 0 0 0 0 0 0

Page 52

69789368.xls

Page 53

69789368.xls

A/FR vs. Yield


1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0

Test Defects vs. A/FR

Defects/KLOC

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

Yield

Appraisal to Failure Ratio (A/FR)

Page 54

69789368.xls

Page 55

69789368.xls

A/FR
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0

Test Defects vs. Yield

.6 0.7 0.8 0.9

Defects/KLOC

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

atio (A/FR)

Yield %

Page 56

69789368.xls

Page 57

69789368.xls

Analysis of the quality data for the programs you have written to date. Yield Cost of Quality Appraisal to failure ratio (A/FR) LOC reviewed per hour vs. yield

Defect Removal Yield


1 0.9 0.8 0.7 18 16 14

Failure Cost of Quality

Failure Cost %
1 2 3 4 5 6 7 8 9 10

Yield %

0.6 0.5 0.4 0.3 0.2 0.1 0

12 10 8 6 4 2 0 1 2 3 4 5 6 7

Program Number

Program Number

A copy of selected portions of your development data, as entered in your Summary file. Item: EstLoc ActLoc EstMin ActLoc EstDef ActDef Time by Phase Planning Design Formulas 1 2 3 4 5 6 7 8 9 10 Totals

Design Review

100 196.78 255.29 0 0 0 0 0 0 552.07

125 123 353 224 0 0 0 0 0 0 825

90 120 202.21 216.78 0 0 0 0 0 0 628.99

64.8 126.4 277.78 98.13 0 0 0 0 0 0 567.12

0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 3

3.07 4 13.25 5.78 0 0 0 0 0 0 26.1

4 7.6 46.85 9.82 0 0 0 0 0 0 68.27

0 0 0 0 0 0 0

Analysis calculations

Page 58

69789368.xls

Yield Early inj. Formulas 1 2 3 4 5 6 7 8 9 10 Totals 0 0 1 1 1 0 0 0 0 0 0 3

Early rem. Yield% 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Cost of Quality Failure Appraisal TotalCOQ A/FR Cost Cost 0 0 0 7.46 0 7.46 15.9 0 15.9 12.8 0 12.8 7.88 0 7.88 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 44.04 0 44.04

0 0 0 0 0 0 0 0 0 0 0 0

Page 59

69789368.xls

ilure Cost of Quality


1 0.9 0.8

Apppraisal Cost of Quality

Appraisal Cost %
3 4 5 6 7 8 9 10

0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 2 3 4 5 6 7 8 9 10

Program Number

Program Number

Code

Code Review

Compile

Test

PM

Defects Injected by Phase Planning Design Design Review 2.08 9.43 10.68 8.52 0 0 0 0 0 0 30.72 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code

Code Review 0 1 1 1 0 0 0 0 0 0 3

50.82 85.27 171.43 66.28 0 0 0 0 0 0 373.8

0 0 0 0 0 0 0

1.08 1.23 1.23 1.83 0 0 0 0 0 0 5.38

3.75 18.87 34.33 5.9 0 0 0 0 0 0 62.85

0 0 0 0 0 0 0

0 0 0 0 0 0 0

Page 60

69789368.xls

DefRemTest Def/KLOC 0 0 0 0 0 0 0 0 0 0 0 0

LOC Reviewed/Hour DLDR CDR Both 0 #DIV/0! 0 0 0 0 0 0 0 0 0 #DIV/0! 0 #DIV/0! 0 0 0 0 0 0 0 0 0 #DIV/0! 0 0 0 0 0 0 0 0 0 0 0 0

Review Yield DLDR CDR 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Page 61

69789368.xls

Total Cost of Quality


18 16 1 0.9 0.8 0.7 0.6

Appraisal To Failu

Total Cost of Quality %

14 12

A/FR
1 2 3 4 5 6 7 8 9 10

10 8 6 4 2 0

0.5 0.4 0.3 0.2 0.1 0 1 2 3 4 5

10

Program Number

Program Nu

Compile

Test

Defects Removed by Phase Planning Design Design Review 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Code

Code Review 0 0 0 0 0 0 0 0 0 0 0

Compile

Test

0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 3

0 0 0 0 0 0 0 0 0 0 0

Page 62

69789368.xls

Page 63

69789368.xls

Appraisal To Failure Ratio


1 0.9 0.8 0.7

LOC Reviewed per Hour

LOC/Hour

0.6 0.5 0.4 0.3 0.2 0.1 0

Both CDR DLDR

10

9 10

Program Number

Program Number

Page 64

69789368.xls

Page 65

69789368.xls

Hour

LOC Reviewed per Hour vs. Yield - Design Review


1 0.9 0.8 0.7 0.6

LOC Reviewed per Ho


1 0.9 0.8 0.7 0.6

Yield

0.5 0.4 0.3 0.2 0.1 0 0 2 4 6 8 10 12

Yield

Both CDR DLDR

0.5 0.4 0.3 0.2 0.1 0 0 2

9 10

Design Review LOC/Hour

Code R

Page 66

69789368.xls

Page 67

69789368.xls

LOC Reviewed per Hour vs. Yield - Code Review LOC Reviewed per Hour vs. Yield - Design and Co
1 0.9 0.8 0.7 0.6 1 0.9 0.8 0.7 0.6

Yield

0.5 0.4 0.3 0.2 0.1 0 0 2 4 6 8 10 12

Yield

0.5 0.4 0.3 0.2 0.1 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

Code Review LOC/Hour

Design and Code Review LOC/Hour

Page 68

69789368.xls

Page 69

69789368.xls

Yield - Design and Code Review

0.4 0.5 0.6 0.7 0.8 0.9

de Review LOC/Hour

Page 70

69789368.xls

Page 71

You might also like