• Keine Ergebnisse gefunden

ManagementDr. Stefan Wagner

N/A
N/A
Protected

Academic year: 2021

Aktie "ManagementDr. Stefan Wagner"

Copied!
27
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Technische Universität München

Management

Dr. Stefan Wagner

Technische Universität München

Garching 2 July 2010

Software Quality

1

(2)

Last QOT: What is the most important principle in lean development?

"Slow decisions"

"Perfection: Continuously improve the performance of your value stream"

"Best quality"

2

Of course, there is not the single most important principle in lean.

We discussed that continuous improvement and respect for people are the main pillars, but there

are many other principles in lean.

Slow decisions, quick implementation is one of these principles.

Best quality is a goal of lean.

New QOT: "What is the difference between V&V?"

(3)

Process

simulation

Lean

development

3

Review of last week's lecture.

(4)

Product

Metrics and

Measurement

Management

Certifi- cation Process

Quality

Quality Quality Basics

4

We are in the part "Quality Management".

(5)

Approaches Quality assurance

planning

5

Today we look at a brief overview of approaches and at quality assurance planning in particular.

Upper picture by Ulrik De Wachter Lower picture by Trine de Florie

(6)

Quality Management

Quality

Planning Quality

Assurance Quality

Control Quality

Improvement

Quality Evaluation Quality Assessment

6

Quality management contains several other activities.

The terminology differs in the literature. It depends what standard or book you use.

It usually contains

quality planning that is considered with specifying quality and planning the activities for achieving quality

quality assurance that are activities that should raise confidence that the quality requirements are achieved

quality control that checks whether the quality requirements have been achieved

quality improvment that contains activities for improving anything related to quality

quality evaluation or assessment that checks the current level of quality

(7)

Total quality management

• Customer focus

• Process

• Human side of quality

• Measurement and analysis

Kan, Basili, Shapiro (1994)

7

The following summary of the key elements of TQM is from Ken, Basili, Shapiro (1994):

Customer focus: the objective is to achieve total customer satisfaction. Customer focus includes studying customers' wants and needs, gathering customer requirements, and measuring and managing customer satisfaction.

Process: the objective is to reduce process variations and to achieve continuous process improvement. Process includes both the business process and the product development process. Through process improvement, product quality will be enhanced.

Human side of quality: the objective is to create a company-wide quality culture. Focus areas include management commitment, total participation, employee empowerment, and other social, psychological, and human factors.

Measurement and analysis: the objective is to drive continuous improvement in all quality parameters by the goal-oriented measurement system.

(8)

Deming cycle

8

Deming cycle, Shewhart cycle, PDCA cycle

Plan: Establish objectives and corresponding process to achieve the objectives Do: Implement the process

Check: Measure the process and compare to expected results

Act: Analyse the differences, find root causes (e.g., by 5-Whys), determine improvements

Graphic from Karn G. Bulsuk (http://karnbulsuk.blogspot.com)

(9)

Cost of quality

Cost of quality

Control costs

Failure of control

costs

Prevention costs

Appraisal costs

Internal failure

costs

External failure

costs Feigenbaum, 1991

9

The cost of quality approach was developed by Feigenbaum and others, initially without having software in mind.

It categorises the costs that arise around quality. First, there are costs to control quality and costs that arise if

we fail to control quality.

Second, the control costs are either prevention costs, we prevent defects from being introduced, or appraisal

costs, we search for defects. The failure of control costs are either internal failure costs that are costs that we

have to remove the defect inside the company or external failure costs that are also removal costs, but possible

compensations to customers, for example.

(10)

Cost

Quality level Total cost of software quality

Total control cost Total failure of control cost Minimal total cost

Optimal quality level

10

This cost of quality diagram is adapted from Galin (2004).

It shows that, following the cost of quality approach, there is an optimal level of quality for a product. It is

the point at which the sum of control costs and failure of control costs is minimal.

(11)

Schedule

Cost Quality

Quality is free!

11

The "quality is free" statement comes from Crosby. It is – in contrast to the common belief from the

magical triangle – based on the cost of quality approach and means that as long as we are below the

optimal quality level, improvements in quality save money instead of cost money.

(12)

Excercise

• What is cost of quality in software?

• Find one example for each cost of software quality category:

– Prevention costs – Appraisal costs

– Internal failure costs – External failure costs

• On post-its

• 4 Groups, 10 minutes

• Put on whiteboard when ready

12

(13)

13

(14)

Approaches Quality assurance

planning

14

Upper picture by Ulrik De Wachter Lower picture by Trine de Florie

(15)

"Quality is never an accident;

it is always the result of high intention,

sincere effort, intelligent direction and skillful execution;

it represents the wise choice of many alternatives."

–William A. Foster

15

(16)

Quality assurance process

Select work products

Create and maintain

criteria

Evaluate work products

Identify non- conformance

Identify lessons learned

based on CMMI PPQA

16

The Process and Product Quality Assurance process area involves the following:

• Objectively evaluating performed processes, work products, and services against the applicable process descriptions, standards, and procedures

• Identifying and documenting noncompliance issues

• Providing feedback to project staff and managers on the results of quality assurance activities

• Ensuring that noncompliance issues are addressed

(17)

Verification & validation

Product Stakeholder

Requirements

Validation Verification

17

Verification: Have we done the product right?

Validation: Have we done the right product?

(18)

V&V planning

Processes Overview

Reporting requirements

Administrative requirements

Test

documentation requirements

IEEE Std. 1012-2004

18

These are the main sections that the standard proposes for a V&V plan.

(19)

V&V planning overview

• Organisation

• Master schedule

• Software integrity level scheme

• Resources summary

• Responsibilities

• Tools, techniques, methods

19

(20)

V&V processes

• Management of V&V

• Akquisition V&V

• Planning V&V

• Requirements V&V

• Design V&V

• Implementation V&V

• ...

20

(21)

E [d(t)] = u + e(t) + �

i

(1 − θ(i, t))v (i) Quality economics optimisation

Setup costs

Product

Execution

costs Removal costs Effort t

Fault i detected with difficulty θ

Wagner (2008)

21

This is a part of a theory that describes quality economics of analytical quality assurance.

It states that there are always fixed setup costs, e.g., setting up a test environment, flexible execution costs,

e.g., a varying number of test cases, and removal costs depending on the defect detection.

It is important here that the core is the difficulty θ. It is dependent on the fault to be detected and the

used defect detection technique. Different defect detection techniques are more or less capable of finding

different defects.

(22)

Wojcicki and Strooper

A B C D

1 L[M] L[M]

2 M[H] M[H]

3 L[M]

4 H[H] H[M]

Step 1: Pre-selection

Step 2: Maximise completeness Step 3: Minimise effort

Step 4: Post-selection

22

Wojcicki and Strooper proposed a very simplified approach to build a V&V plan that, however, can give a

first direction. For the defect detection techniques 1-4, we have to estimate the effort and effectiveness for

finding the defect types A-D.

Then we go through the 4 steps, possibly in iterations, to reach a first V&V plan.

(23)

Excercise

• Find best V&V plan for the following data

• Group work

• 10 minutes

Timing Interface Function Docum.

Bug finding

tools L[H]

Inspection with checklist

H[L] H[M] M[H]

WB test H[M] M[H] H[H]

BB test H[L] M[M] H[H]

Effort[Effectiveness]

23

I would expect:

Inspection with checklist is needed because its the only technique that finds documentation defects

As inspections do not find timing defects, we need either white-box or black-box tests.

Because BB tests have lower effort there, we choose black-box test.

The QA plan hence consists of inspections with checklists and black-box tests.

Of course there are dependencies between the techniques. It might be desirable to use bug finding tools in addition, because

(1) it has a higher effectiveness in interface defects and

(2) it needs only low effort that might lead to less effort in inspections and black-box tests.

(24)

IEEE Std. 730-2002

• Software quality assurance plan

• Documentation

• Software reviews

• Tests

• Problem reporting and corrective action

• Tools, techniques, methodologies

• Risk management

24

This standard goes beyond V&V and defines a structure for a complete quality assurance plan, which includes,

for example, the problem reporting process and tools as well as risk management.

(25)

Quality gates

Define,

design Code, Integrate

unit test

Quality gate 1 Quality gate 2

25

Quality gates define specific criteria that have to be met to be allowed to go to the next phase.

(26)

Plans are only good intentions unless they immediately

degenerate into hard work. 

–Peter Drucker

26

(27)

Approaches Quality assurance

planning

27

Upper picture by Ulrik De Wachter Lower picture by Trine de Florie

Abbildung

Graphic from Karn G. Bulsuk (http://karnbulsuk.blogspot.com)

Referenzen

ÄHNLICHE DOKUMENTE

Nelsen and Daniels‟s (2007) definition of quality is invalid according to Routio‟s (2009) criteria as the two parts of this definition ignores the requirements of the

Domain experts and data quality experts are responsible for maintaining local product ontology aspects (i.e., schema con-.. cepts, individuals, and attributes) in relation to the

Indivisible (single) particles à no coincidences (Elementary) Particles explain:. •  No inner

Luiz informed Albuquerque "that the king of Narsinga was getting himself ready with .five thousand men on foot and two thousand on horse, for an expedition

The maturity levels in CMMI describe the level of maturity of the current process. The initial level is ad-hoc and can

In this example, the probability that the process goes from the state "executing tests" to the state "documenting failures".. is 70%, to the state "writing

Top-3 risk item list for satellite experiment software. Risk item Monthly ranking Monthly ranking Monthly ranking Risk resolution

Therefore, we use control charts to control the process and distinguish common cause and special cause variations. We define control limits (UCL=upper control limit, LCL=lower