0% found this document useful (0 votes)
34 views58 pages

Student Workbook Instructions: Application Notes

The student workbook provides automated support for calculating forms, charts, and tables required for reports in a Personal Software Process course. The workbook contains worksheets to record student background data, project plans, size and time estimates, time logs, defect logs, and analyses for reports. Students enter actual data during and after assignments, and the workbook automatically generates analyses and can print reports. Instructions describe how to use the workbook for planning, tracking, and reporting on assignments.

Uploaded by

CHEMA ska
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views58 pages

Student Workbook Instructions: Application Notes

The student workbook provides automated support for calculating forms, charts, and tables required for reports in a Personal Software Process course. The workbook contains worksheets to record student background data, project plans, size and time estimates, time logs, defect logs, and analyses for reports. Students enter actual data during and after assignments, and the workbook automatically generates analyses and can print reports. Instructions describe how to use the workbook for planning, tracking, and reporting on assignments.

Uploaded by

CHEMA ska
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 58

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 10A
SizeEstimate - a worksheet contining a PSP Size Estimating Template for each assignment 4A to 10A
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 4A through 10A 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 4A to 10A,
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.

Page 1
Instructions

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.
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

20040
stuwb

319
k

Page 3
PSP Student Background Survey
Student Name Student #
José María Febronio Manuel
Instructor Name(s)
María Dolores Juárez

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
X Other

2.0 What is your software experience in: (Please specify for each category, rounded to
the nearest year)
YRS.
In your present organization?
In your present position?
Your overall software experience?
Software requirements?
Software design?
Code and unit test?
Test and integration?
Software quality assurance?
Configuration management?
Software process improvement/quality management?

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%

Software requirements?
Software design?
Code and unit test?
Test and integration?
Software quality assurance?
Configuration management?
Software process improvement/quality management?
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

4.1 How many high level languages do you know well? (Please specify)

Number of languages

5.0 What language will you use in this course?

Ada
Basic
C
C++
Java
PASCAL
OBJECT PASCAL
Visual Basic
Visual C++
OTHER

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

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)

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)

Lines of Code - In the language you will be using


Lines of Code - In all languages

6.0 What is the highest degree that you have attained? (please specify)

Highest degree
6.1 What was your major field of study? (please specify)

6.2 Have you had courses in any of the following subjects? (Please mark all that apply
with an X)

Statistics
Physical Sciences
Software Project Management
Formal Software Methods
Project
PSP0.1 Project Plan Summary - Program 2A EstObjLOC
Planning
Student -José María Febronio Manuel Date 2/6/2018 Est
Program LOC Counter Program# 2A
Instructor María Dolores Juárez Language Java ###
###
Plan Actual To Date To Date% ###
Program Size (LOC) ###
Base(B) 50 ###
Deleted(D) 8 ###
Modified(M) 10 ###
Added(A) 120 ###
Reused(R) 32 32 ###
Total N&C (N) 500 130 130 ###
Total LOC(T) 162 162 ###
Total New Reused 75 75

Time in Phase (min.)


Planning 20 13 23 3.7
Design 35 14 29 4.7
Code 80 426 517 83.8
Compile 20 0 0 0.0
Test 10 38 48 7.7
Postmortem 15 0 0 0.0
Total 180 491 617 100.0

Defects Injected
Planning 0 0 0.0
Design 0 0 0.0
Code 8 8 88.9
Compile 0 0 0.0
Test 1 1 11.1
Total Development 9 9 100.0

Defects Removed
Planning 0 0 0.0
Design 0 0 0.0
Code 8 8 88.9
Compile 0 0 0.0
Test 1 1 11.1
Total Development 9 9 100.0
After Development ????? ?????
Project
Size Estimating Template
Student José María Febronio Manuel Date ?????
Instructor María Dolores Juárez Program# 4A

BASE PROGRAM LOC ESTIMATE ACTUAL


BASE SIZE (B) =>
LOC DELETED (D) =>
LOC MODIFIED (M) =>
OBJECT LOC
BASE ADDITIONS: TYPE METHODS REL. SIZE LOC LOC

(BA) subtotal from page 2 0.0 0


TOTAL BASE ADDITIONS (BA) 0.0 0
NEW OBJECTS: TYPE METHODS REL. SIZE LOC * LOC *

(NO) subtotal from page 2 0.0 0


TOTAL NEW OBJECTS (NO) 0.0 0
REUSED OBJECTS LOC LOC

(R) subtotal from page 2 0.0 0


REUSED TOTAL (R) 0.0 0

Size Time
Estimated Object LOC: E = BA+NO+M 0
Regression Parameter: B0 0.00 0.00
Regression Parameter: B1 0.00 0.00
Estimated New and Changed LOC: N = B 0 + B 1` * E 0.0
Estimated Total LOC: T=N+B-D-M+R 0.0
Estimated Total New Reuse (sum of * LOC): 0
Estimated Total Developent Time: Time = B0 + B1` * E 0.0
Prediction Range: Range 0.0 0.0
Upper Prediction Interval: UPI = N + Range
Lower Prediction Interval: LPI = N - Range
Prediction Interval Percent 70% 70%
Method Selected 0 0
R^2 0.00 0.00

Size Estimating Template (continued)


Student José María Febronio Manuel Date ?????
Instructor María Dolores Juárez Program# 4A

OBJECT LOC ESTIMATE ACTUAL


BASE ADDITIONS: TYPE METHODS REL. SIZE LOC LOC

SUBTOTAL BASE ADDITIONS (BA) => 0.0 0


NEW OBJECTS: TYPE METHODS REL. SIZE LOC * LOC *

SUBTOTAL NEW OBJECTS (NO) => 0.0 0


REUSED OBJECTS LOC LOC

SUBTOTAL REUSED (R) => 0.0 0


PROBE

PROBE Method Selector PROBE Method Calculations Historical Data


Est. Actual Actual Est.
Project 2 PROBE Method A B C D Prog (N&C) (N&C) Min. (E) Outliers

Estimate (E) 0 Size Time Size Time Size Time Size Time 1 0 125.58 2
Size Method 4 Estimate #VALUE! #VALUE! #VALUE! #VALUE! Err:502 Err:502 0 2 500 130 491.17 3
D 4
Selector R-Squared #VALUE! #VALUE! #VALUE! #VALUE! 3 0
Size Estimate 0 Beta0 #VALUE! #VALUE! #VALUE! #VALUE! 0.00 0.00 0.00 0.00 4 0 0 0 5
6
Range 0 Beta1 #VALUE! #VALUE! #VALUE! #VALUE! Err:502 Err:502 1.00 #DIV/0! 5 0 0 0
7
B0 0 Range (70%) #ADDIN? #ADDIN? #ADDIN? #ADDIN? 6 0 0 0 8
B1 1 UPI #VALUE! #VALUE! #VALUE! #VALUE! 7 0 0 0 9
R^2 0 LPI #VALUE! #VALUE! #VALUE! #VALUE! 8 0 0 0 10
Time Method 4 Variance #ADDIN? #ADDIN? #ADDIN? #ADDIN? 9 0 0 0
D
Selector Std. Deviation #ADDIN? #ADDIN? #ADDIN? #ADDIN? 10 0 0 0
Time Estimate 0
Range 0
B0 0
B1 #DIV/0!
Method C Est. vs. Act. Size Method C Est. Size vs. Act. Time
R^2 0

Actual Time
Actual Size

12 12

10 10

8 8

6 6

4 4

2 2

0 0
0 2 4 6 8 10 12 0 2 4 6 8 10 12
Est. Size Est. Size

Page 11
TimeLog

Project Phase Date Start Int. Stop Delta Comments


1 PLAN 01/30/18 5:37:14 5:41:38 4.4 Empiezo el plan del proyecto para poder definir el objetivo final del programa.
1 PLAN 01/30/18 5:41:48 5:44:45 3.0 Pude concluir con las faces que se realizaran mediante la elavoracion del proyecto.
1 PLAN 01/30/18 5:44:56 5:47:04 2.1 Realice la revision de las faces que propuse que hare para poder elavorar el proyecto.
1 DLD 01/30/18 5:47:18 6:02:41 15.4 Realizacion de Diseño Terminada
1 CODE 01/30/18 18:05:01 18:46:55 41.9 Empiezo con la codificacion del programa.
1 CODE 02/01/18 19:06:45 5.0 19:28:38 16.9 Cheque algo en la internet.
1 CODE 02/01/18 19:29:21 8.0 19:53:11 15.8 Fui a comer
1 CODE 02/01/18 19:53:22 20:09:38 16.3 Se termino la programacion del objetivo del programa.
1 Test 02/02/18 11:54:23 12:04:13 9.8 Comence hacer el test del programa.

2 PLAN 02/06/18 14:23:03 14:36:31 13.5 Comienzo planeando el proyecto para poder definir el objetivo final del programa.
2 DLD 02/08/18 14:13:34 14:27:13 13.7 Realizacion del diseño del programa.
2 CODE 02/08/18 14:27:22 14:45:53 18.5 Empiezo con la codificacion del programa.
2 CODE 02/11/18 0:44:42 3:39:58 175.3 Culmino con lamitad de codificacion.
2 CODE 02/11/18 11:02:09 12:00:02 57.9 Termino la programacion con las validaciones pero siguen faltando.
2 CODE 02/11/18 12:03:27 12:57:07 53.7 sigo con las validaciones que faltan.
2 CODE 02/11/18 16:18:14 18:19:02 120.8 Termino todas las validaciones adecuadas.
2 TEST 02/11/18 21:19:37 21:57:32 37.9 Comence con el test del programa.

Page 12
DefectLog

Fix
Project Date Num Type Injected Removed FixTime Ref. Description
2 2/11/2018 1 CODE CODE CODE 40 min No podia abrir los archvos java.
2 2/11/2018 2 CODE CODE CODE 28 min No contaba los espacios y las lineas.
2 2/11/2018 3 CODE CODE CODE 15 min Tuve probelmas con el conteo de clases
2 2/11/2018 4 CODE CODE CODE 20 min Tuve probelmas con e conteo de metodos.
2 2/11/2018 5 CODE CODE CODE 22 min No pude leer los Enters dentro del programa.
2 2/11/2018 6 CODE CODE CODE 5 min Se me estropeo un metodo y tuve que rehacerlo de nuevo.
2 2/11/2018 7 CODE CODE CODE 10 min Busqueda por internet como validar los enters o lineas de espacio.
2 2/11/2018 8 CODE CODE CODE 30 min Validacion en las condicones.
2 2/11/2018 9 TEST TEST TEST 15 min correcciones minimas.

Page 13
422168090.xls

Defect Densities Compile and Test Defects


Compile
Program New and Defects per Defects found defects per Defects found Test defects
Number Changed LOC Total Defects KLOC in compile KLOC in test per KLOC
1 0 0 0 0 0 0 0
2 130 9 69 0 0 1 8
3 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0
7 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0
Totals 130 9 69 0 0 1 8

Defect Fix Times

Defects found Defects found Total defects


in compiling in testing found
Defects Tot. fix time #NAME? #NAME? #NAME?
injected in Tot. defects #NAME? #NAME? #NAME?
designing Avg. fix time #NAME? #NAME? #NAME?
Defects Tot. fix time #NAME? #NAME? #NAME?
injected in Tot. defects #NAME? #NAME? #NAME?
coding Avg. fix time #NAME? #NAME? #NAME?
Total Tot. fix time #NAME? #NAME? #NAME?
defects Tot. defects #NAME? #NAME? #NAME?
injected Avg. fix time #NAME? #NAME? #NAME?

Page 14
R4

Table D23

Percentage Number Percentage


Number Injected
Injected Removed Removed
Type Design Code Design Code Compile Test Compile Test
10 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
20 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
30 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
40 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
50 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
60 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
70 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
80 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
90 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
100 #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME? #NAME?
Total #NAME? #NAME? #NAME? #NAME?

Table D24

Number of Number of Percentage of


defects through defects found in Type found by
Defect Type Compile Compile the Compiler
10 #NAME? #NAME? #NAME?
20 #NAME? #NAME? #NAME?
30 #NAME? #NAME? #NAME?
40 #NAME? #NAME? #NAME?
50 #NAME? #NAME? #NAME?
60 #NAME? #NAME? #NAME?
70 #NAME? #NAME? #NAME?
80 #NAME? #NAME? #NAME?
90 #NAME? #NAME? #NAME?
100 #NAME? #NAME? #NAME?
Total #NAME? #NAME? #NAME?

Page 15
10 0 10 0
20 0 Defects20
Removed 0By Type
30 0 30 0
1 40 0 40 0
0.9 50 0 50 0
0.8 60 0 60 0
0.7 70 0 70 0
0.6 80 0 80 0
0.5 90 0 90 0
0.4 100 0 100 0
0.3
0.2
0.1
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
422168090.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
Defects/KLOC

Defects/KLOC
Total Defects Defects Injected in Desig

80 1
70 0.9
0.8
60
0.7
50 0.6
40 0.5
30 0.4
0.3
20
0.2
10 0.1
0 0
1 2 3 4 5 6 7 8 9 10 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 ActMin EstDef ActDef Time by Phase
Planning Design Design
Review
Formulas
1 0 ????? 125.5833 0 9.483333 15.38333
2 500 130 180 491.1667 9 13.46667 13.65
3 ????? 0 ????? 0 0 0 0
4 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0
7 0 0 ????? 0 ????? 0 0 0 0
8 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0

Page 17
422168090.xls

10 0 0 0 0 0 0 0 0 0
Totals 500 130 180 616.75 0 9 22.95 29.03333 0

Analysis calculations
Total Def Def. Inj. in Design Def. inj. in Code Def. rem. in Des. RevDef. rem. in CodeRev
Def/KLOC Def/KLOC Def/KLOC Def/KLOC Def/KLOC

Formulas 0 0 0 0 0
1 0 0 0 0 0
2 69.23077 0 61.53846 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 69.23077 0 61.53846 0 0

Defect Injection Distribution - % by phase


Plng Des Design DLDR Des.Rev Code Code CDR CDR
Cum. Cum Cum Cum
Formulas 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 88.88889 88.88889 0 88.88889
3 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0 0
7 0 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0
Total 0 0 0 0 0 88.88889 88.88889 0 88.88889

Defect Removal Distribution - % by phase


Planning Design Design Des.Rev Des.Rev Code Code CDR CDR
Cum. Cum Cum Cum
Formulas 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 88.88889 88.88889 0 88.88889
3 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0 0

Page 18
422168090.xls

7 0 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0
Totals 0 0 0 0 0 88.88889 88.88889 0 88.88889

Page 19
422168090.xls

Defects/KLOC
cts Injected in Design Defects Injected in Code

70

60

50

40

30

20

10

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

Defects Injected by Phase


Code Code Compile Test PM Planning Design Design Code Code
Review Review Review

90.88333 0 9.833333 0 0 0 0
426.1333 0 37.91667 0 0 0 8
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 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

Page 20
422168090.xls

0 0 0 0 0 0 0 0 0 0
517.0167 0 0 47.75 0 0 0 0 8 0

Def. rem. in CodeRevDefRemComp DefRemTest


Def/KLOC Def/KLOC Def/KLOC

0 0
0 0
0 7.692308
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 7.692308

Comp Comp Test Test


Cum Cum
0 0 0 0
0 0 0 0
0 88.88889 11.11111 100
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 88.88889 11.11111 100

Comp Comp Test Test


Cum Cum
0 0 0 0
0 0 0 0
0 88.88889 11.11111 100
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0

Page 21
422168090.xls

0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 88.88889 11.11111 100

Page 22
422168090.xls

Defects Removed in Design Review Defects Removed

Defects/KLOC
Defects/KLOC

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

Defects Removed by Phase


Compile Test Planning Design Design Code Code Compile Test
Review Review

0 0 0 0 0 0 0
0 1 0 0 8 0 1
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 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0

Page 23
422168090.xls

0 0 0 0 0 0 0 0 0
0 1 0 0 0 8 0 0 1

Page 24
422168090.xls

Defects/KLOC
Defects Removed in Code Review Defects Removed in Compile

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

Page 25
422168090.xls

Defects/KLOC

Compile Defects Removed in Test Defect Injec

9 100
8 90
7 80
70
6

%
60
5
50
4
40
3
30
2 20
1 10
0 0
7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5
mber Program Number Program

Page 26
422168090.xls

Defect Injection % by Phase Defect Removal % by Phase

100 120
90
100
80
70 Test
80
Com
%

%
60
Co p
50 de 60 CDR
40 Des.
40 Rev
30
20
20
10
0 0
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
Program Number Program Number

Page 27
422168090.xls

Test D efects/K LOC


val % by Phase

Compile vs. Test Defects

9
8
Test
Com 7
p 6
CDR
Des. 5
Rev 4
3
2
1
0
7 8 9 10 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
umber Compile Defects/KLOC

Page 28
422168090.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 Size Estimating Error

140 0
1 2 3 4 5 6 7
120 -10
LOC

100 -20

80 -30

%
60 -40

-50
40
-60
20
-70
0
1 2 3 4 5 6 7 8 9 10 -80
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 Design
Review
Formulas
1 0 ????? 125.5833 0 9.483333 15.38333
2 500 130 180 491.1667 9 13.46667 13.65
3 ????? 0 ????? 0 0 0 0
4 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0
7 0 0 ????? 0 ????? 0 0 0 0
8 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0

Page 29
422168090.xls

10 0 0 0 0 0 0 0 0 0
Totals 500 130 180 616.75 0 9 22.95 29.03333 0

Analysis calculations
Size Error Time Time Error Plan Time PM Time
% Hours % % %
Formulas 0 0 0 0 0
1 0 2.093056 #VALUE! 7.551427 0
2 -74 8.186111 172.8704 2.741771 0
3 #VALUE! 0 #VALUE! 0 0
4 0 0 0 0 0
5 0 0 0 0 0
6 0 0 0 0 0
7 0 0 #VALUE! 0 0
8 0 0 0 0 0
9 0 0 0 0 0
10 0 0 0 0 0
Totals #VALUE! 10.27917 #VALUE! 10.2932 0

Page 30
422168090.xls

e Estimating Error Actual Development Time

9
3 4 5 6 7 8 9 10 8
Hours

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

Defects Injected by Phase


Code Code Compile Test PM Planning Design Design Code Code
Review Review Review

90.88333 0 9.833333 0 0 0 0
426.1333 0 37.91667 0 0 0 8
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 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

Page 31
422168090.xls

0 0 0 0 0 0 0 0 0 0
517.0167 0 0 47.75 0 0 0 0 8 0

Plan+PM Time Compile Time Test Time Compile+Test Time


% % % %
0 0 0 0
7.551427 0 7.830126 7.830126
2.741771 0 7.719715 7.719715
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
10.2932 0 15.54984 15.54984

Page 32
422168090.xls

Time Estimating Error % Planning T

200 8
180 7
160
6
140
5
%

%
120
100 4
80 3
60
2
40
20 1
0 0
9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6
Program Number Program Nu

Defects Removed by Phase


Compile Test Planning Design Design Code Code Compile Test
Review Review

0 0 0 0 0 0 0
0 1 0 0 8 0 1
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 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0

Page 33
422168090.xls

0 0 0 0 0 0 0 0 0
0 1 0 0 0 8 0 0 1

Page 34
422168090.xls

% Planning Time % Postmortem Time

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

Page 35
422168090.xls

Time % Plan + Postmortem Time % Com

8 1
7 0.9
0.8
6
0.7
5
%

%
0.6
4 0.5
3 0.4
0.3
2
0.2
1 0.1
0 0
7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3
mber Program Number Pr

Page 36
422168090.xls

% Compile Time % Test Time

1 9
0.9 8
0.8 7
0.7
6
%

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

Page 37
422168090.xls

st Time % Compile + Test Time

9
8
7
6
%

5
4
3
2
1
0
5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
gram Number Program Number

Page 38
422168090.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

P ro d u c tiv ity (L O C /H o u r)
Productivity
LOC/Hour

18
16 Productivity vs. Yield
14
18
12
16
10 14
8 12

6 10
8
4
6
2 4
0 2
1 2 3 4 5 6 7 8 9 10 0
0 20 40 60 80 1
Program Number
Yield %

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 Design
Review
Formulas
1 0 ????? 125.5833 0 9.483333 15.38333
2 500 130 180 491.1667 9 13.46667 13.65
3 ????? 0 ????? 0 0 0 0
4 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0
7 0 0 ????? 0 ????? 0 0 0 0
8 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0

Page 39
422168090.xls

10 0 0 0 0 0 0 0 0 0
Totals 500 130 180 616.75 0 9 22.95 29.03333 0

Analysis calculations
Yield Cost of Quality
Early inj. Early rem. Yield% Failure Appraisal TotalCOQ A/FR
Cost Cost
Formulas 0 0 0 0 0 0 0
1 0 0 0 7.830126 0 7.830126 0
2 8 8 100 7.719715 0 7.719715 0
3 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0
7 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0
Totals 8 8 100 15.54984 0 15.54984 0

Page 40
422168090.xls

P ro d u c tiv ity (L O C /H o u r)
oductivity vs. Yield Productivity vs. A/FR

18
16
14
12
10
8
6
4
2
0
0 40 60 80 100 120 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Yield % Appraisal to Failure Ratio (A/FR)

Defects Injected by Phase


Code Code Compile Test PM Planning Design Design Code Code
Review Review Review

90.88333 0 9.833333 0 0 0 0
426.1333 0 37.91667 0 0 0 8
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 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

Page 41
422168090.xls

0 0 0 0 0 0 0 0 0 0
517.0167 0 0 47.75 0 0 0 0 8 0

DefRemTest Productivity
Def/KLOC LOC/Hour

0 0
0 0
7.692308 15.88056
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
7.692308 12.64694

Page 42
422168090.xls

A p p ra is a l to F a ilu re R a tio (A /F R )
Yield vs. A/FR

120
Yield %

100
A/FR vs. Yie
80
1
0.9
60 0.8
0.7
40 0.6
0.5
0.4
20
0.3
0.2
0 0.1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0
8 0.9 1 0 20 40 6
FR) Appraisal to Failure Ratio (A/FR) Yie

Defects Removed by Phase


Compile Test Planning Design Design Code Code Compile Test
Review Review

0 0 0 0 0 0 0
0 1 0 0 8 0 1
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 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0

Page 43
422168090.xls

0 0 0 0 0 0 0 0 0
0 1 0 0 0 8 0 0 1

Page 44
422168090.xls

Defects/KLOC
Test Defects vs. A/FR

9
8
A/FR vs. Yield 7
6
1
0.9 5
0.8
0.7
4
0.6 3
0.5
0.4 2
0.3
1
0.2
0.1 0
0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0 20 40 60 80 100 120
Yield Appraisal to Failure Ratio (A/FR)

Page 45
422168090.xls

Defects/KLOC

A/FR Test Defects vs. Yield

9
8
7
6
5
4
3
2
1
0
.6 0.7 0.8 0.9 1 0 20 40 60 80 100 120
Ratio (A/FR) Yield %

Page 46
422168090.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

Failure Cost %
Defect Removal Yield Failure Cost of Quality

120 9
Yield %

8
100
7
80 6
5
60
4
40 3
2
20
1
0 0
1 2 3 4 5 6 7 8 9 10 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 Design
Review
Formulas
1 0 ????? 125.5833 0 9.483333 15.38333
2 500 130 180 491.1667 9 13.46667 13.65
3 ????? 0 ????? 0 0 0 0
4 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0
7 0 0 ????? 0 ????? 0 0 0 0
8 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0

Page 47
422168090.xls

10 0 0 0 0 0 0 0 0 0
Totals 500 130 180 616.75 0 9 22.95 29.03333 0

Analysis calculations
Yield Cost of Quality
Early inj. Early rem. Yield% Failure Appraisal TotalCOQ A/FR
Cost Cost
Formulas 0 0 0 0 0 0 0
1 0 0 0 7.830126 0 7.830126 0
2 8 8 100 7.719715 0 7.719715 0
3 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0
7 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0
Totals 8 8 100 15.54984 0 15.54984 0

Page 48
422168090.xls

Appraisal Cost %
lure Cost of Quality
Apppraisal Cost of Quality

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

Defects Injected by Phase


Code Code Compile Test PM Planning Design Design Code Code
Review Review Review

90.88333 0 9.833333 0 0 0 0
426.1333 0 37.91667 0 0 0 8
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 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

Page 49
422168090.xls

0 0 0 0 0 0 0 0 0 0
517.0167 0 0 47.75 0 0 0 0 8 0

DefRemTest LOC Reviewed/Hour Review Yield


Def/KLOC DLDR CDR Both DLDR CDR

0 0 0 0 0 0
0 0 0 0 0 0
7.692308 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 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
7.692308 0 0 0 0 0

Page 50
422168090.xls

To ta l C o s t o f Q u a lity %

Appraisal To Failu

1
Total Cost of Quality 0.9
0.8

A/FR
9
0.7
8
0.6
7
6 0.5
5 0.4
4 0.3
3 0.2
2 0.1
1
0
0 1 2 3 4 5
9 10 1 2 3 4 5 6 7 8 9 10
Program Number Program N

Defects Removed by Phase


Compile Test Planning Design Design Code Code Compile Test
Review Review

0 0 0 0 0 0 0
0 1 0 0 8 0 1
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 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0

Page 51
422168090.xls

0 0 0 0 0 0 0 0 0
0 1 0 0 0 8 0 0 1

Page 52
422168090.xls

Appraisal To Failure Ratio LOC Reviewed per Hour

LOC/Hour
1 1
0.9 0.9
0.8 0.8
0.7 0.7
0.6 0.6
Bo
0.5 0.5 th
0.4 0.4
0.3 0.3
0.2 0.2
0.1 0.1
0 0
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
Program Number Program Number

Page 53
422168090.xls

r Hour LOC Reviewed per Hour vs. Yield - Design Review LOC Reviewed pe

1 1
0.9 0.9
0.8 0.8

Yield
Yield

0.7 0.7
Bo
th 0.6 0.6
0.5 0.5
0.4 0.4
0.3 0.3
0.2 0.2
0.1 0.1
0 0
9 10 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0
Design Review LOC/Hour Code Review

Page 54
422168090.xls

LOC Reviewed per Hour vs. Yield - Code Review LOC Reviewed per Hour vs. Yield - Design and Code Rev

1 120
0.9
0.8 100
Yield

Yield
0.7
80
0.6
0.5 60
0.4
0.3 40
0.2
20
0.1
0 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Code Review LOC/Hour Design and Code Review LOC/Hour

Page 55
422168090.xls

vs. Yield - Design and Code Review

0.8 0.9 1
OC/Hour

Page 56
Project Assignment Process Processes Phases PSP0 PSP0.1 PSP1 PSP1.1
1 1A PSP0 PSP0 PLAN PLAN PLAN PLAN PLAN
2 2A PSP0.1 PSP0.1 HLD DLD DLD DLD DLD
3 3A PSP0.1 PSP1 HLDR CODE CODE CODE CODE
4 4A PSP1 PSP1.1 DLD COMPILE COMPILE COMPILE COMPILE
5 5A PSP1.1 PSP2 DLDR TEST TEST TEST TEST
6 6A PSP1.1 PSP2.1 CODE PM PM PM PM
7 7A PSP2 PSP3 CR
8 8A PSP2.1 COMPILE
9 9A PSP2.1 TEST
10 10A PSP3 PM
PSP2 PSP2.1 PSP3 Type Description Object Type Object Type Relative Size Method
PLAN PLAN PLAN 10 Documentation C Calculation VS A
DLD DLD HLD 20 Syntax D Data S B
DLDR DLDR HLDR 30 Build, Package IO Input/Output M C
CODE CODE DLD 40 Assignment L Logic L D
CR CR DLDR 50 Interface S Set-up VL
COMPILE COMPILE CODE 60 Checking T Text
TEST TEST CR 70 Data
PM PM COMPILE 80 Function
TEST 90 System
PM 100 Environment

You might also like