Software Quality Management
Software Quality Management
Cost of Quality
• Prevention costs include
• quality planning
• formal technical reviews
• test equipment
• Training
• Internal failure costs include
• rework
• repair
• failure mode analysis
• External failure costs are
• complaint resolution
• product return and replacement
• help line support
• warranty work
3
Role of the SQA Group
• Prepares an SQA plan for a project.
• The plan identifies
• evaluations to be performed
• audits and reviews to be performed
• standards that are applicable to the project
• procedures for error reporting and tracking
• documents to be produced by the SQA group
• amount of feedback provided to the software project team
• Participates in the development of the project’s software process description.
• The SQA group reviews the process description for compliance with organizational
policy, internal software standards, externally imposed standards (e.g., ISO-9001), and
other parts of the software project plan.
• Reviews software engineering activities to verify compliance with the defined
software process.
• identifies, documents, and tracks deviations from the process and verifies that
corrections have been made.
• Audits designated software work products to verify compliance with those
defined as part of the software process.
• reviews selected work products; identifies, documents, and tracks deviations; verifies
that corrections have been made
• periodically reports the results of its work to the project manager.
4
Role of the SQA Group-II
• Ensures that deviations in software work and work products are documented and
handled according to a documented procedure.
• Records any noncompliance and reports to senior management.
• Noncompliance items are tracked until they are resolved.
5
What Are Reviews?
• a meeting conducted by technical people for technical people
• a technical assessment of a work product created during the software
engineering process
• a software quality assurance mechanism
• a training ground
6
7
Six-Sigma for Software Engineering
• The term “six sigma” is derived from six standard deviations—3.4
instances (defects) per million occurrences—implying an extremely high
quality standard.
• The Six Sigma methodology defines three core steps:
• Define customer requirements and deliverables and project goals via well-
defined methods of customer communication
• Measure the existing process and its output to determine current quality
performance (collect defect metrics)
• Analyze defect metrics and determine the vital few causes.
• Improve the process by eliminating the root causes of defects.
• Control the process to ensure that future work does not reintroduce the
causes of defects.
8
ISO 9001:2000 Standard
• ISO 9001:2000 is the quality assurance standard that applies to
software engineering.
• The standard contains 20 requirements that must be present for an
effective quality assurance system.
• The requirements delineated by ISO 9001:2000 address topics such
as
• management responsibility, quality system, contract review, design control,
document and data control, product identification and traceability, process
control, inspection and testing, corrective and preventive action, control of
quality records, internal quality audits, training, servicing, and statistical
techniques.
9
Software Reliability
• A simple measure of reliability is mean-time-between-failure (MTBF), where
MTBF = MTTF + MTTR
• The acronyms MTTF and MTTR are mean-time-to-failure and mean-time-to-
repair, respectively.
• Software availability is the probability that a program is operating according
to requirements at a given point in time and is defined as
Availability = [MTTF/(MTTF + MTTR)] x 100%
Software Safety
• Software safety is a software quality assurance activity that focuses on the
identification and assessment of potential hazards that may affect software
negatively and cause an entire system to fail.
• If hazards can be identified early in the software process, software design
features can be specified that will either eliminate or control potential
hazards.
11
Reliability and Availability
Problems
Problem 1: Calculating MTBF
• Mean-Time-To-Failure (MTTF) = 120 hours
• Mean-Time-To-Repair (MTTR) = 10 hours