Professional Documents
Culture Documents
Software Quality
Measurement and Metrics
Outline
Basic Terminologies
Project Indicators
Classification of Software Metrics
Software Quality Metrics
Software Maintenance Metrics
Software Defects Classification
Software Quality
Measurement and Metrics
Software Metrics
Software Metrics let you know when
to laugh and when to cry
(Tom Glib)
Software Quality
Measurement and Metrics
Basic Terminologies
Measure
Measurement
measure.
Metric
Why Measurement ?
To
To
To
To
Characterize
Evaluate
Predict
Improve
Software Quality
Measurement and Metrics
Types of Measurements
Direct Measures
Indirect Measures
Indicators
Indicator
is a metric or combination of
metrics that provide insight into the software
process, product or project. For example, two
teams using two different review approaches
give an indicator of the better approach.
Process Indicators
Project Indicators
Software Quality
Measurement and Metrics
Indicators
Process Indicators
Project Indicators
Classification of Metrics
Software Quality
Measurement and Metrics
Quality Metrics
Software Quality
Measurement and Metrics
10
Availability
11
Maintainability
12
Correctness
user
Size of the program in KLOC
Software Quality
Measurement and Metrics
13
Usability
14
Integrity
Security
15
Performance
Performance is concerned with how long
it takes the system to respond when an
event occurs.
The response of the system to an event
can be characterized by:
16
MTBF
MTTD
MTTR
Time
Fault
occurs
Error
caused
Detection
Of error
Repair
Error
Fault
occurs caused
Defect Rate
X100%
System Testing
Acceptance Testing
Warranty support
Customer reported during work product reviews
Technical Reviews
X100%
[(no of defects existing at the step entry) + (No
of defects injected)]
Defect Injection
Defect removal
Requirements
Requirement
Requirement Analysis
gathering,
and and Review
development
of
functional specification
Design Work
Design Inspections
Design Work
Design Inspections
Code Implementation
Coding
Code Inspections
Integration/Build
Integration process
Build
Testing
Unit Test
Bad Fixes
Testing Itself
Component Test
Bad Fixes
Testing Itself
System Test
Bad Fixes
Testing Itself
Verification
Undetected defects
Defect
Defects
Existing on Injected
Step Entry
during
Development
Defect
Detection
Defect
Repair
Incorrec
t
Repairs
Defects
Removed
Defect
Existing
Phases
Defect Injected
Defect
Remov
ed
Defect
Remaine
d in
each
Phase
In-Process
Customer
Reporte
d
Requirements
85
15
88
12
High level
design
55
34
69
20
Low Level
Design
23
12
30
Code
44
40
Unit Testing
78
52
100
30
System
testing
67
23
40
50
Calculate
Defect
Defect
Defect
Defect
phase
Software Maintenance
Metrics
BMI
MT-pr1 + MT-pr2+.+MT-prn
X100%
Efficiency
Where
Size = KLOC
Effort = man year
Time = Hours
B = constant or a
scaling factor and is a
function of the project
size.
REQUIREMENT VOLATILITY
Defects Classification
Defects Classification
Error
1.
Defects
2.
34
Defects Classification
Bugs / Fault
3.
Failure
4.
Bug
Incorrect installation
Communication line hit
Hardware failure etc.
Software Quality
Measurement and Metrics
35
Defects Classification
Problems
5.
Failure
Misuse
misunderstandings
Software Quality
Measurement and Metrics
36