Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
Anything that you need to quantify can be measured in some way that is superior to not measuring it at all .. Tom Gilb
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
Why do we Measure?
To characterize To evaluate To predict To improve
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
Metrics Guidelines
Use common sense and organizational sensitivity when interpreting metrics data. Provide regular feedback to the individuals and teams who have worked to collect measures and metrics. Dont use metrics to appraise individuals. Work with practitioners and teams to set clear goals and metrics that will be used to achieve them. Never use metrics to threaten individuals or teams. Metrics data that indicate a problem area should not be considered negative. These data are merely an indicator for process improvement. Dont obsess on a single metric to the exclusion of other important metrics.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
Product Metrics
focus on the quality of deliverables measures of analysis model complexity of the design
internal algorithmic complexity architectural complexity data flow complexity
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
reuse data
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
Typical Size-Oriented Metrics Sizeerrors per KLOC (thousand lines of code) defects per KLOC $ per LOC page of documentation per KLOC errors / person-month personLOC per person-month person$ / page of documentation
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
Typical Function-Oriented Metrics Functionerrors per FP (thousand lines of code) defects per FP $ per FP pages of documentation per FP FP per person-month person-
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
10
weight
Grade significance of external factors, F such as reuse, concurrency, OS, ... function points = (count x weight) x C
where: complexity multiplier: C = (0.65 + 0.01 x N) degree of influence: N = F i These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are
provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
11
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
12
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
13
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
14
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
15
Measuring Quality
Correctness the degree to which a program operates according to specification Maintainability Maintainabilitythe degree to which a program is amenable to change Integrity Integritythe degree to which a program is impervious to outside attack Usability Usabilitythe degree to which a program is easy to use
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
16
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
17
Managing Variation
The mR Control Chart
Er, Errors found/ rev iew hour
6 5 4 3 2 1 0 1 3 5 7 9 11 13 15 17 19 Projects
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright 1996, 2001
18