L11 - Quality and Reliability
L11 - Quality and Reliability
3
Software Quality Concept
5
Classification of Software quality factors
8
Verification and Validation (V&V)
9
Verification and Validation (V&V)
10
Verification and Validation (V&V)
11
The Cost of Quality
• The cost of quality is the cost related to achieving quality and
performing quality-related activities.
• In 1979, Philip Crosby stated that quality is free.
• He demonstrated that the cost of producing high-quality
products does not take extra cost than producing low-cost
products.
• The cost of quality is divided into the cost of conformance and
the cost of nonconformance.
• The cost of conformance is the cost incurred before the
delivery of a product, i.e., in identifying bugs, locating, and
correcting bugs, etc.
• The cost of nonconformance comes after the product is
released.
12
The Cost of Quality
13
The Cost of Quality
120
100
80
Cost ($)
60
40
20
0
Analysis Design Coding Tetsing Release &
operation
Software life cycle phases
15
SQA Activities
16
SQA Activities
17
The ISO Quality Standard
• International Organization for Standardization (ISO) is a nonprofit
and worldwide federation of national standards bodies from several
countries.
• ISO provides state of the art specifications for products, services,
and good practices, helping to make industry more efficient and
effective.
• A quality management system provides a framework that is used to
monitor and improve performance, improve customer satisfaction,
staff motivation, and continual improvement.
• ISO 9000 is applicable to various industries other than the software
industry.
• ISO has several versions and it has gone through several revisions.
• ISO 9001:2008 is the latest ISO standard which is most widely used
by the software companies.
18
ISO 9000 Standard
19
ISO 9000 Standard
System approach to management: Identifying, understanding,
and managing interrelated processes as a system contributes to
the organization's effectiveness and efficiency in achieving its
objectives.
Continual improvement: Continual improvement of the
organization's overall performance should be a permanent
objective of the organization.
Factual approach to decision making: Effective decisions are
based on the analysis of data and information.
Mutually beneficial supplier relationships: An organization
and its suppliers are interdependent and a mutually beneficial
relationship enhances the ability of both to create value.
20
Process-Based Quality Management System Approach
Measurement,
Resource analysis and Satisfaction
management improvement
Product
Requirements Product
realization
Input Output
22
Advantages and Disadvantage of ISO 9000
23
Advantages and Disadvantage of ISO 9000
24
The Capability Maturity Model (CMM)
25
The Capability Maturity Model(CMM)
5 Focus on continuous
Optimizing improvement
2 Focus on project
Repeatable management process
1
Chaotic, ad hoc
Initial
27
CMM level Focus KPAs
KPAs
1. Initial Competent people and heroics Not applicable
2. The ISO 9000 standard is intentionally written for 2. The CMM framework is developed for the
a wide range of industries other than the software software industry.
industry. It has a broader scope like hardware,
software, processed materials, and services.
3. ISO 9000 emphasizes following a set of standards 3. The CMM emphasizes the process of continuous
to make success repeatable. It addresses the improvement.
minimum criteria for an acceptable quality system.
4. Once an organization has met the criteria to be 4. The CMM is an ongoing process of evaluation and
ISO certified through an independent audit, the next improvement, moving from lower level to a higher
step is just to maintain that level of certification. level. Even at the highest level of maturity in CMM,
the focus is on continuous improvement.
29
SEI-CMM Vs. ISO Standard
5. The ISO standard for peer review states 5. The CMM also states this but identifies the
that the items should be present at the time of purpose and focuses on how this activity will
reviews. benefit the organization.
7. ISO 9001 requires documentation that 7. The CMM shares this emphasis on processes
contains instructions or guidance on what that are documented and practiced as
should be done or how it should be done. documented. These are carried out according to
the KPAs in CMM.
10. ISO 9001 appears to use the more traditional 10. The CMM levels, specifically levels 4 and 5,
waterfall model of lifecycle development indicate a modified lifecycle model known as
IDEAL. IDEAL stands for initiating,
diagnosing, establishing, acting, and learning.
30
Six Sigma
31
Key elements of Six Sigma
32
Key concepts of Six Sigma
33
Six Sigma Methodologies
34
Best Practices of Software Engineering
35
Software Reliability
36
Hardware reliability Vs. software reliability
Defect intensity
Defect intensity
Release Need to
reengineer
Maintenance
37
Reliability Metrics
• Probability of Failure on Demand (POFOD):
– POFOD measures the likelihood of system failure in a service
request. It is measured for systems where there is a long gap
between service requests. Service requests occur in an
infrequent way.
• ROCOF (Rate of Occurrence of Failure):
– It is used to measure the frequency occurrence of unexpected
failures. It is measured by running a system over a specified
time duration.
• Mean Time to Failure (MTTF):
– MTTF is the average time interval between the consecutive
failures observed over a large number of failures. It considers
only the run time of the system.
38
Reliability Metrics
• Mean Time to Repair (MTTR):
– MTTR is the average time taken to repair defects in a system. Time
is considered for detecting and fixing defects over a specified time
interval.
• Mean Time between Failures (MTBF):
– MTBF is measured by combining MTTR and MTTF. That is,
39
Reliability Approaches
• Fault Avoidance
– It is the ability to overcome an undesirable outcome in a
specified circumstance.
• Fault Detection
– A fault detection mechanism is helpful to detect and isolate
faults as early as possible.
• Fault Tolerance
– Fault tolerance is the extent to which a system will continue
to operate at a defined performance even though there exist
some malfunctioning units or components.
40