CSE 8314 - SW Metrics and Quality Engineering Copyright © 1995-2001, Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 1 SMU CSE 8314 /

Slides:



Advertisements
Similar presentations
Brin Tracy Marriott School of Management
Advertisements

Chapter 4 Quality Assurance in Context
Software Quality Assurance Inspection by Ross Simmerman Software developers follow a method of software quality assurance and try to eliminate bugs prior.
CHAPTER 1 Introduction to SQA.
Stepan Potiyenko ISS Sr.SW Developer.
Chapter 10 Quality Control McGraw-Hill/Irwin
What is Software Quality?. Popular View of Quality  Quality is an intangible trait.  “I know it when I see it.”  I.e., it is interpreted in different.
Overview Lesson 10,11 - Software Quality Assurance
OHT 2.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 What is software? Software errors, faults and failures Classification.
Managing Quality 1. Quality Back in 1964 a Justice of the US Supreme Court, Potter Stewart, wrote in an opinion something to the effect that obscene was.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation.
SOFTWARE PROJECT MANAGEMENT Project Quality Management Dr. Ahmet TÜMAY, PMP.
© 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
OHT 2.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality - continued So let’s move on to ‘exactly’ what we mean.
1CMSC 345, Version 4/04 Verification and Validation Reference: Software Engineering, Ian Sommerville, 6th edition, Chapter 19.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Extreme Programming.
Chapter 1 Enterprise Wide View.
What is Software Engineering? the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software”
Quality Assurance ITEC Rick Price. Expectations This course is not purely a lecture course – Classroom participation is a large portion – Everyone.
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation.
CPIS 357 Software Quality & Testing I.Rehab Bahaaddin Ashary Faculty of Computing and Information Technology Information Systems Department Fall 2010.
Quality Control Project Management Unit Credit Value : 4 Essential
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 1: Software and Software Engineering.
Extreme/Agile Programming Prabhaker Mateti. ACK These slides are collected from many authors along with a few of mine. Many thanks to all these authors.
Software Project Management Lecture # 10. Outline Quality Management (chapter 26)  What is quality?  Meaning of Quality in Various Context  Some quality.
This chapter is extracted from Sommerville’s slides. Text book chapter
Creator: ACSession No: 15 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringFebruary 2006 Software Quality Assurance & Software Quality Control.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 1: Software and Software Engineering.
OHT 1.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 The uniqueness of software quality assurance The environments for which.
About Quality Pre paired By: Muhammad Azhar. Scope What is Quality Quality Attributes Conclusion on software Quality Quality Concepts Quality Costs.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M10 8/20/2001Slide 1 SMU CSE 8314 /
THE SQA CHARTER Find defects so they can be REMOVED Anticipate defects so they can be PREVENTED.  Software Quality Assurance 
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin 8-1 Chapter Eight Audit Sampling: An Overview and Application.
Chapter 16 Implementing Quality Concepts Cost Accounting Foundations and Evolutions Kinney, Prather, Raiborn.
January 20, 2000 CSE SW Project Management / Chapter 12 – Software Quality Engineering & Assurance Copyright © , Dennis J. Frailey, All.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M15 version 5.09Slide 1 SMU CSE.
CS223: Software Engineering Lecture 2: Introduction to Software Engineering.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M31 version 5.09Slide 1 SMU CSE.
Module 03 The Context for Quality Improvement
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M13 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M37 8/20/2001Slide 1 SMU CSE 8314 /
Quality management Chapter One. Outline of the course 1- Introduction 2- Total Quality Management 3- ISO 9000:2000 QMS 4- Quality Control Techniques 5-
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M00 - Version 7.09 SMU CSE 8314 Software Measurement.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M18 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M09 version 5.09Slide 1 SMU CSE.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M12 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Project Management / Module 34 - Software Quality Assurance Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M34 Slide.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M34 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M01 - Version 7.09 SMU CSE 8314 Software Measurement.
CSE SW Project Management / Module 11 - Overview of Size Estimating Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M11 Slide.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M11 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M02 8/20/2001Slide 1 SMU CSE 8314 /
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M00 - Version 7.09 SMU CSE 8314 Software Measurement.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M11 version 5.09Slide 1 SMU CSE.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M33 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 Version 3.09Slide 1 SMU CSE.
CSE SW Project Management / Module 33 - Software Quality Control Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M33 Slide.
Quality Control and Quality Assurance
Software Quality Control and Quality Assurance: Introduction
CSC 480 Software Engineering
Software Verification and Validation
Chapter no.1 introduction to Total Quality Management
SEVERITY & PRIORITY RELATIONSHIP
Software Quality Engineering CS- 449
Total Quality Management
What is software quality?
What is software quality?
Software Quality Assurance 2015
Chapter # 1 Overview of Software Quality Assurance
Presentation transcript:

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 1 SMU CSE 8314 / NTU SE 762-N Software Metrics and Quality Engineering Module 01 Overview of Software Quality Engineering

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 2 Why is there So Much Ineffective Product Development? Organizations focus on cost or schedule... … instead of looking at the big picture

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 3 The “Zero-sum Game” Trap Pick Any Two Quality Productivity Cycle Time

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 4 The Secret to Effective Product Development Make the Process Efficient – Eliminate waste – Eliminate mistakes – This makes things faster, less costly, and higher in quality Avoid the mistake of seeing the problem as a zero sum game, such as: “to cut cost or save time you must reduce quality”; “to improve quality you must make the product more expensive.”

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 5 Effective Quality Engineering is Fundamental to Productivity and Cycle Time Improvement Effective Product Development Quality Productivity Cycle Time

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 6 Any Banner Will Do Total Quality Management Total Cycle Time Productivity Enhancement Six Sigma

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 7 Defining Quality

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 8 Concepts of Quality Webster defines quality as: 1) “that which makes something what it is" 2) “the degree of excellence” But is this what we mean for software? 1) “our software is what it is - that makes it a quality product" 2) “the more perfect the software the higher the quality”

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 9 “That Which Makes it What it Is” e.g. Purity of tone is a quality of music – But perhaps not in certain musical styles – What defines the quality of “hard rock” music? Is quality in the ear of the beholder? Is there a universally accepted characteristic of musical quality?

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 10 “Degree of Excellence” Which has higher quality: a Ferrari or a Toyota Corolla ??? Which has more prestige? Which costs less and leaves money for other expenses? Which is more reliable? Which weighs more?

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 11 Concepts of Quality for Products “Quality is conformance to requirements” Crosby “Quality is fitness for intended use” Juran “Quality is value to someone” Weinberg

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 12 “Quality is Conformance to Requirements” If testable requirements can be established, then it is possible to decide whether the product meets the criteria Thus you can avoid disputes and have workable contractual relationships HOWEVER...

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 13 Issues with “Conformance to Requirements” - I Who establishes the requirements? – Sponsor - The one who pays for the product – End User - The one who will use the product – Sales or Marketing - The one who will sell the product – Engineering - The ones who will design and build it

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 14 Issues with “Conformance to Requirements” - II Are the requirements right? – consistent – complete – correct Who determines whether the requirements are right? What if you discover a problem later on?

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 15 Issues with “Conformance to Requirements” - III What about implicit vs. explicit requirements? – E.g. coffee should be hot and flavorful – Implicit requirement: not poisonous Furthermore, requirements change during the development process – Who makes and who controls the change? – Who pays for the consequences of change?

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 16 “Quality is Fitness for Intended Use” This definition is based on a fundamental concept of law - that a product should be fit for the use that it is intended for This definition accommodates the fact that we may not be able to fully define the requirements HOWEVER...

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 17 Issues with “Fitness for Intended Use” - I Who defines fitness? – Consider a TV set -- which fitness characteristics are not understood by Typical User Engineer Sales Personnel – Consider a software program -- which fitness characteristics are not understood by the typical software developer?

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 18 Issues with “Fitness for Intended Use” - II Different users have different definitions of fitness – Ease of use for novices vs control of fine details for experts – vs ease of maintenance for support staff Uses change as users grow in experience – Too many “ease of use” and “automatic” features may frustrate an expert

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 19 Issues with “Fitness for Intended Use” - III The “pleasant surprise” concept – User gets more than he or she expected – “They really knew what they were doing” There is always a balance between the engineer knowing better than the customer and the customer knowing better than the engineer

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 20 “Quality is Value to Someone” This definition incorporates the idea that quality is relative And it places increased emphasis on understanding what quality means to the intended user of the software HOWEVER...

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 21 Issues with “Value to Someone” Whose opinion counts? – May need to weigh different opinions – May need to separate explicit from implicit views Logic vs Emotion – “Glitz” v. “Substance” What is it Worth? – Space Shuttle -- 0 defects – Video Game -- good user interface

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 22 Definitions of Software Quality IEEE: The degree to which the software possesses a desired combination of attributes Crosby: The degree to which a customer perceives that software meets composite expectations Note that both definitions imply multiple expectations

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 23 Software Quality Characteristics

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 24 Summary of Quality Definition Issues Define quality – You must define it to know if you have it – … and to engineer it into your product Quality has multiple elements – It reflects a multitude of expectations Quality is relative – Quality is in the eye of the customer Quality encompasses fitness, value, and other attributes

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 25 Quality Engineering

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 26 The Evolution of Quality Quality Engineering Quality Control Quality Assurance 1916todayfuture1950’s

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 27 Quality Control Preventing unacceptable products from being released to the customer Emphasis is on finding defects and fixing them after the fact. “A regulatory process through which we measure actual quality performance, compare with standards, and act on differences.” Juran

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 28 Quality Control Goal: Keep Quality at an Acceptable Level by Rejecting Unacceptable Products Requirements DevelopmentQC Inspection Pass Fail Standards of Quality

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 29 Headrest Story - Part I: Independence Why go to college? I’ll get a job at an automobile assembly plant! My Brother

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 30 Headrest Story - Part II: Employment I found a quality control job on the assembly line... finding defective headrests.

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 31 Rejects My Brother Headrest Story - Part III: Excitement The highlight of my day!!! They switched from red to blue!

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 32 Headrest Story - Part IV: Quality Control QC Manager Production Manager Production rate is too low! You’re too picky! These are substandard! Pay more attention to the criteria!

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 33 Headrest Story - Part V: “Discussion” You’re a *#&$% You! Discussion (as used in automobile assembly lines): Verbal communication characterized by extensive use of profanity and threats of bodily harm.

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 34 Headrest Story - Part VI: The Following Fall My Brother

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 35 Problems with Quality Control Does not reduce the number of defects Does not improve the process Does not result in better products Does not motivate improvement Results in adversarial relationships

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 36 Quality Assurance Assuring Product Quality: “Building Quality In” Providing evidence that the quality function is being performed adequately Juran Quality assessment and measurement Fisher/Baker

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 37 Quality Assurance “A planned and systematic pattern of all actions necessary to provide adequate confidence that the product conforms to established technical requirements” IEEE (George Tice)

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 38 Software Quality Assurance Don Riefer These methods and procedures include: – Planning, measuring and monitoring of all work performed by software engineers, software testers, etc. A system of methods and procedures used to assure that the software product meets its requirements.

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 39 Quality Assurance Looks at the Entire Process Requirements DevelopmentQC Inspection Pass Fail Standards of Quality Process and Design Standards

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 40 Quality Assurance is More Effective than Quality Control because the emphasis moves to the development process You attempt to fix problems before and during the development process You improve the process and therefore reduce the number of defects in a lasting manner

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 41 But... Quality improvement is still separate from other process improvement and software development activities Adversarial relationships are still there – quality assurance vs. software developers – validating and testing vs. design and coding Motivation to improve is inconsistent It costs more to have people monitoring people

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 42 Quality Engineering Similar to quality assurance, but the responsibility shifts to everyone on the team Quality is built into the development process – Requirements, Design, Coding, Testing, etc. This is a very professional and responsible approach to software development

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 43 The Philosophical Change in QE Problems result in process changes, not punishment of people Finding errors is good -- it keeps them from leaking through to the customer Everyone appreciates that a competitive process is the way to remain a competitor Measurements are used so that decisions are based on fact (in addition to intuition)

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 44 Quality Engineering Requires a Cultural Change Pride in quality in addition to pride in product features or performance Professionalism rather than fear of criticism Overcoming the fear of metrics Seeing software development as much more than programming and design “We” rather than “They”

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 45 Quality Engineering Approach Build quality into the product as part of the development process – Measure quality – Understand quality – Improve quality Engineer the whole process for improvements in quality, productivity and cycle time (“Process Engineering”) A defined process is a must !!

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 46 Elements of Quality Engineering Understand process and its role Define value and quality - and focus on adding both of these to the product Manage process performance through programs such as six-sigma or zero defects or statistical process control Analyze the cost of quality Define and manage software reliability

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 47 Benefits of the Quality Engineering Approach Less adversarial Motivation and information to improve Flexibility to change the process in response to a problem – you understand the problem and its cause – you understand the consequences of a change in the process Knowledge is the foundation of successful quality engineering

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 48 Summary Product development is not a “zero sum game” Quality must be defined in terms of things that matter to customers Quality engineering focuses on the whole process and involves the whole project team

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 49 References Crosby, Philip B. Quality is Free, New York, McGraw-Hill, Deming, W. Edwards, Out of the Crisis, MIT Press, 1986, ISBN: Juran, J. M., Juran on Leadership for Quality: An Executive Handbook, The Free Press, Juran, J. M. and Frank M. Gryna, Quality Planning and Analysis, McGraw-Hill

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 50 References (continued) Schwartz, James B., 1994, The Hunters and the Hunted, Productivity Press, ISBN Weinberg, Gerald M., 1992, Quality Software Management, Volume 1, Systems Thinking, Dorset House, New York, ISBN

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M01 8/20/2001Slide 51 END OF MODULE 01