Software Quality - Lecture 12 Slides 2011 - Computer Science, Slides of Computer Science

Mr. Umer Faiz teaches Software Engineering and Software Quality at Bachelors and Masters Levels. He is considered to be one of the best teachers at PIEAS. This is a series of his lectures on Software Quality.

Typology: Slides

2010/2011

Uploaded on 10/31/2011

naachiz
naachiz 🇵🇰

4.5

(24)

34 documents

1 / 131

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Department of Computer & Information Sciences
Pakistan Institute of Engineering and Applied Sciences
Department of Computer & Information Sciences
Pakistan Institute of Engineering and Applied Sciences
Software Quality
Software
Quality
Lecture 11
Q lit T l i S ft D l t
Q
ua
lit
y
T
oo
l
s
i
n
S
o
ft
ware
D
eve
l
opmen
t
Umar Faiz
http://www.pieas.edu.pk/umarfaiz/cis441
Software Quality
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Software Quality - Lecture 12 Slides 2011 - Computer Science and more Slides Computer Science in PDF only on Docsity!

Department of Computer & Information Sciences Department of Computer & Information SciencesPakistan Institute of Engineering and Applied SciencesPakistan Institute of Engineering and Applied Sciences

Software QualitySoftware

Quality

Lecture 11

Q

lit T

l i S ft

D

l^

t

Q

uality Tools in Software Development

Umar Faiz

http://www.pieas.edu.pk/umarfaiz/cis

Software Quality

Quality

Tools

in

Software

Development

Objectives

ƒ^

To

define

problems

and

apply

a

structured

approach

to

bl problem. ƒ^

To

identify

work

as

a

process

with

inputs

and

outputs.

ƒ^

To apply the basic tools of improvement to variousTo

apply

the

basic

tools

of

improvement

to

various

problems

and

analyses

ƒ^

To

make

more

informed

decisions

based

on

facts

and

data

To understand how to determine if a process is in controlTo

understand

how

to

determine

if

a

process

is

in

control

and

capable

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

What

is

Problem

Solving?

ƒ^

The

systematic

investigation

of

a

process

to

identify

the

lik l

ROOT CAUSE

f h

most

lik

ely

ROOT

CAUSE

of

the

gap

ƒ^

Taking

corrective

action

to

eliminate

the

gap

ƒ^

Keeping the problem from occurring in the futureKeeping

the

problem

from

occurring

in

the

future

A

Good

Problem

Solver

ƒ^

Fixes the problem quickly ƒ^

Fixes

the

problem

quickly

ƒ^

Corrects

the

cause

of

the

problem

ƒ^

Fixes

the

p

roblem

so

it

stays

fixed

p

y

ƒ^

Doesn’t

create

new

problems

ƒ^

Extends

the

fix

into

preventive

action

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Classification

of

Scales

ƒ^

The

basic

statistical

tools

for

quality

control

promoted

by

K

I hik

id l

d i

f^

i

K

aoru

I

shikawa

are

widely

used

in

manufacturing

productions. ƒ^

Ishikawa

developed

seven

basic

visual

tools

of

quality

so

that

the

average

person

could

analyze

and

interpret

data.

ƒ^

These

tools

have

been

used

worldwide

by

companies,

managers

of

all

levels

and

employees.

g^

p

y

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Data

and

Information

ƒ^

In

order

to

plan

for

good

data

collection,

ask

these

i

questions:

ƒ^

What

question

do

we

need

to

answer?

ƒ^

What

data

analysis

tools

(Pareto,

histogram,

etc.)

do

we

envision

y^

(^

,^

g^

,^

)

using,

and

how

will

we

communicate

the

results?

ƒ^

What

type

of

data

do

we

need

in

order

to

construct

this

tool

an

answer

this

q

uestion?q

ƒ^

Where

in

the

process

can

we

get

this

data?

ƒ^

Who

in

the

process

can

give

us

this

data?

ƒ^

How can we collect this data from these people with minimum ƒ^

How

can

we

collect

this

data

from

these

people

with

minimum

effort

and

chance

of

error

ƒ^

What

additional

information

do

we

need

to

capture

for

future

analysis?

http://www.pieas.edu.pk/umarfaiz/cis

analysis?

Quality

Tools

in

Software

Development

Discrete

Attribute

Data

ƒ^

Places

data

into

“discrete”

classes

ƒ^

Sometimes

simply

called

“discrete:

or

“attribute”

ƒ^

Examples

include:

conforming

and

nonconforming,

on

time and late; excellent good fair and poor; types oftime

and

late;

excellent

,^ good

,^

fair

,^

and

poor;

types

of

defects

Continuous

Variable

Data

ƒ^

Actual

measurement

values

ƒ^

Often

simply

referred

to

as

continuous

data

ƒ^

Have

many

more

uses

than

simple

discrete

data

ƒ^

Examples

include

tensile,

load

deflection,

length,

weight

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Measures

of

Central

Tendency

(or

Location)

ƒ^

The

Mean

ƒ^

The

Median

ƒ^

The

Mode

Measures

of

Variation

(or

Spread)

ƒ^

The Range ƒ^

The

Range

ƒ^

The

Variance

ƒ^

The

Standard

Deviation

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Variation

ƒ^

Variation

is

the

difference

in

the

measured

output

of

a

process ƒ^

Everything

has

some

amount

of

variation

ƒ^

Over time variation in the measured output from aOver

time

,^ variation

in

the

measured

output

from

a

process

will

follow

a

pattern.

ƒ^

A

histogram

is

one

tool

that

helps

us

keep

track

of

variationvariation

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Ishikawa's

Seven

Basic

Tools

ƒ^

Ishikawa's

seven

basic

tools

for

quality

control

are

ƒ^

Checklist

(or

check

sheet)

ƒ^

Pareto

diagram

ƒ^

HistogramHistogram ƒ^

Scatter

diagram

ƒ^

Run

chart

l^

h

ƒ^

Control

chart

ƒ^

Cause

‐and

‐effect

diagram

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Ishikawa’s

Basic

Tools

of

Quality

Checklist

Checklist

Check

sheet)

(^

ƒ^

A

check

sheet

used

to

help

the

quality

of

a

process

or

product

is

a

“checklist”h^

l^

l

ƒ^

Used

to

gather

data

easily,

consistently,

and

in

a

standard

format

ƒ^

Helps

to

define

key

p

arts

of

a

p

rocess,

and

make

sure

they

are

all

p^

y p

p^

y

performed ƒ^

Examples

include

code

inspection

checklist,

detailed

test

procedures

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Ishikawa’s

Basic

Tools

of

Quality

Checklist

Setting

up

a

Checklist

Check

sheet)

g

p

(^

ƒ^

Identify

common

defects

occurring

in

the

process.

ƒ^

Draw

a

table

with

common

defects

in

the

left

column

and

h

f h

l^

k h

time

period

across

the

tops

of

the

columns

to

track

the

defects. ƒ^

The

user

of

the

check

sheet

then

p

laces

check

marks

on

p

the

sheet

whenever

the

defect

is

encountered.

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Ishikawa’s

Basic

Tools

of

Quality

Checklist

Examples

of

Checklist

Check

sheet)

p

(^

ƒ^

Defect

Prevention

Process

(DPP)

ƒ^

DPP

involves

three

key

steps:

Analysis

of

defects

to

trace

the

root

causes

Action

teams

to

implement

suggested

actions

Stage

kickoff

meetings

as

the

major

feedback

mechanism

http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Ishikawa’s

Basic

Tools

of

Quality

  • Pareto

Chart

Pareto

Chart

Defined

ƒ^

A

special

type

of

bar

graph

that

displays

problems

in

order

of

frequency

h

f^

bl

ƒ^

Pareto

charts

are

used

to

identify

and

prioritize

problems

to

be

solved.

ƒ^

They

are

actually

histograms

aided

by

the

rule

y^

y^

g^

y^

adapted

by

Joseph

Juran.

ƒ^

Remember

the

80/

rule

states

that

approximately

80%

of

the

problems are created by approximately 20% of the causes.problems

are

created

by

approximately

20%

of

the

causes. http://www.pieas.edu.pk/umarfaiz/cis

Quality

Tools

in

Software

Development

Ishikawa’s

Basic

Tools

of

Quality

  • Pareto

Chart

Constructing

a

Pareto

Chart

g

ƒ^

Pareto

Charts

are

used

when

products

are

suffering

from

different

defects

but

the

defects

are

occurring

at

a

different frequency or only a few account for most of thedifferent

frequency

,^

or

only

a

few

account

for

most

of

the

defects

present,

or

different

defects

incur

different

costs.

What

we

see

from

that

is

a

product

line

may

experience

a

range of defects.range

of

defects.

ƒ^

The

manufacturer

could

concentrate

on

reducing

the

defects

which

make

up

a

bigger

percentage

of

all

the

defects or focus on eliminating the defect that causesdefects

or

focus

on

eliminating

the

defect

that

causes

monetary

loss.

http://www.pieas.edu.pk/umarfaiz/cis