it allows software and s. process to be quantified;
used for predictions or identifying anomalous components (to later analyse them)
metrics
we assume that software property can be measured and that there's a relationship between what we measure and what we want to know. we can only measure internal attributes (number of procedure parameters, length of user manual, no of error messages) but we need more often external attributes (maintainability, reliability, portability and usability)...
this measurement process is a part of quality control activity
once we have some measurements we can compare between projects
we choose the measurements to be made, we choose the components to measure
we sometimes want to find anomalous component to analyze them further
Data
- should be collected immediately, most preferably automatically
- dont collect unnecessary data
- tell people why you collect the data
- dont rely on memory, collect the data while it is generated not after project has finished
PRODUCT METRICS
- dynamic - in execution (measure efficiency & reliability; the metrics are close to those quality attributes)
- static - measure system representation (for measuring complexity, understandability, maintainability; metrics have to be indirect)
//this is so stupid!
MEASURENMENT ANALYSIS
ok, we have the data but what does it mean
analysing collected data is very diffiicult (sommerville example: by increasing bug fixing we have more bugs - why? - not possible? - because more clients call and report them, because they see we fix them;p)
yes, reducing number of faults leads to increased help desk calls...
KEY POINTS
software quality management is about ensuring software meets required sandards
...
there's NO standarized and universally applicable software metrics