01 Introduction
01 Introduction
• Second level
• Third level
Introduction
• Fourth level
• Fifth level
[email protected]
Measurement, Measures, Metrics
•Click to edit
If you can’t Master
measure textmanage
it, you can’t stylesit Tom DeMarco, 1982
• Second level
Measurement
◦ is the act of obtaining a measure
• Third level
Measure•
Fourth level
◦ provides a quantitative indication of the size of some product or process attribute,
• of errors
E.g., NumberFifth level
Metric
◦ is a quantitative measure of the degree to which a system, component, or process
possesses a given attribute (IEEE Software Engineering Standards 1993): Software
Quality - E.g., Number of errors found per person-hours expended
• Product
Measure predefined product attributes
06/08/2023 Software Metrics and Quality Assurance (SE717) -3-
What to measure
• Software
•• Click
Code quality
to edit Master text styles
• Maintainability
• Programmer
• Second level productivity • Usability
• Software
• Thirdengineer
level • And all other quality
productivity
• Fourth level factors
• Requirements,
• Fifth level • Management
• design, • Cost estimation
• testing • Schedule estimation,
• and all other tasks done by Duration, time
software engineers • Staffing
NCE = The number of code errors detected by code inspections and testing.
NDE = total number of development (design and code) errors) detected in the development process.
WCE = weighted total code errors detected by code inspections and testing.
WDE = total weighted development (design and code) errors detected in the development process.
• Fifth level
NCE = The number of code errors detected by code inspections and testing.
NDE = total number of development (design and code) errors detected in the development process.
WCE = weighted total code errors detected by code inspections and testing.
WDE = total weighted development (design and code) errors detected in the development process.
DevH = Total working hours invested in the development of the software system.
ReKLOC = Number of thousands of reused lines of code.
ReDoc = Number of reused pages of documentation.
NDoc = Number of pages of documentation.
06/08/2023 Software Metrics and Quality Assurance (SE717) -20-
Product metrics categories
*• Click to edit
Help Desk Master
(HD) quality text styles
metrics:
* HD calls density metrics - measured by the number of calls.
•*Second level
HD calls severity metrics - the severity of the HD issues raised.
* • HD
Third level
success metrics – the level of success in responding to HD calls.
* • Fourth level
HD productivity metrics.
* HD effectiveness metrics.
• Fifth level
* Corrective maintenance quality metrics.
* Software system failures density metrics
* Software system failures severity metrics
* Failures of maintenance services metrics
* Software system availability metrics
* Corrective maintenance productivity and effectiveness metrics.
NHYNOT = Number of yearly HD calls completed on time during one year of service.
NHYC = the number of HD calls during a year of service.
HDYH = Total yearly working hours invested in HD servicing of the software system.
KLMC = Thousands of lines of maintained software code.
NMFP = number of function points to be maintained.
NHYC = the number of HD calls during a year of service.
• Third
WSSFD Weighted
level Software System Failure WYF
WFFFD = ---------
Density KLMC
• Fourth level
WSSFF Weighted Software System Failures WYF
WSSFF = ----------
• Fifth
per level point
Function NMFP
• Fourth level
• Fifth level
NYF = number of software failures detected during a year of maintenance service.
RepYF = Number of repeated software failure calls (service failures).
• Process definitions:
• Fifth level
procedures specified by systems analyst not accurate
reflection of the business process specified.
• Note: all errors are not necessarily software errors.
• This seems like a procedural error, and likely not a part of the software system…
Question?
• Fourth level
• Fifth level