80 likes | 273 Views
Software Metrics. HNC Computing Unit 8 Quality Management Sue Hargrave. Control Metrics Predictor Metrics. Possible relationships between internal and external software attributes. Number of procedure parameters. Maintainability. Cyclomatic Complexity. Reliability. Program size in
E N D
Software Metrics HNC Computing Unit 8 Quality Management Sue Hargrave
Control Metrics • Predictor Metrics
Possible relationships between internal and external software attributes Number of procedure parameters Maintainability Cyclomatic Complexity Reliability Program size in lines of code Portability Number of error messages Usability Length of user manual
Conditions • The internal attribute must be measured accurately • A relationship must exist between what we can measure and the external behavioural attribute • This relationship is understood, has been validated and can be expressed in terms of a formula or model
Data collection • Static product analysis • Dynamic product analysis • Process data collation
Automated Data Collection Instrumented software system Fault Data Usage Data
Data collection • Decide what questions need to be answered • Inform development staff of purpose of data collection • Manual collection of data during process development