1 Maintenance Metrics and Measures (M 12) Steve Chenoweth CSSE 375, Rose-Hulman Based on Don Bagert’s 2006 Lecture
2 Today How’s the project going? –Start testing Thursday? Maintenance Metrics & Measures - this Right – Lord Kelvin
3 Outline Definitions Measurement Procedure Integrity Measurement/Metric Objectives Measurement and Metric Examples Goal-Question-Metric Method
4 Definitions Measurement – The processing of formally encoding of an attribute of some entity –For example, the height of a person Measure – The measurement value Metric – Can be the same as a measure, but is usually used when more than one measure is involved (this is slightly different than the textbook’s definition)
5 Measurement Procedure Integrity A measurement procedure should be –Empirical: Can be verified through experiments or observation –Objective: Without bias or ambiguity –Encodable: Can express using symbols such as number
6 Measurement/Metric Objectives Evaluation Control Assessment Improvement Prediction
7 Measurement & Metric Examples Measurement examples –Size KLOC (thousands of lines of code) –Complexity McCabe’s Metric (cyclomatic complexity) Metric examples –Defects per KLOC –Test cases verified per hour
8 Goal-Question-Metric (GQM) Method (Not in Text) One source of information: – kl.de/pubs/repository/basili94b/encyclo.gqm.pdf. kl.de/pubs/repository/basili94b/encyclo.gqm.pdf A short example: –Goal: To maximize customer support satisfaction –Question: Are there are consistent problems with the software? –Metric: Number of problem reports generated per day →→
9 Do Quiz Exercise 4