Docsity

Quality Control - Software and Systems Project Management - Lecture Slides, Slides of Software Project Management

Partial preview of the text

Download Quality Control - Software and Systems Project Management - Lecture Slides and more Slides Software Project Management in PDF only on Docsity!

Quality Control

"Quality must be built in at the design

stage. It may be too late once plans are

on their way."

  • W. Edwards Deming

Perform quality control

Perform quality control is concerned with monitoring specific

project results for compliance with quality standards

 Performed throughout project

 May also include taking control actions to correct causes of

quality problems

Perform quality assurance is the process that provides the

framework of activities and standards for performing quality

control

Role of the SQA Group – II

 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.

 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.

Software Quality Assurance

 The area of Software Quality Assurance can be broken

down into a number of smaller areas such as

 quality of planning,

 formal technical reviews,

 testing

and

 training.

 Here we take a look at Formal Technical Review methods

and Testing ...

Formal Technical Reviews

 Walkthroughs

 The least formal and most common kind of review is the walkthrough , which is any meeting at which two or more developers review technical work with the purpose of improving its quality.  Walkthroughs are useful to rapid development because you can use them to detect defects earlier than you can with testing.

Formal Technical Reviews

 Inspections and Code Reading

Code reading is a somewhat more formal review process than a walkthrough but nominally applies only to code.  In code reading, the author of the code hands out source listings to two or more reviewers. The reviewers read the code and report any errors to the code's author.

Formal Technical Reviews

 Round-robin reviews

Each reviewer gets to present their comments on the product. The reviewers present one comment at a time. The person to the left of the leader starts, the reviewer to their left goes next, and so on, around the table (telephonic attendees are assigned an arbitrary order).

“QA” & Testing

 Testing “Phases”

 Unit

 Integration

 System

 User Acceptance

Testing

 Testing Types

 Black-box

 White-box

 Static vs. Dynamic

Testing

 Automated Testing

 Pros and cons

 Defect tracking

 Integration: 2 types

 Top down

 Bottom up

Defect Metrics

 Why do we measure defects? Why do we track the defect count when

monitoring the execution of software projects? What does this tell us?

 Defect counts indicate how well the system is implemented and how

effectively testing is finding defects.  Low defect counts may mean that testing is not uncovering defects.  Defect counts that continue to be high over time may indicate a larger problem, » inaccurate requirements, incomplete design and coding, premature testing, lack of application knowledge, or inadequately trained team.

 Defect trends provide a basis for deciding on when testing has

completed. When the number of defects found falls dramatically, given a constant level of testing, the product is becoming stable and moving to the next phase is feasible. Look at the next slide.

 [See also notes.]

The Rayleigh Distribution

If we graph defects over time they will show a Rayleigh distribution

Rc =

k is a constant representing the time at which defects peak.

Note the tail to the distribution.

We see this same curve in other areas as well. Specifically in reliability and quality.

e-t

t^2 /2k^2

k^2

Defect frequency

k Time

Basic tools of quality

 Cause-and-effect (fishbone, Ishikawa) diagram

 Shows the relationship between the effects of problems and their causes  See lecture 6 slide 55-58 and PMP Study Guide, p. 249

 Control chart

 Maps the variation of a project variable ( e.g. number of defects) as a function of time relative to a baseline value and within boundaries of ±3σ » Baseline may be established after sufficient project variable data are available  Acceptable upper and lower boundaries of variable values are called the Upper Control Limit (UCL) and Lower Control Limit (LCL), respectively

Basic tools of quality

Time

Upper Control Limit

Lower Control Limit

Baseline value

+3σ

  • 3σ

+2σ

  • 2σ

+1σ

  • 1σ Number of Defects

Baseline establishment

Control Chart

x

Basic tools of quality

Team A Team B (^) Team C Team D

Number of Defects 2

4

6

Histogram Team C Team A Team B Team D

Number of Defects

2

4

6

10

8

12

25

50

75

100

% of Defects

Pareto Chart

Basic tools of quality

 Run chart

 Time series showing the value of a project variable as a function of time  A run chart is a more general version of a control chart: it is mostly used for trend analysis rather than project control decisions. Look for patterns.

 Scatter diagram

 x-y plot showing the relationship between two project variables  A mathematical equation representing relationship between variables can be found using regression analysis (simple or multivariate)

 [See notes.]