Upload
hoangnhi
View
213
Download
0
Embed Size (px)
Citation preview
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–1 v1.0 - 07/28/99
Personal Project Management Process
PPMP Spreadsheet Exercise 5
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–2 v1.0 - 07/28/99
Assignment & Exercise Details
Reading Plus (cont.) Read process specifications in App. C
• PPMP1.1 Process:Like PSP1.1 Appendix C3, pgs 623-627
• PPMP1.1 Project Process Scripts: Like PSP1's Tables C41..C44, pgs. 686..689
• PPMP1.1 Plan Summary & Instructions – Like PSP1's Tables C45 & C46, pgs. 690-692
• Test Report Template & Instructions – TableC37..C38, pgs 681..682
• Size Estimating Template & Instructions – TableC39..C40, pgs 683..685
• PROBE Estimating Script: Table C36, pgs 679-680
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–3 v1.0 - 07/28/99
Size Estimating Walkthrough PSP's LOC and OLOC counters • Assumption/constraint:
− One physical line = one LOC
− Coding standard followed to assure 1-1
• Simplifying assumption: no comments
• LOC Counter has been done
• OMT (close to UML) domain model Task: Estimate the changes necessary to convert theLOC counter to an Object LOC counter
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–4 v1.0 - 07/28/99
OMT Class Models
LOC Counter & Object Counter
Program
Line
Tokens
Coding Standard
3+
written toProgram
Line
Tokens
CodingStandard
Main
Object
Class
Method
3+
1+
1+
written to
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–5 v1.0 - 07/28/99
Object & Method LOC Counter
Program
Summar ize
Line
ScanCountToken
CodingStandard
Main
ObjectN a m e
non-method LOCClassInfo
Class
MethodN a m e
Line CountMethodInfo
Countable Object /MethodDelimiter
N a m eScanCount
Comment
3+1+1+
written to
Object Delimiter: "/*Start-Object <name-of-object> */" New Objects or Methods: • Program: I/O; 1 new method [format output]
• Object: Text-type; 3 methods
• Method: Text-type; 3 methods
• Object/Method Delimiter: Text-type; 2 methods
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–6 v1.0 - 07/28/99
PSP Size Estimating TemplateStudent Class Date 11/21Instructor Winsor Brown Prog. # 13
BASE PROGRAM LOC BASE SIZE (B) => => => => => => => 500 LOC DELETED (D) => => => => => => 150 LOC MODIFIED (M) => => => => => => 40
PROJECTED LOC BASE ADDITIONS: TYPE METHODS REL. SIZE LOCProg: Summarize I/O 1 Small 12Main Data 1 Medium 9
TOTAL BASE ADDITIONS (BA) => => =>
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–7 v1.0 - 07/28/99
Size Ranges for Proxy Types (LOC/Method)
Size Ranges for C++ Object Types (LOC/Method)
Category VerySmall
Small Medium Large VeryLarge
Calc. 2.34 5.13 11.25 24.66 54.04Data 2.60 4.79 8.84 16.31 30.09
I/O 9.01 12.06 16.15 21.62 28.93Logic 7.55 10.98 15.98 23.25 33.83Setup 3.88 5.04 6.55 8.53 11.09
Text 3.75 8.00 17.07 36.41 77.66Average 4.16 6.57 10.83 18.68 33.66
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–8 v1.0 - 07/28/99
PSP Size Estimating Template (cont.)PROJECTED LOC (cont.) NEW OBJECTS: TYPE1 METHODS REL. SIZE LOC (NewReuse*)Object Text 3 Medium 3x17 = 51Method Text 3 Medium 3x17 = 51*Obj/M Delimiter Text 2 Very Small 2x3.75 = 7.5
TOTAL NEW OBJECTS (NO) => => => 109.5REUSED PROGRAMS LOCLine 130Countable 35Comment 25Token 57 REUSED TOTAL (R) => => => => => => 247
1 L=Logic, I=I/O, C=Calculation, T=Text, D=Data, S=Set-up
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–9 v1.0 - 07/28/99
Size Estimation: Regression Actual vs. Est.Prog# 1 2 3 4 5 6 7 8 9 10 Sum Avg.E LoC 130 650 99 150 128 302 95 945 368 961 3828 382.8A LoC 186 699 132 272 291 331 199 1890 788 1601 6389 638.9
0
200
400
600
800
1000
1200
1400
1600
1800
2000
0 200 400 600 800 1000 1200
Estimate Obj. LOC
Act
ual
Pro
gra
m L
OC
β0=-22.5
β1=1.73
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–10 v1.0 - 07/28/99
PSP Size Estimating Template (cont.)
Projected LOC: P = BA+NO 130.5Regression Parameter: β0 -22.5Regression Parameter: β1 1.73Estimated New and Changed LOC: N = β0 + β1*(P+M) X222Estimated Total LOC: T = N + B - D - M + R X879Estimated Total New Reused (sum of * LOC): 51Prediction Range: within which __% will likely fallUpper Prediction Interval: UPI = N + RangeLower Prediction Interval: LPI = N – RangePrediction Interval Percent: % AKA α/2Range=t(α/2,n-2)σ√(1+1/n+((xk-xavg)
2/Σ(xi-xavg)2)
P = BA+NO =109.5+16N=-22.5+1.73x(125.5+16)=263.82T=N+B-D-M+R=222+500-50-40+247=879
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–11 v1.0 - 07/28/99
Assignment & Exercise Details
Process Exercise - Assignment Kit 5SAssignment: Process version: PMPP1 Lecture Number: 5Text Read Chapter 6.Spreadsheet 5S Use PPMP1.1 to write spreadsheet 5S to implement a spreadsheet for Size Estimating
Template
Before writing spreadsheet 4S, read the process specifications in Appendices C & D.
Assignment Kit 5 Contents Instr. Order to submit assignmentPPMP1.1 Process Scripts PPMP1.1 Project Plan Summary
PPMP1.1 Script n/a Test ReportPPMP1.1 Planning Script n/a PIP form, including lessons learnedPPMP1.1 Development Script n/a Size Estimating TemplatePPMP1.1 Postmortem Script n/a Time Recording LogC36 PROBE Estimating Script n/a Defect Recording Log
Forms, Templates, and Standards Source program listingPPMP1.1 Project Plan Summary C45 Other requested materialsC37 Test Report Template C38C39 Size Estimating Template C40C27 Process Improvement Proposal C28C29 Coding Standard n/aC16 Time Recording Log C17C18 Defect Recording Log C19
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–12 v1.0 - 07/28/99
C20 Defect Type Standard n/a
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–13 v1.0 - 07/28/99
PPMP Assignment & Exercise Details Exercise Deliverables
• PPMP1.1 Project Plan Summary
• Test Report
• PIP forms, including a brief statement of lessons learned
• Size Estimating Template
• Time Recording Log
• Defect Recording Log
• Source Spreadsheet Listing
• Other Requested Material
− Design notes
− Stu1.XLS with data to date on diskette
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–14 v1.0 - 07/28/99
Assignment 5 Details
PPMP1.1 Exercise Report – Exit Criteria 0. The following six items (per paragraphs one andthree of C4.5) • Complete process data • Accurate and self-consistent data • Process Report in proper order and format • Historical data used planning • Neat and legible; need not be typed • NO cover sheets, binders, or written reports other than
those requested 1. PPMP1.1 Project Plan Summary (per Tables C45 &C46, pg., 690-692), with Cost Performance Index,%Reuse and %New Reuse properly calculated.2. Test Reports (per Table C37..C38, pages 681..682).
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–15 v1.0 - 07/28/99
Assignment 4 Details
PPMP1 Exercise Report – Exit Criteria (cont.)
3. PIP forms, including lessons learned (per TableC27..C28, pgs 668..669)
4. Size Estimate (per Table C39..C40, pgs 683..685).
5. Time Recording Log (per Table C17, page 658).
6. Defect Recording Log (per Tables C19 and C20,pages 660-661).
7. Spreadsheet Source Listing (per personal codingstandard - Exercise 2) and Test Results[may be submitted electronically]
8. Other Requested Material • Design notes, if any
• Stu1.XLS file with data to date
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–16 v1.0 - 07/28/99
PPMP Assignment & Exercise Details
Spreadsheet Exercise 5S Automate the PSP Size Estimating Template • Entry
− BASE PROGRAM information
− Projected LOC information
ο Base Additions
ο New Objects
− Re-used Programs
• Calculations
− Do the simple math
− Rely on Linear Regression spreadsheet for βs
− Rely on Prediction Interval spreadsheet for PI ranges
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–17 v1.0 - 07/28/99
PSP Size Estimating TemplateStudent DateInstructor Program#BASE PROGRAM LOC BASE SIZE (B) => => => => => => => LOC DELETED (D) => => => => => => LOC MODIFIED (M) => => => => => =>PROJECTED LOC BASE ADDITIONS: TYPE METHODS REL. SIZE LOC
TOTAL BASE ADDITIONS (BA) => => =>
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–18 v1.0 - 07/28/99
PSP Size Estimating Template (cont.)PROJECTED LOC (cont.) NEW OBJECTS: TYPE2 METHODS REL. SIZE LOC (NewReuse*)
TOTAL NEW OBJECTS (NO) => => =>REUSED PROGRAMS LOC
REUSED TOTAL (R) => => => => => =>
2 L=Logic, I=I/O, C=Calculation, T=Text, D=Data, S=Set-up
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–19 v1.0 - 07/28/99
PSP Size Estimating Template (cont.)
Projected LOC: P = BA+NORegression Parameter: β0
Regression Parameter: β1
Estimated New and Changed LOC: N = β0 + β1*(P+M)Estimated Total LOC: T = N + B - D - M + REstimated Total New Reused (sum of * LOC):Prediction Range: RangeUpper Prediction Interval: UPI = N + RangeLower Prediction Interval: LPI = N – RangePrediction Interval Percent:
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–20 v1.0 - 07/28/99
PPMP1.1 & PSP1.1 Project Plan SummaryStudent DateSpreadsheet Spreadsheet
#Instructor Language
Summary Plan Actual To DateLOC/HourPlanned TimeActual TimeCPI(Cost-PerformanceIndex)
(Planned/Actual)
% Reused% New Reused
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–21 v1.0 - 07/28/99
PPMP & PSP1.1 Project Plan Summary (cont.)
Spreadsheet Size (LOC) Plan Actual To DateBase(B)
(Measured) Deleted (D)
(Counted) Modified (M)
(Counted) Added (A)
(T-B+D-R) Reused (R)
(Counted)Total New & Changed (N)
(A+M)Total LOC (T)
(Measured)Total New Reused
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–22 v1.0 - 07/28/99
PPMP & PSP1.1 Project Plan Summary (cont.)Time in Phase (min.) Plan Actual To Date To Date % Planning Design Code Calculate/Compile Test Postmortem Total
Personal Project Management Process – PPMP Spreadsheet Exercise 5
© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–23 v1.0 - 07/28/99
PPMP & PSP1.1 Project Plan Summary (cont.)Defects Injected Actual To Date To Date % Planning Design Code Calculate/Compile TestTotal Development
Defects Removed Actual To Date To Date % Planning Design Code Calculate/Compile TestTotal DevelopmentAfter Development