SlideShare a Scribd company logo
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 1
Chapter 24
Quality Management
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 2
Quality Management

Managing the quality of the
software process and
products
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 3
Objectives

To introduce the quality management process
and key quality management activities

To explain the role of standards in quality
management

To explain the concept of a software metric,
predictor metrics and control metrics

To explain how measurement may be used in
assessing software quality
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 4
Topics covered

Quality assurance and standards

Quality planning

Quality control

Software measurement and metrics
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 5
Software quality management

Concerned with ensuring that the required level
of quality is achieved in a software product

Involves defining appropriate quality standards
and procedures and ensuring that these are
followed

Should aim to develop a ‘quality culture’ where
quality is seen as everyone’s responsibility
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 6
What is quality?

Quality, simplistically, means that a product
should meet its specification

This is problematical for software systems
• Tension between customer quality requirements
(efficiency, reliability, etc.) and developer quality
requirements (maintainability, reusability, etc.)
• Some quality requirements are difficult to specify in an
unambiguous way
• Software specifications are usually incomplete and often
inconsistent
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 7
The quality compromise

We cannot wait for specifications to improve
before paying attention to quality management

Must put procedures into place to improve quality
in spite of imperfect specification

Quality management is therefore not just
concerned with reducing defects but also with
other product qualities
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 8
Quality management activities

Quality assurance
• Establish organisational procedures and standards for quality

Quality planning
• Select applicable procedures and standards for a particular
project and modify these as required

Quality control
• Ensure that procedures and standards are followed by the
software development team

Quality management should be separate from
project management to ensure independence
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 9
Quality management and software development
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 10
ISO 9000

International set ofstandards for quality
management

Applicable to a range of organisations from
manufacturing to service industries

ISO 9001 applicable to organisations which
design, develop and maintain products

ISO 9001 is a generic model of the quality process
Must be instantiated for each organisation
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 11
ISO 9001
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 12
ISO 9000 certification

Quality standards and procedures should be
documented in an organisational quality manual

External body may certify that an organisation’s
quality manual conforms to ISO 9000 standards

Customers are, increasingly, demanding that
suppliers are ISO 9000 certified
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 13
ISO 9000 and quality management
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 14

Standards are the key to effective quality
management

They may be international, national, organizational
or project standards

Product standards define characteristics that all
components should exhibit e.g. a common
programming style

Process standards define how the software
process should be enacted
Quality assurance and standards
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 15

Encapsulation of best practice- avoids
repetition of past mistakes

Framework for quality assurance process - it
involves checking standard compliance

Provide continuity - new staff can understand
the organisation by understand the standards
applied
Importance of standards
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 16
Product and process standards
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 17
Problems with standards

Not seen as relevant and up-to-date by software
engineers

Involve too much bureaucratic form filling

Unsupported by software tools so tedious
manual work is involved to maintain standards
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 18

Involve practitioners in development. Engineers
should understand the rationale underlying a
standard

Review standards and their usage regularly.
Standards can quickly become outdated and this
reduces their credibility amongst practitioners

Detailed standards should have associated tool
support. Excessive clerical work is the most
significant complaint against standards
Standards development
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 19
Documentation standards

Particularly important - documents are the
tangible manifestation of the software

Documentation process standards
• How documents should be developed, validated and maintained

Document standards
• Concerned with document contents, structure, and appearance

Document interchange standards
• How documents are stored and interchanged between different
documentation systems
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 20
Documentation process
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 21
Document standards

Document identification standards
• How documents are uniquely identified

Document structure standards
• Standard structure for project documents

Document presentation standards
• Define fonts and styles, use of logos, etc.

Document update standards
• Define how changes from previous versions are reflected in a
document
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 22
Document interchange standards

Documents are produced using different systems
and on different computers

Interchange standards allow electronic documents
to be exchanged, mailed, etc.

Need for archiving. The lifetime of word processing
systems may be much less than the lifetime of the
software being documented

XML is an emerging standard for document
interchange which will be widely supported in future
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 23

The quality of a developed product is influenced
by the quality of the production process

Particularly important in software development
as some product quality attributes are hard to
assess

However, there is a very complex and poorly
understood between software processes and
product quality
Process and product quality
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 24
Process-based quality

Straightforward link between process and
product in manufactured goods

More complex for software because:
• The application of individual skills and experience is particularly
imporant in software development
• External factors such as the novelty of an application or the
need for an accelerated development schedule may impair
product quality

Care must be taken not to impose inappropriate
process standards
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 25
Process-based quality
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 26

Define process standards such as how reviews
should be conducted, configuration
management, etc.

Monitor the development process to ensure
that standards are being followed

Report on the process to project management
and software procurer
Practical process quality
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 27
Quality planning

A quality plan sets out the desired product
qualities and how these are assessed ande
define the most significant quality attributes

It should define the quality assessment process

It should set out which organisational standards
should be applied and, if necessary, define new
standards
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 28
Quality plan structure

Product introduction

Product plans

Process descriptions

Quality goals

Risks and risk management

Quality plans should be short, succinct
documents
• If they are too long, no-one will read them
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 29
Software quality attributes
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 30
Quality control

Checking the software development process to
ensure that procedures and standards are being
followed

Two approaches to quality control
• Quality reviews
• Automated software assessment and software measurement
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 31
Quality reviews

The principal method of validating the quality of a
process or of a product

Group examined part or all of a process or system
and its documentation to find potential problems

There are different types of review with different
objectives
• Inspections for defect removal (product)
• Reviews for progress assessment(product and process)
• Quality reviews (product and standards)
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 32
Types of review
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 33

A group of people carefully examine part or all
of a software system and its associated
documentation.

Code, designs, specifications, test plans,
standards, etc. can all be reviewed.

Software or documents may be 'signed off' at a
review which signifies that progress to the next
development stage has been approved by
management.
Quality reviews
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 34
The review process
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 35
Review functions

Quality function - they are part of the general
quality management process

Project management function - they provide
information for project managers

Training and communication function - product
knowledge is passed between development
team members
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 36
Quality reviews

Objective is the discovery of system defects and
inconsistencies

Any documents produced in the process may be
reviewed

Review teams should be relatively small and
reviews should be fairly short

Review should be recorded and records
maintained
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 37

Comments made during the review should be
classified.
• No action. No change to the software or documentation is
required.
• Refer for repair. Designer or programmer should correct an
identified fault.
• Reconsider overall design. The problem identified in the
review impacts other parts of the design. Some overall
judgement must be made about the most cost-effective way
of solving the problem.

Requirements and specification errors may
have to be referred to the client.
Review results
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 38
Software measurement and metrics

Software measurement is concerned with deriving
a numeric value for an attribute of a software
product or process

This allows for objective comparisons between
techniques and processes

Although some companies have introduced
measurment programmes, the systematic use of
measurement is still uncommon

There are few standards in this area
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 39

Any type of measurement which relates to a
software system, process or related documentation
• Lines of code in a program, the Fog index, number of person-days
required to develop a component

Allow the software and the software process to
be quantified

Measures of the software process or product

May be used to predict product attributes or to
control the software process
Software metric
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 40
Predictor and control metrics
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 41

A software property can be measured

The relationship exists between what we can
measure and what we want to know

This relationship has been formalized and
validated

It may be difficult to relate what can be measured
to desirable quality attributes
Metrics assumptions
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 42
Internal and external attributes
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 43
The measurement process

A software measurement process may be part of
a quality control process

Data collected during this process should be
maintained as an organisational resource

Once a measurement database has been
established, comparisons across projects
become possible
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 44
Product measurement process
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 45
Data collection

A metrics programme should be based on a set
of product and process data

Data should be collected immediately (not in
retrospect) and, if possible, automatically

Three types of automatic data collection
• Static product analysis
• Dynamic product analysis
• Process data collation
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 46
Automated data collection
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 47
Data accuracy

Don’t collect unnecessary data
• The questions to be answered should be decided in advance
and the required data identified

Tell people why the data is being collected
• It should not be part of personnel evaluation

Don’t rely on memory
• Collect data when it is generated not after a project has finished
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 48

A quality metric should be a predictor of
product quality

Classes of product metric
• Dynamic metrics which are collected by measurements made
of a program in execution
• Static metrics which are collected by measurements made of
the system representations
• Dynamic metrics help assess efficiency and reliability; static
metrics help assess complexity, understandability and
maintainability
Product metrics
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 49
Dynamic and static metrics

Dynamic metrics are closely related to software
quality attributes
• It is relatively easy to measure the response time of a system
(performance attribute) or the number of failures (reliability
attribute)

Static metrics have an indirect relationship with
quality attributes
• You need to try and derive a relationship between these metrics
and properties such as complexity, understandability and
maintainability
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 50
Software product metrics
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 51
Object-oriented metrics
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 52
Measurement analysis

It is not always obvious what data means
• Analysing collected data is very difficult

Professional statisticians should be consulted if
available

Data analysis must take local circumstances into
account
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 53
Measurement surprises

Reducing the number of faults in a program
leads to an increased number of help desk calls
• The program is now thought of as more reliable and so has a
wider more diverse market. The percentage of users who call
the help desk may have decreased but the total may increase
• A more reliable system is used in a different way from a system
where users work around the faults. This leads to more help
desk calls
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 54
Key points

Software quality management is concerned with
ensuring that software meets its required
standards

Quality assurance procedures should be
documented in an organisational quality manual

Software standards are an encapsulation of best
practice

Reviews are the most widely used approach for
assessing software quality
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 55
Key points

Software measurement gathers information
about both the software process and the
software product

Product quality metrics should be used to identify
potentially problematical components

There are no standardised and universally
applicable software metrics

More Related Content

PPT
Lesson 01.ppt
PPT
Ppt en 5
PPT
Quality management 27
PPTX
Ch24-Software Engineering 9
PPT
Ch27 (1)
PPT
7.quality management chapter 7
PPT
SWE 333 - ISQM ISO 9000-3.ppt
Lesson 01.ppt
Ppt en 5
Quality management 27
Ch24-Software Engineering 9
Ch27 (1)
7.quality management chapter 7
SWE 333 - ISQM ISO 9000-3.ppt

Similar to ch24_quality Management in software engineering.ppt (20)

PPT
PPTX
Ch24 quality management
PPTX
SE - Lecture 7 - Software Quality Reliability Mgmt - in lecture.pptx
PPTX
Software Quality.pptx
PPTX
Ch24 - Quality Management
PPT
Episode 24 : Project Quality Management
PPT
8.Software Quality.ppt in software testing field
PPT
Software Engineering - Software Quality.ppt
PPT
PPT
Software Quality Assurance Description ppt
PPTX
Software Quality Analyst and Software Quality Management
PPT
Quality Management
PPT
Ch27
PPT
Quality Mangt
PPTX
software engineering
PPT
PPT
SQAzXzXZXZXZsadasdawdasccascascascascasc.ppt
PPT
Software Quality Assurance class 1
PPT
unit-5-1.ppt
Ch24 quality management
SE - Lecture 7 - Software Quality Reliability Mgmt - in lecture.pptx
Software Quality.pptx
Ch24 - Quality Management
Episode 24 : Project Quality Management
8.Software Quality.ppt in software testing field
Software Engineering - Software Quality.ppt
Software Quality Assurance Description ppt
Software Quality Analyst and Software Quality Management
Quality Management
Ch27
Quality Mangt
software engineering
SQAzXzXZXZXZsadasdawdasccascascascascasc.ppt
Software Quality Assurance class 1
unit-5-1.ppt
Ad

More from nilampatoliya (15)

PPTX
Ch2 Elementry Programmin as per gtu oop.pptx
PPTX
Ch 8 Multidimensional Array in oop as per gtu.pptx
PPTX
ch 7 single dimension array in oop .pptx
PPTX
ch 4 mathematical function character and string.pptx
PDF
Fundamental_Rights__Fundamental_Duties_Revision_no_anno.pdf
PPTX
unit-5 Data Wrandling weightage marks.pptx
PPTX
Software Quality Assurance and Software Quality Standards.pptx
PPTX
UNIT1-Introduction to Software and Software Engineering.pptx
PPT
unit 8 project closure software project management.ppt
PPTX
Unit - 3 - Non Linear Data Structures.pptx
PPTX
context free grammer ppt of theory of computationoc.pptx
PPTX
Unit 3 Basic of Machine Learning gtu.pptx
PPTX
SE-Unit 2_ Requirement Analysis and Modeling.pptx
PPTX
SE-Unit 4_software testing stretagy.pptx
PPTX
SE-Unit 3_Software Architecture and Design.pptx
Ch2 Elementry Programmin as per gtu oop.pptx
Ch 8 Multidimensional Array in oop as per gtu.pptx
ch 7 single dimension array in oop .pptx
ch 4 mathematical function character and string.pptx
Fundamental_Rights__Fundamental_Duties_Revision_no_anno.pdf
unit-5 Data Wrandling weightage marks.pptx
Software Quality Assurance and Software Quality Standards.pptx
UNIT1-Introduction to Software and Software Engineering.pptx
unit 8 project closure software project management.ppt
Unit - 3 - Non Linear Data Structures.pptx
context free grammer ppt of theory of computationoc.pptx
Unit 3 Basic of Machine Learning gtu.pptx
SE-Unit 2_ Requirement Analysis and Modeling.pptx
SE-Unit 4_software testing stretagy.pptx
SE-Unit 3_Software Architecture and Design.pptx
Ad

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
UNIT 4 Total Quality Management .pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
OOP with Java - Java Introduction (Basics)
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Internet of Things (IOT) - A guide to understanding
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Foundation to blockchain - A guide to Blockchain Tech
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Automation-in-Manufacturing-Chapter-Introduction.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Model Code of Practice - Construction Work - 21102022 .pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Lecture Notes Electrical Wiring System Components
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
UNIT 4 Total Quality Management .pptx
Mechanical Engineering MATERIALS Selection
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
OOP with Java - Java Introduction (Basics)

ch24_quality Management in software engineering.ppt

  • 1. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 1 Chapter 24 Quality Management
  • 2. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 2 Quality Management  Managing the quality of the software process and products
  • 3. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 3 Objectives  To introduce the quality management process and key quality management activities  To explain the role of standards in quality management  To explain the concept of a software metric, predictor metrics and control metrics  To explain how measurement may be used in assessing software quality
  • 4. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 4 Topics covered  Quality assurance and standards  Quality planning  Quality control  Software measurement and metrics
  • 5. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 5 Software quality management  Concerned with ensuring that the required level of quality is achieved in a software product  Involves defining appropriate quality standards and procedures and ensuring that these are followed  Should aim to develop a ‘quality culture’ where quality is seen as everyone’s responsibility
  • 6. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 6 What is quality?  Quality, simplistically, means that a product should meet its specification  This is problematical for software systems • Tension between customer quality requirements (efficiency, reliability, etc.) and developer quality requirements (maintainability, reusability, etc.) • Some quality requirements are difficult to specify in an unambiguous way • Software specifications are usually incomplete and often inconsistent
  • 7. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 7 The quality compromise  We cannot wait for specifications to improve before paying attention to quality management  Must put procedures into place to improve quality in spite of imperfect specification  Quality management is therefore not just concerned with reducing defects but also with other product qualities
  • 8. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 8 Quality management activities  Quality assurance • Establish organisational procedures and standards for quality  Quality planning • Select applicable procedures and standards for a particular project and modify these as required  Quality control • Ensure that procedures and standards are followed by the software development team  Quality management should be separate from project management to ensure independence
  • 9. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 9 Quality management and software development
  • 10. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 10 ISO 9000  International set ofstandards for quality management  Applicable to a range of organisations from manufacturing to service industries  ISO 9001 applicable to organisations which design, develop and maintain products  ISO 9001 is a generic model of the quality process Must be instantiated for each organisation
  • 11. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 11 ISO 9001
  • 12. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 12 ISO 9000 certification  Quality standards and procedures should be documented in an organisational quality manual  External body may certify that an organisation’s quality manual conforms to ISO 9000 standards  Customers are, increasingly, demanding that suppliers are ISO 9000 certified
  • 13. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 13 ISO 9000 and quality management
  • 14. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 14  Standards are the key to effective quality management  They may be international, national, organizational or project standards  Product standards define characteristics that all components should exhibit e.g. a common programming style  Process standards define how the software process should be enacted Quality assurance and standards
  • 15. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 15  Encapsulation of best practice- avoids repetition of past mistakes  Framework for quality assurance process - it involves checking standard compliance  Provide continuity - new staff can understand the organisation by understand the standards applied Importance of standards
  • 16. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 16 Product and process standards
  • 17. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 17 Problems with standards  Not seen as relevant and up-to-date by software engineers  Involve too much bureaucratic form filling  Unsupported by software tools so tedious manual work is involved to maintain standards
  • 18. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 18  Involve practitioners in development. Engineers should understand the rationale underlying a standard  Review standards and their usage regularly. Standards can quickly become outdated and this reduces their credibility amongst practitioners  Detailed standards should have associated tool support. Excessive clerical work is the most significant complaint against standards Standards development
  • 19. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 19 Documentation standards  Particularly important - documents are the tangible manifestation of the software  Documentation process standards • How documents should be developed, validated and maintained  Document standards • Concerned with document contents, structure, and appearance  Document interchange standards • How documents are stored and interchanged between different documentation systems
  • 20. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 20 Documentation process
  • 21. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 21 Document standards  Document identification standards • How documents are uniquely identified  Document structure standards • Standard structure for project documents  Document presentation standards • Define fonts and styles, use of logos, etc.  Document update standards • Define how changes from previous versions are reflected in a document
  • 22. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 22 Document interchange standards  Documents are produced using different systems and on different computers  Interchange standards allow electronic documents to be exchanged, mailed, etc.  Need for archiving. The lifetime of word processing systems may be much less than the lifetime of the software being documented  XML is an emerging standard for document interchange which will be widely supported in future
  • 23. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 23  The quality of a developed product is influenced by the quality of the production process  Particularly important in software development as some product quality attributes are hard to assess  However, there is a very complex and poorly understood between software processes and product quality Process and product quality
  • 24. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 24 Process-based quality  Straightforward link between process and product in manufactured goods  More complex for software because: • The application of individual skills and experience is particularly imporant in software development • External factors such as the novelty of an application or the need for an accelerated development schedule may impair product quality  Care must be taken not to impose inappropriate process standards
  • 25. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 25 Process-based quality
  • 26. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 26  Define process standards such as how reviews should be conducted, configuration management, etc.  Monitor the development process to ensure that standards are being followed  Report on the process to project management and software procurer Practical process quality
  • 27. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 27 Quality planning  A quality plan sets out the desired product qualities and how these are assessed ande define the most significant quality attributes  It should define the quality assessment process  It should set out which organisational standards should be applied and, if necessary, define new standards
  • 28. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 28 Quality plan structure  Product introduction  Product plans  Process descriptions  Quality goals  Risks and risk management  Quality plans should be short, succinct documents • If they are too long, no-one will read them
  • 29. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 29 Software quality attributes
  • 30. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 30 Quality control  Checking the software development process to ensure that procedures and standards are being followed  Two approaches to quality control • Quality reviews • Automated software assessment and software measurement
  • 31. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 31 Quality reviews  The principal method of validating the quality of a process or of a product  Group examined part or all of a process or system and its documentation to find potential problems  There are different types of review with different objectives • Inspections for defect removal (product) • Reviews for progress assessment(product and process) • Quality reviews (product and standards)
  • 32. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 32 Types of review
  • 33. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 33  A group of people carefully examine part or all of a software system and its associated documentation.  Code, designs, specifications, test plans, standards, etc. can all be reviewed.  Software or documents may be 'signed off' at a review which signifies that progress to the next development stage has been approved by management. Quality reviews
  • 34. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 34 The review process
  • 35. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 35 Review functions  Quality function - they are part of the general quality management process  Project management function - they provide information for project managers  Training and communication function - product knowledge is passed between development team members
  • 36. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 36 Quality reviews  Objective is the discovery of system defects and inconsistencies  Any documents produced in the process may be reviewed  Review teams should be relatively small and reviews should be fairly short  Review should be recorded and records maintained
  • 37. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 37  Comments made during the review should be classified. • No action. No change to the software or documentation is required. • Refer for repair. Designer or programmer should correct an identified fault. • Reconsider overall design. The problem identified in the review impacts other parts of the design. Some overall judgement must be made about the most cost-effective way of solving the problem.  Requirements and specification errors may have to be referred to the client. Review results
  • 38. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 38 Software measurement and metrics  Software measurement is concerned with deriving a numeric value for an attribute of a software product or process  This allows for objective comparisons between techniques and processes  Although some companies have introduced measurment programmes, the systematic use of measurement is still uncommon  There are few standards in this area
  • 39. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 39  Any type of measurement which relates to a software system, process or related documentation • Lines of code in a program, the Fog index, number of person-days required to develop a component  Allow the software and the software process to be quantified  Measures of the software process or product  May be used to predict product attributes or to control the software process Software metric
  • 40. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 40 Predictor and control metrics
  • 41. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 41  A software property can be measured  The relationship exists between what we can measure and what we want to know  This relationship has been formalized and validated  It may be difficult to relate what can be measured to desirable quality attributes Metrics assumptions
  • 42. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 42 Internal and external attributes
  • 43. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 43 The measurement process  A software measurement process may be part of a quality control process  Data collected during this process should be maintained as an organisational resource  Once a measurement database has been established, comparisons across projects become possible
  • 44. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 44 Product measurement process
  • 45. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 45 Data collection  A metrics programme should be based on a set of product and process data  Data should be collected immediately (not in retrospect) and, if possible, automatically  Three types of automatic data collection • Static product analysis • Dynamic product analysis • Process data collation
  • 46. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 46 Automated data collection
  • 47. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 47 Data accuracy  Don’t collect unnecessary data • The questions to be answered should be decided in advance and the required data identified  Tell people why the data is being collected • It should not be part of personnel evaluation  Don’t rely on memory • Collect data when it is generated not after a project has finished
  • 48. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 48  A quality metric should be a predictor of product quality  Classes of product metric • Dynamic metrics which are collected by measurements made of a program in execution • Static metrics which are collected by measurements made of the system representations • Dynamic metrics help assess efficiency and reliability; static metrics help assess complexity, understandability and maintainability Product metrics
  • 49. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 49 Dynamic and static metrics  Dynamic metrics are closely related to software quality attributes • It is relatively easy to measure the response time of a system (performance attribute) or the number of failures (reliability attribute)  Static metrics have an indirect relationship with quality attributes • You need to try and derive a relationship between these metrics and properties such as complexity, understandability and maintainability
  • 50. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 50 Software product metrics
  • 51. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 51 Object-oriented metrics
  • 52. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 52 Measurement analysis  It is not always obvious what data means • Analysing collected data is very difficult  Professional statisticians should be consulted if available  Data analysis must take local circumstances into account
  • 53. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 53 Measurement surprises  Reducing the number of faults in a program leads to an increased number of help desk calls • The program is now thought of as more reliable and so has a wider more diverse market. The percentage of users who call the help desk may have decreased but the total may increase • A more reliable system is used in a different way from a system where users work around the faults. This leads to more help desk calls
  • 54. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 54 Key points  Software quality management is concerned with ensuring that software meets its required standards  Quality assurance procedures should be documented in an organisational quality manual  Software standards are an encapsulation of best practice  Reviews are the most widely used approach for assessing software quality
  • 55. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 24 Slide 55 Key points  Software measurement gathers information about both the software process and the software product  Product quality metrics should be used to identify potentially problematical components  There are no standardised and universally applicable software metrics