Professional Documents
Culture Documents
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
Page 3
Instructions
Page 4
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 224 0 224
224
0 224
9 27 142 2 26 10 217
6 10 66 2 6 9 98
26 68 374 5 63 31 567
0 0 1 0 0 1
0 0 3 0 0 3
0 0 0 1 0 1 ????? ?????
0 0 0 3 0 3
Project
TYPE
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 LOC 78 146
(NO) subtotal from page 2 TOTAL NEW OBJECTS (NO) REUSED OBJECTS
0 224
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:
0.00 1.36
216.8 0.0
70% C 0.00
70% C 0.00
TYPE
0 *
=> LOC
0.0 LOC
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
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
250
150
100
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
Num 1 2 3
Type
Injected
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
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
Page 17
R4
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
Page 18
10 20 30 40 50 60 70 80 90 100
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/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
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
Analysis calculations
Page 20
69789368.xls
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
CDR 0 0 0 0 0 0 0 0 0 0 0 0
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
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
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
Page 22
69789368.xls
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
Test 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
Page 23
69789368.xls
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
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/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
Defect Injec
Defects/KLOC
60 40 20 0
10
ber
Program Number
Program
Page 28
69789368.xls
Page 29
69789368.xls
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
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
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
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
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
Analysis calculations
Page 34
69789368.xls
Page 35
69789368.xls
ze Estimating Error
5 4.5 4 3.5 3
Hours
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
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0
Page 36
69789368.xls
Page 37
69789368.xls
% Planning T
%
1 2 3 4 5 6 7 8 9 10
3 2 1 0 1 2 3 4 5
10
Program Number
Program Nu
Compile
Test
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
% 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
%
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
LOC/Hour
100 80 60 40 20 0 1 2 3 4 5 6 7 8 9 10
Productivity (LOC/Hour)
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
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
Analysis calculations
Page 48
69789368.xls
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
Productivity (LOC/Hour)
Yield %
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
0 0 0 0 0 0 0
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
Page 51
69789368.xls
.8 0.9
Yield %
R)
Yield
Compile
Test
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
Defects/KLOC
Yield
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
Defects/KLOC
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
Failure Cost %
1 2 3 4 5 6 7 8 9 10
Yield %
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
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
Analysis calculations
Page 58
69789368.xls
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
Appraisal Cost %
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
0 0 0 0 0 0 0
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
Page 61
69789368.xls
Appraisal To Failu
14 12
A/FR
1 2 3 4 5 6 7 8 9 10
10 8 6 4 2 0
10
Program Number
Program Nu
Compile
Test
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
LOC/Hour
10
9 10
Program Number
Program Number
Page 64
69789368.xls
Page 65
69789368.xls
Hour
Yield
Yield
9 10
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
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
Page 68
69789368.xls
Page 69
69789368.xls
de Review LOC/Hour
Page 70
69789368.xls
Page 71