© 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/99Assignment & Exercise DetailsReading 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-680Personal Project Management Process – PPMP Spreadsheet Exercise 5© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–3 v1.0 - 07/28/99Size 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/99OMT Class ModelsLOC Counter & Object CounterProgramLineTokensCoding Standard3+written toProgramLineTokensCodingStandardMainObjectClassMethod3+1+1+written toPersonal Project Management Process – PPMP Spreadsheet Exercise 5© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–5 v1.0 - 07/28/99Object & Method LOC CounterProgramSummarizeLineScanCountTokenCodingStandardMainObjectNamenon-method LOCClassInfoClassMethodNameLine CountMethodInfoCountableObject/MethodDelimiterNameScanCountComment3+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/99PSP Size Estimating TemplateStudent Class Date 11/21Instructor Winsor Brown Prog. # 13BASE PROGRAMLOC BASE SIZE (B) => => => => => => => 500 LOC DELETED (D) => => => => => => 150 LOC MODIFIED (M) => => => => => => 40PROJECTED LOC BASE ADDITIONS: TYPE METHODS REL. SIZELOCProg: SummarizeI/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/99Size Ranges for Proxy Types (LOC/Method)Size Ranges for C++ Object Types (LOC/Method)Category VerySmallSmall Medium Large VeryLargeCalc. 2.34 5.13 11.25 24.66 54.04Data 2.60 4.79 8.84 16.31 30.09I/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.09Text 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/99PSP Size Estimating Template (cont.)PROJECTED LOC (cont.) NEW OBJECTS: TYPE1METHODS REL. SIZE LOC (NewReuse*)Object Text 3 Medium 3x17 = 51Method Text 3 Medium 3x17 = 51*Obj/M DelimiterText 2Very Small2x3.75 = 7.5 TOTAL NEW OBJECTS (NO) => => => 109.5REUSED PROGRAMSLOCLine 130Countable 35Comment 25Token 57 REUSED TOTAL (R) => => => => => => 247 1 L=Logic, I=I/O, C=Calculation, T=Text, D=Data, S=Set-upPersonal Project Management Process – PPMP Spreadsheet Exercise 5© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–9 v1.0 - 07/28/99Size 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.902004006008001000120014001600180020000 200 400 600 800 1000 1200Estimate Obj. LOCActual Program LOCβ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/99PSP Size Estimating Template (cont.)Projected LOC: P = BA+NO 130.5Regression Parameter: β0-22.5Regression Parameter: β11.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=879Personal Project Management Process – PPMP Spreadsheet Exercise 5© 1999 A. Winsor Brown BES/MSEE 599s99PPMP-SS5Sv0.doc–11 v1.0 - 07/28/99Assignment & Exercise DetailsProcess 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 EstimatingTemplateBefore 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 SummaryPPMP1.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 LogForms, Templates, and Standards Source program listingPPMP1.1 Project Plan SummaryC45 Other requested materialsC37 Test Report TemplateC38C39 Size Estimating TemplateC40C27 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/99C20 Defect Type Standard n/aPersonal Project Management Process – PPMP Spreadsheet Exercise 5© 1999 A. Winsor Brown BES/MSEE
View Full Document