| Process Advisor—A Model for Baseline Metrics Collection | ||||
| Copyright 1990-1992, R.S. Pressman & Associates, Inc. | ||||
| Provide all data indicated by arrows (<---) | Software Metrics Collection and Evaluation |
|||
| Clear example data next to arrows ONLY (<---) before starting. | © 1990 R.S. Pressman & Associates, Inc. |
|||
| COST DATA—INPUT | ||||
| Example data |
||||
| DESCRIPTION | UNITS | |||
| labor cost | $/person-month | $7,744 | <--- | |
| labor year | hrs/year | 1560 | <--- | |
| DATA FOR METRICS COMPUTATION | ||||
| Example data |
||||
| DESCRIPTION | UNITS | |||
| project name or identifier | alphanumeric | Project 1 | <--- | |
| release type (development/maint) | alphanumeric | maintenance | <--- | |
| number of project staff | people | 3 | <--- | |
| effort | person-hours | 4800 | <--- | |
| effort, computed | person-months | 36.9 | <--- | |
| elapsed time to completion | months | 13.0 | <--- | |
| source lines newly developed | KLOC | 11.5 | <--- | |
| source lines modified (existing code) | KLOC | 0.4 | <--- | |
| source lines delivered (includes existing LOC) | KLOC | 33.4 | <--- | |
| source lines reused (from other programs/libraries) | KLOC | 0.8 | <--- | |
| number of separate programs | programs | 1 | <--- | |
| technical documentation | pages | 265 | <--- | |
| user documentation | pages | 122 | <--- | |
| number of of errors (1st year after release) | errors | 26 | <--- | |
| maintenance effort-modifications (1st year) | person-hours | 3550 | <--- | |
| maintenance effort-errors (1st year) | person-hours | 1970 | <--- | |
| PROJECT DATA | ||||
| Percentage of total project time spent on: | ||||
| problem analysis & specification | % | 18% | <--- | |
| design | % | 20% | <--- | |
| coding | % | 23% | <--- | |
| testing | % | 25% | <--- | |
| other—describe | % | 14% | <--- | |
| FUNCTION-ORIENTED DATA—INPUT | ||||
| DESCRIPTION | UNITS | DATA | ||
| Information Domain | ||||
| 1. no. user inputs | inputs | 24 | <--- | |
| 2. no. user outputs | outputs | 46 | <--- | |
| 3. no. user inquiries | inquiries | 8 | <--- | |
| 4. no. files | files | 4 | <--- | |
| 5. no. external interfaces | interfaces | 2 | <--- | |
| Weighting values | ||||
| Use first number for simple, second for | ||||
| average, and last for complex | ||||
| 1. input weights | 3, 4, 6 | 4 | <--- | |
| 2. outputs | 4, 5, 7 | 4 | <--- | |
| 3. inquiries | 3, 4, 6 | 6 | <--- | |
| 4. files | 7, 10, 15 | 10 | <--- | |
| 5. interfaces | 5, 7, 10 | 5 | <--- | |
| Processing Complexity Factors | ||||
| Factors rated from 0 to 5 where: | ||||
| no influence (0); incidental (1); moderate (2); | ||||
| average (3); significant (4); essential (5) | ||||
| 1. backup and recovery required | 0,1,2,3,4,5 | 4 | <--- | |
| 2. data communication required | 0,1,2,3,4,5 | 1 | <--- | |
| 3. distributed processing functions | 0,1,2,3,4,5 | 0 | <--- | |
| 4. performance critical | 0,1,2,3,4,5 | 3 | <--- | |
| 5. heavily utilized operating environment | 0,1,2,3,4,5 | 3 | <--- | |
| 6. on line data entry | 0,1,2,3,4,5 | 5 | <--- | |
| 7. input transaction with multiple screens | 0,1,2,3,4,5 | 4 | <--- | |
| 8. master files updated online | 0,1,2,3,4,5 | 4 | <--- | |
| 9. input, output, files, inquiries complex | 0,1,2,3,4,5 | 3 | <--- | |
| 10. internal processing complex | 0,1,2,3,4,5 | 3 | <--- | |
| 11. code designed to be reusable | 0,1,2,3,4,5 | 2 | <--- | |
| 12. conv./installation included in design | 0,1,2,3,4,5 | 2 | <--- | |
| 13. system design for multiple installations | 0,1,2,3,4,5 | 4 | <--- | |
| 14. maintainability/ ease of use | 0,1,2,3,4,5 | 5 | <--- | |
| SIZE-ORIENTED METRICS | ||||
| DESCRIPTION | UNITS | DATA | ||
| Productivity and Cost Metrics: | ||||
| output | KLOC/p-m | 0.905 | ||
| cost-all maintained code | $/KLOC | $22,514 | ||
| cost excluding reused | $/KLOC | $24,028 | ||
| elapsed time | months/KLOC | 1.0 | ||
| documentation | pages/KLOC | 30 | ||
| documentation | pages/p-m | 10 | ||
| documentation | $/page | $739 | ||
| Quality Metrics: | ||||
| defects | errors/KLOC | 2.0 | ||
| cost of errors | $/error | $376 | ||
| maint. errors/total maint. | ratio | 0.36 | ||
| maint. mods./total maint. | ratio | 0.64 | ||
| maint. effort/dev. effort | ratio | 1.15 | ||
| Note: Size oriented metrics computed above use "KLOC maintained," that is, | ||||
| source lines newly developed, modified and reused only. | ||||
| FUNCTION-ORIENTED METRICS | ||||
| DESCRIPTION | UNITS | DATA | ||
| Function-Point Computations | ||||
| unadjusted function points | 378 | |||
| total degree of influence | 43 | |||
| complexity adjustment | 1.08 | |||
| function points (FP) | 408 | |||
| Productivity and Cost Metrics -- FP | ||||
| output | FP/p-m | 11.1 | ||
| cost | $/FP | $700 | ||
| elapsed time | FP/month | 31.4 | ||
| documentation | pages/FP | 0.9 | ||
| Functionality | ||||
| program size | FP/program | 408 | ||
| function to size | FP/KLOC-maintained | 32 | ||
| Quality Metrics | ||||
| defects | errors/FP | 0.064 | ||
| maint. effort-errors | person-days/FP | 0.817 | ||
| maint. effort-mods. | person-days/FP | 1.472 | ||