AWB Presentation Template

AWB Presentation Template

<p> CS511 PSP plus Project </p><p>PROBE Size Estimation Walkthrough CS511w04 Feb 18, 2004</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–1 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough PROBE Size Estimating Walkthrough Watts' PSP LOC & OLOC counters  Assumption/constraint:  One physical line = one logical LOC  Coding standard followed to assure 1-1  Simplifying assumptions  No blank lines or comments counted  Special comment lines delimit "Objects" and ID category  Special comment lines preceed "methods"  LOC Counter has been done [like A2]  UML domain model (conceptual design) for LOC counter Task for walkthrough: Estimate the changes necessary to convert the LOC counter to an Object LOC counter</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–2 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough  Add new attributes  Add new operations (AKA methods)</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–3 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough LOC Counter & Object LOC Counter</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–4 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough </p><p>500 Lines of Code</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–5 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough Object & Method LOC Counter</p><p>Object Delimiter: "/*Start-Object <name-of- object> <type>*/" Method Delimiter: "/*Method <name of method>*/" New Objects or Methods:  Program: I/O; 1 new method [Summarize – format output]  Object: Text-type; 3 methods  Method: Text-type; 3 methods</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–6 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough  Object/Method Delimiter: Text-type; 2 methods</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–7 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough PSP Size Estimating Template Student Class Date 11/21 Instructor Winsor Brown Prog. # 13 BASE PROGRAM LOC BASE SIZE (B) => => => => => => => 500 LOC DELETED (D) => => => => => => 150 LOC MODIFIED (M) => => => => => => 40 PROJECTED LOC BASE TYPE METHOD REL. LOC ADDITIONS: S SIZE Prog: I/O 1 Small 12 Summarize Main Data 1 Medium 9</p><p>TOTAL BASE ADDITIONS (BA) => => => </p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–8 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough Size Ranges for Proxy Types (LOC/Method)</p><p>Size Ranges for C++ Object Types (LOC/Method)</p><p>Category Very Small Medium Large Very Small Large Calc. 2.34 5.13 11.25 24.66 54.04 Data 2.60 4.79 8.84 16.31 30.09 I/O 9.01 12.06 16.15 21.62 28.93 Logic 7.55 10.98 15.98 23.25 33.83 Setup 3.88 5.04 6.55 8.53 11.09 Text 3.75 8.00 17.07 36.41 77.66</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–9 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough PSP Size Estimating Template (cont.) PROJECTED LOC (cont.) NEW TYPE1 METHOD REL. LOC OBJECTS: S SIZE (NewReuse*) Object Text 3 Medium 3x17 = 51 Method Text 3 Medium 3x17 = 51* Obj/M Text 2 Very 2x3.75 = 7.5 Delimiter Small</p><p>TOTAL NEW OBJECTS (NO) => => => 109.5 REUSED PROGRAMS LOC Line 130 Countable 35 Comment 25</p><p>1 L=Logic, I=I/O, C=Calculation, T=Text, D=Data, S=Set-up © 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–10 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough Token 57 REUSED TOTAL (R) => => => => => => 247</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–11 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough Size Estimation: Regression Actual vs. Est. Prog 1 2 3 4 5 6 7 8 9 10 Su Avg # m . E 13 65 99 15 12 30 95 945 36 961 382 382 LoC 0 0 0 8 2 8 8 .8 A 18 69 13 27 29 33 19 189 78 160 638 638 LoC 6 9 2 2 1 1 9 0 8 1 9 .9</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–12 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough </p><p>0= -22.5 2000 1800 1=1.73 1600 1400 1200 1000 800 600 Actual Program LOC 400 200 0 0 200 400 600 800 1000 1200</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–13 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough PSP Size Estimating Template (cont.)</p><p>Projected LOC: E = BA+NO+M 170.5</p><p>Regression Parameter: 0 -22.5</p><p>Regression Parameter: 1 1.73</p><p>Estimated New and Changed LOC: N = 0 + 272</p><p>1*(E) Estimated Total LOC: T = N + B - D - M + R 829 Estimated Total New Reused (sum of * LOC): 51 Prediction Range: within which __% will likely fall Upper Prediction Interval: UPI = N + Range Lower Prediction Interval: LPI = N – Range Prediction Interval Percent: % AKA  /2 2 2 Range=t(/2,n-2)  (1+1/n+((xk-xavg) / (xi-xavg) ) E = BA+NO+M =109.5+21+40</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–14 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough N=-22.5+1.73x(170.5)=272.465 T=N+B-D-M+R=272+500-150-40+247=829</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–15 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough PSP's PROBE Assisted by Spreadsheets On PSP Size Estimating Template  Enter  BASE PROGRAM information  Projected LOC information  Base Additions  New Objects  Re-used Programs  Calculations (using spreadsheets)  Do the simple math  Rely on Linear Regression spreadsheet (or LINEST) for s  Rely on Prediction Interval spreadsheet for PI ranges</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–16 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough PSP Size Estimating Template Student Date Instructor Program# BASE PROGRAM LOC BASE SIZE (B) => => => => => => => LOC DELETED (D) => => => => => => LOC MODIFIED (M) => => => => => => PROJECTED LOC BASE TYPE METHOD REL. LOC ADDITIONS: S SIZE</p><p>TOTAL BASE ADDITIONS (BA) => => => </p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–17 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough PSP Size Estimating Template (cont.) PROJECTED LOC (cont.) NEW TYPE2 METHOD REL. LOC OBJECTS: S SIZE (NewReuse*)</p><p>TOTAL NEW OBJECTS (NO) => => => REUSED PROGRAMS LOC</p><p>2 L=Logic, I=I/O, C=Calculation, T=Text, D=Data, S=Set-up © 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–18 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough </p><p>REUSED TOTAL (R) => => => => => =></p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–19 v0.0 - 04/26/18 CS511 PSP plus Project – PROBE Size Estimation Walkthrough PSP Size Estimating Template (cont.)</p><p>Projected LOC: E = BA+NO+M</p><p>Regression Parameter: 0</p><p>Regression Parameter: 1</p><p>Estimated New and Changed LOC: N = 0 + </p><p>1*(E) Estimated Total LOC: T = N + B - D - M + R Estimated Total New Reused (sum of * LOC): Prediction Range: Range Upper Prediction Interval: UPI = N + Range Lower Prediction Interval: LPI = N – Range Prediction Interval Percent:</p><p>© 2018 A. Winsor Brown BES/MSEE, JP Alstad 09c76070f50a73ed21e111a37e7315bc.doc–20 v0.0 - 04/26/18</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    20 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us