CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering...

390
Copyright © 1997-2004, SQM, LLC. Slide 1 Douglas Hoffman CSQE Exam Preparation Copyright © 1997-2004, Software Quality Methods, LLC. Douglas Hoffman BACS, MSEE, MBA, ASQ-CSQE, ASQ-CQMgr, ASQ Fellow Software Quality Methods, LLC. 24646 Heather Heights Place Saratoga, California 95070-9710 [email protected] www.SoftwareQualityMethods.com 408-741-4830

Transcript of CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering...

Page 1: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 1Douglas Hoffman

CSQE Exam Preparation

Copyright © 1997-2004, Software Quality Methods, LLC.

Douglas HoffmanBACS, MSEE, MBA, ASQ-CSQE, ASQ-CQMgr, ASQ Fellow

Software Quality Methods, LLC.24646 Heather Heights Place

Saratoga, California [email protected]

www.SoftwareQualityMethods.com408-741-4830

Page 2: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 2Douglas Hoffman

Copyright Notice

These slides are distributed under the Creative Commons License.In brief summary, you may make and distribute copies of these slides so long as you give the original author credit and, if you alter, transform or build upon this work, you distribute the resulting work only under a license identical to this one.For the rest of the details of the license, see http://creativecommons.org/licenses/by-sa/2.0/legalcode.

These notes include examples which are context specific. In class discussions I may respond to questions and provide information on approaches and solutions to students’ problems. I may answer questions in a way that I believe would “normally” be true but our answer could be completely inappropriate for your particular situation. I cannot accept any responsibility for any actions that you might take in response to my comments in this course. Courses such as this one would not be needed if the problems addressed were simple enough to analyze and resolve in a few minutes.

Page 3: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 3Douglas Hoffman

About Doug Hoffman•I advocate and provide advice and services in software testing and quality assurance.•Software quality assurance, and especially software testing, have a reputation of being where failed programmers or programmer “wanta be’s” congregate. I don’t believe it’s true, and it’s through courses like this that we can change the perception. I gravitated into quality assurance from engineering. I’ve been a production engineer, developer, support engineer, tester, writer, instructor, and I’ve managed manufacturing quality assurance, software quality assurance, technical support, software development , and documentation. Along the way I have learned a great deal about software testing and measurement. I enjoy sharing what I’ve learned with interested people.•Current employment

– President of Software Quality Methods, LLC. (SQM)– Management consultant in strategic and tactical planning for software quality– Adjunct Instructor for UCSC Extension, teaching Black Box Software Testing and Test Automation Design

•Education– MBA– MS in Electrical Engineering, (Digital Design and Information Science)– B.A. in Computer Science

•Professional– Past Chair, Silicon Valley Section, American Society for Quality (ASQ)– Founding Member and Past Chair, Santa Clara Valley Software Quality Association (SSQA, 1992-1997)– Certified in Software Quality Engineering (ASQ-CSQE, 1995)– Certified Quality Manager (ASQ-CQMgr, 2003) – Previously a Registered ISO 9000 Lead Auditor, (RAB 1993)– I also participate in the Los Altos Workshop and several others on Software Testing

Page 4: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 4Douglas Hoffman

About This CourseThe CSQE Exam Preparation Class provides a survey of the topics included in ASQ’s CSQE Body of Knowledge to familiarize experienced software quality practitioners with its terminology and basic concepts. The practices recommended and discussed in this course are useful as an overview of software quality engineering. There is not time to cover any of the topics in depth and therefore the class is not intended to teach specific job skills, techniques, or tools.

The class content is led by the slide set, but the presentation of materials is heavily influenced by the specific questions and interests of the students in each session. I also include much material from my and the students’ experience which often does not correspond with the CSQE BOK or would necessarily provide the expected (“correct”) answers to CSQE Exam questions.

In the slides I have tried to identify the “non-BOK materials” with a red asterisk (*) to footnote them as not specifically being part of the BOK, and I try to make it clear in the discussions when ideas are not likely to be on the exam or may possibly be contrary to expected exam responses.

Page 5: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 5Douglas Hoffman

The Course and The ExamIn this class I explicitly present information from the BOK I believe is likely to be included on the exam, ideas about interpreting the BOK to pass the exam, and specific test taking techniques. This is all based upon my experience and understanding of the material, the history of the CSQE BOK, ASQ certification policies and procedures, and feedback from other CSQEs. I do not have any special insider information about the BOK, exam materials, or the exam itself. Students earning their CSQE do so based upon their own knowledgeand capabilities. The class does help substantially improve the chances of passing the exam by reviewing the technical material, explaining vocabulary, setting expectations, and providing techniques for maximizing scores and making the best use of the examination time.

As a result of combining information from the formal BOK with experience, students from prior classes have reported learning very practical, real world concepts immediately applicable to their work. Past students have also achieved a pass rate on the CSQE Exam more than double the overall National pass rate.

Page 6: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 6Douglas Hoffman

CSQE Body of Knowledge

1. General Knowledge

2. Software Quality Management

3. Software Engineering Processes

4. Program and Project Management

5. Software Metrics, Measurement, and Analytical Methods

6. Software Verification and Validation

7. Configuration Management

Page 7: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Defect Discovery Rate Fault Insertion Rates Test Effort per Defect

Milestone Scheduled Dates

Lines of Code

Test Coverage

Number of Defects Software Development Life Cycle

Def

ect D

ensit

y

Number of Comments

Number of Procedures

Code Complexity

Percent of Time in Phase

Lines of Documentation

Defect Severity Breakdown

Software Quality

Number of Compiles

Path Coverage

Page 8: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 8Douglas Hoffman

CSQE Class Schedule

(1) Introduction; General Knowledge

(2) Software Quality Management

(3-4) Software Engineering Processes

(4-5) Program and Project Management

(6) Software Metrics, Measurement, and

Analytical Methods

(7) Software Verification and Validation

(8) Configuration Management; Exam

Strategies; Review

Page 9: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 9Douglas Hoffman

Introductions

• Me• You

Page 10: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 10Douglas Hoffman

Class Objectives

• Survey the SQE Body of Knowledge

• Prepare for CSQE Examination

• Share quality related experiences

• Gain information on selected SQ topics

Page 11: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 11Douglas Hoffman

Expectations

• Mine

• Yours

Page 12: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 12Douglas Hoffman

General Knowledge

• General Knowledge, Conduct, and Ethics

• Software Quality Management• Software Engineering Processes• Program and Project Management• Software Metrics, Measurement, and Analytical

Methods• Software Verification and Validation (V&V)• Software Configuration Management

Page 13: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 13Douglas Hoffman

CSQE Requirements

• Obtaining CSQE Certificate

• Maintaining Certification

• Bloom’s Levels Of Cognition

• CSQE Subject Areas

Page 14: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 14Douglas Hoffman

Certification Requirements

• Education and/or Experience• 8 years in quality field• up to 5 years credit for degrees

• Proof of Professionalism • Examination

• proctored, open book exam• 160 questions

Page 15: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 15Douglas Hoffman

Recertification Requirements

• Recertify every 3 years• 18 points needed

• Professional Development • Employment • Instructor/Student• Meetings• Committees• Certifications• Proctoring• Publishing

Page 16: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 16Douglas Hoffman

CSQE Body of Knowledge

• General Knowledge (10% - 16 questions)

• Software Quality Management (19% - 30)

• Software Engineering Processes (16% - 26)

• Program and Project Management (15% - 24)

• Software Metrics (15% - 24)

• Verification and Validation (V&V) (15% - 24)

• Configuration Management (10% - 16)

Page 17: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 17Douglas Hoffman

CSQE BOK Subject Areas

• General Knowledge, Conduct, and Ethics• Software Quality Management• Software Engineering Processes• Program and Project Management• Software Metrics, Measurement, and

Analytical Methods• Software Verification and Validation (V&V)• Software Configuration Management

Page 18: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 18Douglas Hoffman

Levels of Cognition1

• Knowledge

• Comprehension

• Application

• Analysis

• Synthesis

• Evaluation 1Bloom, B. S., Engelhart, M. D., Furst, E. J., Hill, W. H., & Krathwohl, D. R. (1956). Taxonomy of educational objectives handbook 1: Cognitive domain. New York: McKay.

Page 19: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 19Douglas Hoffman

Levels of Cognition

Knowledge

Comprehension

Application

Analysis

Synthesis

Evaluation

­ write, list, name, define, label, state

­ explain, describe, summarize, illustrate, paraphrase

­ use, solve, apply, construct, demonstrate, compute

­ analyze, compare, contrast, separate­ create, design, invent, develop

­ judge, recommend, critique, justify

Level Verbs

Page 20: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 20Douglas Hoffman

General Knowledge, Conduct, and Ethics

• Quality philosophy and principles

• Standards, specifications, and models

• Leadership tools and skills

• Ethical conduct and professional development

Page 21: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 21Douglas Hoffman

Quality Philosophies and Principles

• Benefits of software quality

• Prevention vs. Detection philosophies

• Software TQM principles and applications

• Organization and process benchmarking

Page 22: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 22Douglas Hoffman

Benefits of software quality

To Customers:

– Satisfaction

– Improved Reliability

– Reduced Errors in Operations

– Matching with Requirements

Page 23: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 23Douglas Hoffman

Benefits of software quality

To the Organization:

– Meeting Customer Requirements– Stable Requirements– Verification that Requirements are Met– Consistent Application of Processes– Improvement Over Time– Quality of Life *

* Not part of CSQE 2002 BOK

Page 24: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 24Douglas Hoffman

Quality philosophies*

• Philip Crosby (Conformance to Requirements)

• Dr. W. Edwards Deming(Never Ending Improvement)

• Dr. Joseph Juran (Fitness for Use)

* Not part of CSQE 2002 BOK

Page 25: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 25Douglas Hoffman

Philip Crosby*

• Four Absolutes:– Quality Means Conformance to Requirements– Quality Comes from Prevention– Zero Defects– Quality Measurement is the Price of

Nonconformance

• 14 Steps to Improvement* Not part of CSQE 2002 BOK

Page 26: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 26Douglas Hoffman

Dr. W. Edwards Deming*

• Never Ending Improvement

• Fourteen Points

• Seven Deadly Diseases

* Not part of CSQE 2002 BOK

Page 27: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 27Douglas Hoffman

Deming’s Fourteen Points*

• Constancy of Purpose for Improvement.• Adopt the New Philosophy.• Cease Dependence on Mass Inspection.• Cease Doing Business on Price Tag Alone.• Continual Improvement of Process.• Institute Training on the Job.• Institute Leadership.• Drive Out Fear.• Break Down Barriers Between Departments.• Eliminate Slogans, Exhortations, and Targets.• Eliminate Numerical Quotas.• Allow Pride in Workmanship.• Institute a Program of Self-Improvement.• Do It. * Not part of CSQE 2002 BOK

Page 28: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 28Douglas Hoffman

Deming’s Seven Deadly Diseases*

• Lack of Constancy of Purpose

• Emphasis on Short-Term Profits

• Personal Evaluation Appraisal

• Mobility of Management (Job Hopping)

• Use of Visible Figure for Management

• Excessive Medical Costs

• Excessive Costs of Warranty

* Not part of CSQE 2002 BOK

Page 29: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 29Douglas Hoffman

Dr. Joseph Juran*

• Fitness for Use

• Revolutionary Rate of Improvement

• Top Management is in Charge

• Specific Goals for Quality Improvement in the Business Plan

• Assign Responsibility for Improvements to Individuals

• Train People

• Empower the Workforce* Not part of CSQE 2002 BOK

Page 30: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 30Douglas Hoffman

Prevention vs. Detection

• Detection– Identify– Correct

• Prevention– Start Earlier– Look Upstream for

Improvements

Page 31: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 31Douglas Hoffman

Software TQM Principles*

• Continuous Improvement

• Management by Facts

• Measurement of Progress

• Quality Teams

• Management of Resources

• Leadership* Not part of CSQE 2002 BOK

Page 32: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 32Douglas Hoffman

Types of Quality Teams*

• Quality Council

• Cross-Functional Team

• Quality Action Team

• Tiger Team

* Not part of CSQE 2002 BOK

Page 33: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 33Douglas Hoffman

Software TQM Applications*

• Assessments

• Activities

– Plan-Do-Check-Act

– SEI CMM

– Goal/Question/Metric Paradigm

* Not part of CSQE 2002 BOK

Page 34: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 34Douglas Hoffman

Types of Organizational Benchmarking

• Process Benchmarking– macro (organizational) level

– micro (process and project) level

• Performance Benchmarking

• Project Benchmarking

• Strategic Benchmarking

Page 35: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 35Douglas Hoffman

The Benchmarking Process

• Determine Own Current Practices

• Identify Industry Best Practices

• Analyze Best Practices

• Model Best Practices

Page 36: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 36Douglas Hoffman

Standards, Processes, and Models

• Software standards

• Software quality and process initiatives, ventures, and consortia

• Quality management system models

• Software assessment models

Page 37: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 37Douglas Hoffman

Domestic and International standards and specifications

• ISO– ISO 2382 (Data Processing Vocabulary)– ISO 9000 (Quality Management System)– ISO 15504 (SPICE)– IEEE/EIA 12207 (Software Life Cycle Processes)

• IEEE– 40 Standards in a 4 volume set (1999)

• CMM and CMMI

Page 38: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 38Douglas Hoffman

ISO 9000

• Family of Standards and Guides• First approved in 1987, latest revision 2000• Process (not product) focus• Covers all processes affecting quality of

goods and services of organization• Open ended• Descriptive (not prescriptive)

Page 39: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 39Douglas Hoffman

ISO 9000-1987

• 9000 — Guidelines for Selection and Use• 9001 — Model for Design, Development,

Production, Installation, and Servicing• 9002 — Model for Production, Installation, and

Servicing• 9003 — Model for Final Inspection and Test• 9004 — Guidelines for Quality Management and

Quality System ElementsO B S O L E T E

Page 40: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 40Douglas Hoffman

ISO 9000:2000

• 9000 — Quality Management Systems —Fundamentals and Vocabulary

• 9001 — Quality Management Systems —Requirements– Adds process improvement– Combines 9001, 9002, and 9003

• 9004 — Quality Management Systems —Guidelines for Performance Improvements

Page 41: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 41Douglas Hoffman

ISO 9000 Part 3

• 9000-3 Guidelines for Software

• Development, Supply, and Maintenance of Software

• Interprets ISO 9001

Page 42: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 42Douglas Hoffman

ISO/IEC JTC 1

• ISO and International Electrotechnical Commission

• Develops standards for information technology

• Subcommittee SC7 for software engineering standards

• Working Groups for specific standards• ISO/TC176 to harmonize activities

Page 43: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 43Douglas Hoffman

Domestic and International standards and specifications

• IEEE• Standard Collection for Software Engineering

• ANSI/IEEE 610.12: Standard Glossary of Software Engineering Terminology

• ANSI/IEEE 730: Software QA Plans• ANSI/IEEE 828: Software CM Plans• ANSI/IEEE 830: Requirements Specifications• ANSI/IEEE 1028: Reviews and Audits• ANSI/IEEE 1012: Software V & V Plans• ANSI/IEEE 1074: Life Cycle Processes

Page 44: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 44Douglas Hoffman

Other Domestic and International (ISO) Standards and Specifications

• ISO 9126 (Software Product Evaluation)

• ISO 10006 (Project Management)

• ISO 10007 (Configuration Management)

• ISO 10011 (Guidelines for Auditing)

Page 45: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 45Douglas Hoffman

Software Process Models

• Bellcore TR-179

• SEI’s CMM and CMMI

• Trillium Model

• BOOTSTRAP

• ISO SPICE

Page 46: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 46Douglas Hoffman

Bellcore TR-179

• Based on ISO 9001 and 9000-3

• Bellcore Capability Assessment

• Bellcore Model– Quality System Framework– Quality System Life Cycle Activities– Quality System Supporting Activities

• Includes Additional Requirements for Telecommunications Suppliers

Page 47: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 47Douglas Hoffman

TL 9000 Standards

• Quality Excellence for Suppliers of Telecommunications (QuEST) Forum

• Set of common standards including ISO 9000 (both 1994 and 2000)

• Quality System Requirements• Quality System Metrics

– Common– Software– Hardware– Service

Page 48: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 48Douglas Hoffman

SEI’s Capability Maturity Model

Levels of Maturity

• Level 1: Initial

• Level 2: Repeatable

• Level 3: Defined

• Level 4: Managed

• Level 5: Optimizing

Page 49: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 49Douglas Hoffman

Capability Maturity Model

• Key Process Areas (KPA)• Software Capability Evaluation (SCE)• Software Process Assessment (SPA)• Interim Profile• CMM-Based Appraisal for Internal

Process Improvement (CBA IPI)

Page 50: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 50Douglas Hoffman

Capability Maturity Model Integration

• Combines SE-CMM and SW-CMM

• Continuous or Staged process models

• Software Process Assessment (SPA)

• Appraisal Requirements for CMMI (ARC)

• Standard CMMI Appraisal Method for Process Improvement (SCAMPI)

Page 51: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 51Douglas Hoffman

CMMI Common Process Areas

Category Process AreasProcess Management Organizational:

Process Focus , Process Definition, Training,Process Performance, and Innovation andDeployment

Project Management Project Planning and Monitoring and ControlSupplier Agreement ManagementIntegrated Project ManagementRisk ManagementIntegrated TeamingQuantitative Project Management

Engineering Requirements Development and ManagementTechnical SolutionProduct IntegrationVerification and Validation

Support Configuration ManagementProcess and Product Quality AssuranceMeasurement and AnalysisOrganizational Environment for IntegrationDecision Analysis and ResolutionCausal Analysis and Resolution

Page 52: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 52Douglas Hoffman

CMMI Model Representations

Continuous

• Allows selecting the order of improvement

• Enables comparisons• Easy comparison with

ISO/IEC 15504• Easy migration from

EIA/IS 731

Staged

• Proven sequence of improvements

• Permits comparisons of maturity levels

• Single summary rating• Easy migration from

SW-CMM to CMMI

Page 53: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 53Douglas Hoffman

SEI’s CMMI - Continuous

• Improvement across organization and by process area

• Generic Goals (GGs) and Practices (GPs)

• Specific Goals and Practices

• Capability Level Profile

Page 54: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 54Douglas Hoffman

SEI’s CMMI - Continuous

Levels of Maturity

• Level 0: Incomplete

• Level 1: Performed

• Level 2: Managed

• Level 3: Defined

• Level 4: Quantitatively Managed

• Level 5: Optimizing

Page 55: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 55Douglas Hoffman

SEI’s CMMI - Staged

• Improvement across organization by capability level

• Generic and Specific Goals and Practices

• KPAs mapped from CMM

Page 56: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 56Douglas Hoffman

SEI’s CMMI - Staged

Levels of Maturity

• Level 1: Initial

• Level 2: Managed

• Level 3: Defined

• Level 4: Quantitatively Managed

• Level 5: Optimizing

Page 57: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 57Douglas Hoffman

CMM - CMMI Levels

CMMCMMIStaged

CMMIContinuous

Level 0 IncompleteLevel 1 Initial Initial PerformedLevel 2 Repeatable Managed ManagedLevel 3 Defined Defined Defined

Level 4 ManagedQuantitatively Managed

Quantitatively Managed

Level 5 Optimizing Optimizing Optimizing

Page 58: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 58Douglas Hoffman

ISO SPICE

• Software Process Improvement for Capability Determination

• ISO 15504 • To Harmonize CMM-Based Efforts• Used For:

– Process Assessment– Process Improvement– Capability Determination– Qualification and Training of Assessors

Page 59: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 59Douglas Hoffman

Trillium Model

Trillium Scale

• Level 1: Unstructured

• Level 2: Repeatable and Project Oriented

• Level 3: Defined and Process Oriented

• Level 4: Managed and Integrated

• Level 5: Fully Integrated

Page 60: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 60Douglas Hoffman

Trillium Model

Capability Areas

• Organizational Process Quality• CHR Development and Management• Process• Management• Quality System• Development Practices• Development Environment• Customer Support

Page 61: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 61Douglas Hoffman

Trillium Model

• Capability Evaluation/Joint-Assessment

• Capability Assessment and Improvement

• Capability Self-Assessment

• Continuous Improvement (CI) Program

• Capability Profile, Levels, Road Maps, and Practices

Page 62: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 62Douglas Hoffman

BOOTSTRAP

• AKA ESPRIT• Bootstrap Assessment• Bootstrap Evaluation• Process Improvements

Page 63: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 63Douglas Hoffman

BOOTSTRAP Assessment

• Assesses Organization and Projects• Quality-Attribute Hierarchy

– Clusters– Elementary Attributes

• Process Dimensions– Organization– Methodology– Technology

Page 64: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 64Douglas Hoffman

Leadership Tools and Skills

• Organizational leadership• Analyzing Current Situations

• SWOT Analysis

• Implementing and Managing Change

• Quality Initiatives

• Cross-Functional Collaboration

• Knowledge Management

• Motivation Techniques

Page 65: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 65Douglas Hoffman

SWOT Analysis

• Strengths and Weaknesses– Internal to organization

• Opportunities and Threats– External sources

Page 66: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 66Douglas Hoffman

Management Science

• Fredrick Taylor (time and motion)

• Hawthorne Studies (cause and effect)

• Abraham Maslow (need hierarchy)

• Douglas McGregor (Theory X and Y)

• Frederick Herzberg (2 motivation factors)

• Organizational Empowerment

• Motivating the Work Force

Page 67: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 67Douglas Hoffman

Team Roles and Responsibilities

• Champion• Sponsor

• Facilitator

• Coach

• Leader

• Team member

• Recorder

• Timekeeper

Page 68: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 68Douglas Hoffman

Team Life Cycle

Bruce Tuckerman’s Stages:

• Forming [Build Phase]

• Storming [Build Phase]

• Norming [Develop Phase]

• Performing [Optimize Phase]

Page 69: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 69Douglas Hoffman

Team Applications

Team Type Structure Applications

Improvement 8-10 from adepartment

Quality or productivity issues

Quality 8-10 from adepartment

Initially quality orperformance; can evolve toself directed teams

Project ranges; may be partor all managers

Focus on a specific project;disbands when done

CrossFunctional

8-12 from differentareas

Like project teams but forpolicies and operational issues

Self Directed 6-15; usually anatural area team

Can work from objectives;requires training

Page 70: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 70Douglas Hoffman

Team Dynamics

• Selecting Team Members

• Team Size

• Team Diversity

• Dominant or Disruptive Team Members

• Common Team Problems

• Dealing with Team Problems

Page 71: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 71Douglas Hoffman

Team Tools

• Nominal Group Technique (NGT)

• Multivoting

• Brainstorming

• Joint Application Development (JAD)

• Rapid Application Development (RAD)

• Facilitated Application Specification Technique (FAST)

Page 72: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 72Douglas Hoffman

Facilitation skills

• Team leader

• Facilitator

• Team participants

• Avoiding chaos

• Maintaining balance

• Keeping focused

Page 73: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 73Douglas Hoffman

Conflicts

• Expect them

• Manage conflicts

• Resolve conflicts

• Handle conflicts

• Force Field Analysis

• Negotiation

Page 74: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 74Douglas Hoffman

Meetings

• Meeting Management

• Team performance

• Operating guidelines

• Meeting structure

Page 75: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 75Douglas Hoffman

Verbal Communication Skills

• Purpose of Presentation

• Type of Presentation

• Analyze Audience Needs

• Determine Objective or Outcome

• Structure to Support Main Idea

• Get the Audience Attention

• Meet Audience Objectives

• Strong Conclusion

• Practice Delivery

• Use Visual Aids

Page 76: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 76Douglas Hoffman

Written Communication Skills

• Memo

• Report

• Letter

Page 77: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 77Douglas Hoffman

Interviewing Skills

• Organize the Interview– Have a Plan– Simple Questions

– Stay Focused– Don’t Threaten

– Ask Permission– Avoid Ambiguity

– Avoid Manipulation

• Closed and Open Questions

• Stay In-Bounds

Page 78: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 78Douglas Hoffman

Effective Listening Skills

• Non-Listener

• Marginal Listener

• Evaluative Listener

• Active Listener

Page 79: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 79Douglas Hoffman

Ethical Conduct

• Professional codes of ethics

• ASQ Code of Ethics

• Professional conduct and competence

• Conflicts of interests

• Software Licensing

• Software Copyrights

Page 80: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 80Douglas Hoffman

Professional Conduct Terminology

• Conflict of interest

• Ethical

• Ethics

• Legal

• Malpractice

• Negligence

• Notification

• Recall

• Regulation

Page 81: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 81Douglas Hoffman

Conflicts of Interest Examples

• Providing recommendations on the purchase of products or services while owning an interest in the producer

• Presenting independent assessment results to a client with recommendations to use your services

• Participating in awarding a contract to someone who manages you in another context

• Evaluating the corrective actions of another party which your organization has performed for them

Page 82: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 82Douglas Hoffman

Software Liability and Safety Issues

• Legal issues involving software– product liability– product safety– negligence– customer notification requirements

• Other legal or regulatory issues

Page 83: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 83Douglas Hoffman

Professional Development

• Software Quality Training

• Quality Auditor Training

• Software Engineering Training

• Professional Certification

• Training Needs Analysis

Page 84: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 84Douglas Hoffman

Professional Training and Development

• Subject areas for SQE• Available training resources,

materials, and providers

• SQE Professional– Societies– Technical Associations– Organizations

Page 85: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 85Douglas Hoffman

SQE Subject Areas

• Design of Experiments• Failure Mode Analysis• Internal Auditing• Reliability Engineering• Statistical Process Control• Software Quality Engineering• Strategic Quality Planning

Page 86: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 86Douglas Hoffman

SQE Training Resources

• RAB Accredited ISO Courses• ASQ• SEI• Colleges and Universities• Private Organizations

and Individuals

Page 87: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 87Douglas Hoffman

Professional Societies for SQEs

• ASQ (SQE Certification)• SEI (SPINs)• Deming User Group• ACM• IEEE

Page 88: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 88Douglas Hoffman

Quality Management

• General Knowledge, Conduct, and Ethics

• Software Quality Management

• Software Engineering Processes• Program and Project Management• Software Metrics, Measurement, and

Analytical Methods• Software Verification and Validation (V&V)• Software Configuration Management

Page 89: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 89Douglas Hoffman

Software Quality Management

• Goals and objectives• Principals • Policies• Strategic quality goals• Tactical quality goals• Process quality• Tools and methods• Audits

Page 90: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 90Douglas Hoffman

Goals and Objectives

• Quality goals and objectives

• Outsourced services

• Planning

• Software quality management systems documentation

• Customer requirements

Page 91: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 91Douglas Hoffman

SQA Tasks

• Generation of QA Documentation

• Review of Project Materials

• Auditing

• Monitoring of Project Status

• Inspection of Delivered Items

• Monitoring Corrective Actions

• Participation in Project Activities

• Guidance of Project

• Testing Oversight

Page 92: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 92Douglas Hoffman

Outsourced Services

• Process work (operations)

• Project work

• Global (strategic)

• Tactical (partial)

• Subcontracting (targeted)

• Offshore outsourcing

• Subcontractor management (SW-CMM)

Page 93: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 93Douglas Hoffman

Outsourcing Pros and Cons

Forces for:

• Lower costs

• Risk sharing or reduction

• Economies of scale

• Greater skill pool

• Greater focus

• More control

• More professional

• Cash infusion

Forces against:

• Higher costs

• Risk exposure

• Dis economies of scale

• Limited access to knowledge

• Loss of intellectual capital

• Conflicting agendas

Page 94: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 94Douglas Hoffman

Software Quality Management

• Planning

• Tracking

• Organizational and Professional Software QA Training

Page 95: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 95Douglas Hoffman

SQ Management Planning

• Product and Project SQ Goals and Objectives

• Customer Requirements for Quality

• Quality and Customer Support Activities

• Software Security, Safety, and Hazard Analysis

Page 96: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 96Douglas Hoffman

Planning Issues

• Software Development is Private

• Traditional Programmer Training Misses Planning and Measurement

• Standards not Followed

• “Cowboy Culture”

• QE Considered an Outsider

Page 97: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 97Douglas Hoffman

Planning Solutions

• On the Job Training

• Positive Experience with Standards and Metrics

• Professional Attitude

• Discipline

• Planning Initiative (WWWWWH)

Page 98: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 98Douglas Hoffman

Planning Initiative Focus

• Defect Prevention

• Identification of Problem Areas

• Risk Analysis and Mitigation

• Correct Reviews and Inspections

• Documentation of Required Procedures

Page 99: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 99Douglas Hoffman

Planning Initiative Levers

• Contractually Imposed Standards

• Analysis of System Requirements

• Schedules

• Development Costs

• User Concerns

Page 100: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 100Douglas Hoffman

Product and Project SQ Goals and Objectives

• Predictability

• Consistency

• Objective Measurements and Evidence

Page 101: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 101Douglas Hoffman

Quality Planning System

Stds.

Policies

Standard Processes

Procedures (Test, CM, QA)

Procedure Artifacts

Internal/External Guides(SEI-CMM, Coding Standards, etc.)

ISO DOD-MIL NASA Bellcore IEEE FCC

Page 102: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 102Douglas Hoffman

Customer Requirements for Quality

• Reliability (MTTF)

• Pass/Fail Criteria and Evidence

• Traceability

• Software Baseline Control

• Product Consistency

Page 103: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 103Douglas Hoffman

Planning for Quality

• Phase Based Activities• Software Quality Assurance Plan (SQAP)• ISO 9000-3 requirements

– Planning– Tracking

• Documentation– SQM Plan (IEEE 730)– Requirements

Page 104: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 104Douglas Hoffman

Requirements*

• Solve a problem• Must be met to satisfy the contract

• Requirements analysis vs.Requirements specification

• Problem analysis vs.Product description

* IEEE 610.12

Page 105: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 105Douglas Hoffman

Requirements Analysis

• Object Oriented

• Function Oriented

• State Oriented

• Behavioral Analysis

• Nonbehavioral Analysis

Page 106: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 106Douglas Hoffman

Nonbehavioral Quality Factors

• Efficiency

• Reliability

• Security

• Testability

• Understandability

• Maintainability

• Human engineering

• Portability

• Visibility

• Capacity

• Standards compliance

Page 107: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 107Douglas Hoffman

Requirements Elicitation

• Problem recognition

• Evaluation and synthesis

• Modeling

• Specification

• Review

Page 108: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 108Douglas Hoffman

Customer/User Reviews

• JAD

• RAD

• QFD

• FAST

• Context-free questions

Page 109: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 109Douglas Hoffman

Requirement Analysis and Specification

• Domains of the problem– Information

– Function

– Behavior

• Problem partitioning

• Representing requirements

Page 110: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 110Douglas Hoffman

Quality Records*

• Records and Data Collection

• Use

• Changes

• Storage

• Maintenance

• Retention* Not part of CSQE 2002 BOK

Page 111: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 111Douglas Hoffman

Issues for Quality Related Data

• Data Entry

• Change Control

• Data Availability

• Data Integrity

• Data Security

Page 112: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 112Douglas Hoffman

Quality Management Methods

• Reviews, Inspections, and Testing

• Change Management

• Cost of Quality (COQ)

• Quality Data Tracking

• Problem Reporting and Corrective Actions

• Quality Improvement Processes

Page 113: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 113Douglas Hoffman

SQA Tools

• Requirements Tracer• Database Analyzer• Complexity Analyzer• Logic Analyzer• Reliability Model• Simulators

• Standards Analyzer• Data-flow Analyzer• Interface Analyzer• Test Generator• Test Management System

Page 114: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 114Douglas Hoffman

Process and Technology Change Management

• Software process modeling

• SEPGs

• Software process assessment and evaluation

• Software process and technology change management theory and methods

• Barriers to the implementation or success of quality improvement efforts and quality systems

Page 115: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 115Douglas Hoffman

Audit and Assessment Management

• Program development and administration

• Audit preparation and execution

• Audit reporting and follow up

Page 116: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 116Douglas Hoffman

Software Quality Factors

• SQFs

• Definitions

• Metrics

Page 117: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 117Douglas Hoffman

Software Quality Methods

• “Bag of Tricks”

• Inspections

• Tests

• Assessments

Page 118: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 118Douglas Hoffman

Cost of Quality

• Traditional Concepts

• Levels

• Locations

Page 119: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 119Douglas Hoffman

Quality Cost Analysis

• Quality Cost Measurement is a cost control system used to identify opportunities for reducing the controllable quality-related costs.

• The Cost of Quality is the total amount the company spends to achieve and cope with the quality of its product.

• This includes the company’s investments in improving quality, and its expenses arising from inadequate quality.

• A key goal of the quality engineer is to help the company minimize its cost of quality.

Page 120: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 120Douglas Hoffman

Quality-Related Costs

•External Failure•Internal Failure

•Cost of dealing with errors that affect your customers, after the product is released.

•Cost of dealing with errors discovered during development and testing. Note that the company loses money as a user (who can’t make the product work) and as a developer (who has to investigate, and possibly fix and retest it).

•Cost of inspection (testing, reviews, etc.).

•Cost of preventing customer dissatisfaction, including errors or weaknesses in software, design, documentation, and support.

•Appraisal•Prevention

Page 121: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 121Douglas Hoffman

Examples of Quality Costs

•External Failure•Internal Failure

• Lost sales and lost customer goodwill• Technical support calls• Writing answer books (for Support)• Investigating complaints• Supporting multiple versions in the field• Refunds, recalls, warranty, liability costs• Interim bug fix releases• Shipping updated product• PR to soften bad reviews• Discounts to resellers

• Bug fixes• Regression testing• Wasted in-house user time• Wasted tester time• Wasted writer time• Wasted marketer time• Wasted advertisements• Direct cost of late shipment• Opportunity cost of late shipment

• Design review• Code inspection• Glass box testing• Black box testing• Training testers• Beta testing• Usability testing• Pre-release out-of-box testing by customer

service staff

• Staff training• Requirements analysis & early prototyping• Fault-tolerant design• Defensive programming• Usability analysis• Clear specification• Accurate internal documentation• Pre-purchase evaluation of the reliability

of development tools

•Appraisal•Prevention

Page 122: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 122Douglas Hoffman

Customers’ Quality Costs

•These illustrate costs absorbed by the customer who buys a defective product.

–Wasted time–Lost data–Lost business–Embarrassment–Frustrated employees quit–Failure during one-time-only tasks,

e.g. demos to prospective customers–Cost of replacing product–Reconfiguring the system–Cost of recovery software–Tech support fees–Injury / death

•These illustrate costs absorbed by the seller that releases a defective product.

–Lost sales and lost customer goodwill–Technical support calls–Writing answer books (for Support)–Investigating complaints–Refunds, recalls, warranty, liability

costs–Government investigations–Supporting multiple versions in the

field–Interim bug fix releases–Shipping updated product–PR to soften bad reviews–Discounts to resellers

•Customer: failure costs (seller’s externalized costs)

•Seller: external costs

Page 123: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 123Douglas Hoffman

The $q / $Q Debate

Topic “Little Q” “Big Q”

Products Manufactured goods All products, goods,and services

Processes Process directlyrelated to production

All processes, support,business, etc.

Customer Clients who buy theproducts

All who are affected

Industries Manufacturing All industries

Cost of PoorQuality

Costs associated withdeficient manufacturedgoods

All costs that woulddisappear if everythingwere perfect

Page 124: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 124Douglas Hoffman

Quality Data Tracking

• Principles– Understanding– Evaluation– Control– Prediction

• Models• Impact on the organization• Management Support

Page 125: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 125Douglas Hoffman

Problem Reporting and Corrective Actions

• Reporting Procedures• Corrective Actions• Quality Improvement Processes

– Defect prevention– Defect detection and removal– Trend analysis– Pareto Analysis– Reviews– Testing

• Barriers to Quality Improvements– Ill-defined process– Poor process management

Page 126: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 126Douglas Hoffman

Problem Reporting and Corrective Action Procedures

• Defect Tracking Systems

• Event Recording Systems

• Development Needs

• QA Requirements

• Support Issues

Page 127: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 127Douglas Hoffman

Supporting Activities

• Defect Tracking

• Technical Support

• Change Control Board (CCB)

Page 128: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 128Douglas Hoffman

Software Audits

Page 129: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 129Douglas Hoffman

Software Audits

• Program Development and Administration

• Audit Preparation and Execution

• Audit Reporting and Follow-up

Page 130: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 130Douglas Hoffman

Audit Program Objectives

• Auditing stages– Planning and preparation– Performance– Reporting– Corrective action and follow-up

Page 131: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 131Douglas Hoffman

Audit Objectives

• Compliance with standards

• Effectiveness of controls

• Opportunity for improvement

• Regulatory requirements

• Permit registration

Page 132: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 132Douglas Hoffman

Reasons for Audits

• Contractually required

• Verify QMS meets a standard

• Confirm QMS implementation

• Verify QMS effectiveness

• Evaluate compliance with standards.

Page 133: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 133Douglas Hoffman

Audit Responsibilities

• Audit team member

• Lead Auditor

• Client

• Auditee

Page 134: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 134Douglas Hoffman

Auditing Standards

• ANSI/ISO/ASQC Q10011-1994 Guideline for Auditing QMS

• ISO 9001:2000– [ISO 9000-3 Guideline]

• IEEE 1028

• TickIT

• SEI (CMMI)

Page 135: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 135Douglas Hoffman

Software Audits

• Terms• Types

• Methods

• Steps

• Process

• Planning

Page 136: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 136Douglas Hoffman

Audit Terms

• Audit• Checklists

• Compliance

• Conformance

• Customers

• Interviews

• Objective Evidence

Page 137: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 137Douglas Hoffman

Audit Types

• First party

• Second party

• Third party

• Internal

• External

Page 138: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 138Douglas Hoffman

Audit Types(Continued)

• System

• Process

• Product

• Compliance

• Regulatory

Page 139: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 139Douglas Hoffman

Audit Types(Continued)

• Management

• Quality

• Functional configuration

• Physical configuration

• Administrative Audit

• etc.

Page 140: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 140Douglas Hoffman

Audit Methodology

• Purpose

• Perspectives

• Frequency

• Criteria

• Procedures

Page 141: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 141Douglas Hoffman

Audit Precepts

• Function of management

• Qualified auditors

• Measures against standards

• Objective evidence

• Focus on control system

þ

þ

þ

þ

þ

Page 142: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 142Douglas Hoffman

Management Audits

To determine that:

• Adequate controls exist

• Controls are being implemented

• Controls really work

Page 143: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 143Douglas Hoffman

Audit Perspectives

• Customers– Auditee

– Client

– Organization

• Auditor

Page 144: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 144Douglas Hoffman

Audit Process

• Objectives

• Scope

• Entry criteria

• Assessment criteria

• Exit criteria

Page 145: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 145Douglas Hoffman

Audit Frequency

• Project milestone

• Quality milestone

• External requirements

• Internal request

• Major organizational change

Page 146: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 146Douglas Hoffman

Audit Tools

• Checklists

• Authoritative Documents

• Flowcharts

• Interviewing

• Data Collection

Page 147: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 147Douglas Hoffman

Data Collection

• Interviews– Data gathering

– Not objective evidence

– Conducting an interview

• Sampling

• Trace Forward

• Trace Back

Page 148: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 148Douglas Hoffman

• Physical properties

• Observations

• Documents and records

• Interviews

• Patterns of information

Audit Data Sources

Page 149: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 149Douglas Hoffman

Audit Phases

• Preparation

• Performance

• Reporting

• Closure

Page 150: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 150Douglas Hoffman

Audit steps

• Planning• Preparation• Execution• Reporting• Corrective action• Verification• Follow-up

Page 151: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 151Douglas Hoffman

Engineering Processes

• General Knowledge, Conduct, and Ethics• Software Quality Management

• Software Engineering Processes

• Program and Project Management• Software Metrics, Measurement, and

Analytical Methods• Software Verification and Validation (V&V)• Software Configuration Management

Page 152: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 152Douglas Hoffman

Software Engineering Processes

• Environmental conditions

• Requirements management

• Requirements engineering

• Analysis, design, and development methods and tools

• Maintenance management

Page 153: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 153Douglas Hoffman

Software Environmental Conditions

• Life cycles

• Systems architecture

Page 154: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 154Douglas Hoffman

Why Worry About SDLC?

• "Cosmic Glue"

• Where Quality Goes In

• Basis for Planning

• Basis for Communication

• Set Milestones

• Reduces Ambiguity

• Defines Roles

• Surfaces Issues

Page 155: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 155Douglas Hoffman

Development Life Cycles

• Three generic phases– Definition– Development– Maintenance

• Many models– Balance among tradeoffs– Choose one that adjusts

to expected changes

Page 156: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 156Douglas Hoffman

Generic Life Cycle Phases

• Definition– What information – What functions– What interfaces– What design constraints– What validation criteria

• Development phase– How data is structured– How system is architected– How procedures work– How programmed– How tested

• Maintenance– Error corrections– Adaptations evolved– Enhancements made

• Related activities– Quality assurance– Configuration

management– Project monitoring– Measurement

Page 157: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 157Douglas Hoffman

Software DevelopmentLife Cycle Models

• Waterfall• Prototyping* and Mock-ups• Spiral• Incremental Development• Decomposition/Integration• Cleanroom*

• Fourth Generation Techniques*

• Object-Oriented• Hybrid Models * Not included in Primer

Page 158: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 158Douglas Hoffman

Waterfall

FeasibilityRequirements

Product DesignDetailed Design

Code/Unit TestIntegration/Product Verification

Implementation/System TestOperation and Maintenance/ Revalidation

Pha

ses

Time

Page 159: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 159Douglas Hoffman

Prototyping

DetermineRequirements

Rapid Design

Complete the Engineering

Build/fixPrototype

Revise Requirements

User Feedback

Start

Stop

Page 160: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 160Douglas Hoffman

Revise Requirements

Revise Prototype

Evaluate Prototype

Detailed Design

Code/Unit Test

Integration/Product Verification

Implementation/System Test

Operation and Maintenance/ Revalidation

Mock-Up Approach

Copyright © 1996-2002 SQM, LLC.

Page 161: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 161Douglas Hoffman

Spiral ModelDetermine objectives,alternatives, constraints

Evaluate Alternatives, Identify and Resolve Risks

Plan Next Phases Develop, Verify Next Level Product

Risk Analysis

Risk Analysis

Risk Analysis

Risk Anal Proto Prototype

PrototypeOperational Prototype

Detailed Design

Initial Design

Implementation

Requirements

Concept

Requirements

PlanDevelopment Plan

Integration and

Test Plan

Page 162: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 162Douglas Hoffman

Incremental DevelopmentComponent 1

SystemEngineering

Analysis

Design

Code

ComponentIntegration

Testing

ComponentTest

Pha

ses

Time

Component 2

SystemEngineering

Analysis

Design

Code

ComponentTest

Component N. . .

. . .

. . .

. . .

. . .. . .

. . .

ComponentIntegration

Testing

SystemEngineering

Analysis

Design

Code

ComponentTest

Page 163: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 163Douglas Hoffman

Decomposition/Integration

Requirements

Specification

Operation

Analysis

Development

Design

Integration

Unit Test

System Test

Decomposition Integ

ratio

n

Page 164: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 164Douglas Hoffman

CleanroomDevelopment Team

BaselinedS/W

Specification

DevelopmentPlanning

Verify1st Module

VerifyModules1, 2, 3

Verify1st & 2ndModule

Test & Proof1st Module

Test & Proof1st & 2ndModules

Test & ProofModules1, 2, 3

Des and Dev1st Module

Des and Dev1st & 2ndModule

Des and DevModules

1, 2, 3

Requirements & SpecTeam

Verification/CertificationTeam

Page 165: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 165Douglas Hoffman

Fourth Generation

RequirementsGathering

“Design”Strategy

ImplementationUsing 4GL

Testing

Page 166: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 166Douglas Hoffman

Object-Oriented

Not inLibrary

Put in Library

Reuse Component

NoGo

OK

Test Code Design Spec

Develop New Component

ConstructPrototype

Put inUse

Component LibraryExamine for a

Reusable Component

OOA

OOD

CustomerEvaluation

Page 167: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 167Douglas Hoffman

Lifecycle Selection

Life Cycle ProjectRequirements

Waterfall Known, unchanging

Decomposition/Integration

Known, unchanging

Prototyping Unknown, changing

Spiral Unknown, unchanging

Cleanroom Known, provable

Page 168: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 168Douglas Hoffman

Hybrid Life Cycles

• Should be planned

• Based on Project Requirements

• Focus on Milestone deliverables

Page 169: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 169Douglas Hoffman

Pitfalls In SDLCs

• Poor Choice of SDLC

• Lack of Understanding

• Conflicts of Interest

• Violation of Process

• Poor Feedback

Page 170: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 170Douglas Hoffman

Systems Architecture

• Collection of components• Interactions between components• Patterns of similar components

and interactions– Client Server (C/S)– N-tier– B to B (B2B)– B to C (B2C)– B to E (B2E)– Web based

Page 171: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 171Douglas Hoffman

Web Architectures(Internet/Intranet/Extranet)

• Wireless

• Messaging

• Collaboration Software

• Market to Market (M2M)

• B to Government (B2G)

• B to Anyone (B2A)

• Application to Application (A2A)

Page 172: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 172Douglas Hoffman

Software Requirements Management

• Requirements prioritization and evaluation

• Requirements change management

• Bi-directional requirements traceability

Page 173: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 173Douglas Hoffman

Requirements Prioritization

• Critical, Important, Desirable

• Required, Conditionally Required, Objective

• Assignment to future releases

• Requirements should be:– Unambiguous– Correct– Verifiable– Consistent– Complete

Page 174: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 174Douglas Hoffman

Requirements Change Management

• Submitting

• Evaluating

• Reviewing

• Scheduling

• Implementing

Page 175: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 175Douglas Hoffman

Bi-directional Traceability

Of:• Customer Requirements• Engineering Requirements• Design Components• Code• Tests• V & V Results

• Built one way (top-down)• Bottom-up trace derived

Verifying:• Requirements to Design• Design to Code• Requirements to Tests

Validating:• Requirements to

Test Results

Page 176: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 176Douglas Hoffman

Software Requirements Engineering

• Requirements types

• Requirements elicitation

• Requirements analysis and modeling

• System and software requirements

specifications

Page 177: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 177Douglas Hoffman

Types of Requirements

• Input• Output• Reliability• Availability• Maintainability• Performance• Accessibility• Environmental conditions• Ergonomic• Safety• Security• Facility requirements• Transportability

• Training• Documentation• External interfaces• Testing• Quality provisions• Policy and regulatory • Compatibility to existing systems • Standards and technical policies • Conversion• Growth capacity• Installation• Contractual• Regulatory

Page 178: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 178Douglas Hoffman

Quality Requirements*

Product description• General requirements• Identifications and indications• Functionality• Reliability• Usability• Efficiency• Maintainability• Portability

User Documentation• Completeness• Correctness• Consistency• Understandability• Ease of overview

Programs and Data• Functionality• Reliability• Usability• Efficiency• Maintainability• Portability

* ISO/IEC 12119: 1994(E) (IEEE 1465-1998)

Page 179: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 179Douglas Hoffman

Requirements Elicitation

• Problem recognition

• Evaluation and synthesis

• Modeling

• Specification

• Review

Page 180: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 180Douglas Hoffman

Requirements Gathering Processes

• Interviews• Document Analysis• Brainstorming• Requirements Workshop• Prototyping• Use Cases• Storyboards• Interfaces Analysis• Modeling

Page 181: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 181Douglas Hoffman

Requirements Gathering Practices*

1. Project vision and scope

2. Project glossary

3. Joint requirements w/users

4. Requirement rationales

5. Train analysts and users about requirements

6. Have requirements CM

7. Prioritize requirements

8. Incremental development

9. Use reviews and inspections

10. Use a requirements tool

11. Use proven techniques

12. Include domain experts

13. Evolve mechanisms

14. Use CPI

15. Involve users throughout

16. V&V requirements * R.R.Young,”Effective Requirements Practices (Addiston-Wesley, 2001)

Page 182: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 182Douglas Hoffman

Requirements Obstacles

• User procedures

• Current capabilities

• Formal business rules

• Gold plating

Page 183: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 183Douglas Hoffman

User Procedure Issues

• Invalid Practices

• Workarounds

• SOPs

• Local Policies

• Antiquated Business Practices

Page 184: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 184Douglas Hoffman

Current Capability Issues

• Current system functionality

• Planned enhancements

• Offline processes

• Rogue applications

• Current system limitations

Page 185: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 185Douglas Hoffman

Formal Business Rules

• Legislation

• Local policy

• Industry standards

• Partnering agreements

• Regulations

Page 186: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 186Douglas Hoffman

Gold Plating

• Cutting-edge technology

• User desired features

• Management information

• Technical staff desire to provide better products

• Requirements creep

Page 187: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 187Douglas Hoffman

DESIGN FEATURES

65RATINGS

CUSTOMERNEEDS

COMPREHENSIVE

LOW COST

UP-TO-DATE

EASILY AVAILABLETEST QUESTIONS

TARGETVALUES

21 36 46 5335 70

5

5

5

5555

5

5

1

1

1

1

0

0

0

0 0

0

0 04

4

4 4

4 3

3

3

3

3

2

2

2

2

1

1

5

1

0

P

P

P

N

NN

COMPETITIONCOMPARISON

RANKINGS5 = MOST IMPORTANT0 = NO IMPORTANCE

P = POSITIVE INTERACTIONSN = NEGATIVE INTERACTIONS

Quality Function Deployment (QFD)

House of Quality

Needs

Product Features

Importance of Needs

Feature interaction

ContributionMeasurableOutcomes

CompetitivePosition

ComputedRating

Page 188: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 188Douglas Hoffman

Requirements Analysis and Modeling

• Represent the data domain • Model

– System data– Functions– Behaviors

• Partition into layers

• Move from essential descriptions toward implementation details

Page 189: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 189Douglas Hoffman

Requirements Analysis and Modeling

• Data Flow Diagram (DFD)• Control Flow Diagram (CFD)• Data Dictionary• Entity Relationship Diagrams (E-R)• State Transition Diagram• Data Content Model• Process Specifications• Control Specifications

Page 190: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 190Douglas Hoffman

Data Flow Diagram (DFD)Notation

Externalentity

Process

Dataitem

Data store

A producer or consumer of information that resides outside the bounds of the system to be modeled.

A transformer of information that resides within the bounds of the system to be modeled.

A data item or collection of data items; the arrowhead indicates the direction of data flow.

A repository of data that is to be stored for use by one or more processes; may be as simple as a buffer or queue or as sophisticated as a relational data base.

Page 191: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 191Douglas Hoffman

Control Flow Diagram (CFD)Illustration

Proecess Robot

Controls

Monitor fixtureand

Operator Interface

RobotInitiation Control

PositionCommands

RobotMovementRecord

Operator Settings

Start/StopFlag

MovementAlarm

ProcessActivate

Operator Commands

Bit String

Part status buffer

Robot Command fi le

Page 192: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 192Douglas Hoffman

Data Dictionary

• Represents data content of objects

• Lists all data elements

• Rigorously defines – Inputs– Outputs– Data Stores– Intermediate calculations

Page 193: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 193Douglas Hoffman

Entity Relationship Diagrams (E-R)

WRITERS CREATETRAININGMANUAL

TITLE SECTIONS QUESTIONS EDIT REVIEW ETC.

Data Object Table Illustration

E-R Diagram Illustration

Page 194: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 194Douglas Hoffman

Requirements AnalysisCommon Characteristics

Methods:• Support analysis• Hierarchical

representation• Force careful

consideration of interfaces

• Provide foundation for design and implementation

Characteristics:• Mechanisms for

analysis• Represent functions

and/or behaviors• Define interfaces• Partition the problem• Support abstraction• Represent essential

and implementation views

Page 195: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 195Douglas Hoffman

Data Structure Oriented Analysis

• Common characteristics:– Identify key information objects– Assures hierarchical information structure– Allows mapping the data into a program

• Warnier-Orr Method (DSSD)

• Jackson System Development (JSD)

• Object Oriented Requirements Analysis

Page 196: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 196Douglas Hoffman

Data Structure Systems Development (DSSD) a.k.a. Warnier-Orr Method

Sales Clerkreceivesrecords

order

Shipping order

fulfillment

Customer

UPS

Phone Order

Order No.

Shipment

Order File

Order #Cust nameAddressOrder DateS/W # Charge #

Title Author Unit $ Total

Order#

S/W # QuantityOrder dateCust Address

Accounting System

Page 197: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 197Douglas Hoffman

Jackson System Development (JSD)

Bus

Leave (1) Midtown Route

Arrive(1)

Garage (i)

0 Arrive

42nd St. (i)

0 Leave

42nd St. (i)

Movevehicle

* Accelerate

Illustration

Notation

* 0 0

ActionSequence

ActionIteration

ActionSelection

Page 198: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 198Douglas Hoffman

Approaches for Object Oriented Requirements Analysis

• Categorical

• Behavioral

• Domain

• Use-Case

• Textual

• Structured

Page 199: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 199Douglas Hoffman

Requirements Specification Process

• Systems and Software Engineering• Iterative process• Top down synthesis• Functions and behaviors uncovered,

analyzed, and allocated to components• Defines the scope (limits of the product)• Trade-offs• Becomes the System Specification

Page 200: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 200Douglas Hoffman

Requirements Trade-off Criteria

• Project considerations• Business considerations

• Technical analysis

• Manufacturing evaluation

• Human considerations

• Environmental interfaces

• Off-the-shelf solutions

Page 201: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 201Douglas Hoffman

Systems Requirements Specification*

• Functions and capabilities

• Business, organizational and user requirements

• Safety, security, and ergonomic requirements

• Operational, interface and maintenance requirements

• Constraints

• Qualification requirements

* IEEE 1233 GuideIEEE 1220 ProcessISO/IEC 12207 Life Cycles

Page 202: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 202Douglas Hoffman

Software Engineering Processes

• Analysis, design, and development methods and tools

– Software design methods

– Types of software reuse

– Clean room and other formal methods

– Software development tools

Page 203: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 203Douglas Hoffman

Information Domain

• Information flow– Transformations– Introduced data– Output data

• Information content– Individual data and control items– Combined into records

• Information structure and relationships

Page 204: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 204Douglas Hoffman

Models

• Aid in understanding system• Information• Functions• Behavior

• Become the focal point for review and testing

• Are the foundation for the design(Pressman, 1993)

Page 205: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 205Douglas Hoffman

Object Oriented Design

• Find the Classes and Objects

• Identify Structures

• Identify Subjects

• Define Attributes

• Define Services

Page 206: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 206Douglas Hoffman

Structured Analysis and Design

ExternalEntity

ExternalEntity

ExternalEntity

ExternalEntity

ExternalEntity

Computer Based

System

Input Information

Output

Page 207: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 207Douglas Hoffman

Unified Modeling Language (UML)Four Layer Architecture

Layer Description Example

meta-metamodel

The infrastructure for ametamodeling architecture.Defines the language forspecifying metamodels.

MetaClass, MetaAttribute,MetaOperation

metamodel An instance of a meta-metamodel. Defines thelanguage for specifying amodel.

Class, Attribute, Operation,Component

model An instance of a metamodel.Defines a language to describean information domain.

StockShare, askPrice,sellLimitOrder,StockQuoteServer

userobjects(user data)

An instance of a model.Defines a specific informationdomain.

<Acme_Software_Share_98789>, 654.56, sell_limit_order,<Stock_Quote_Svr_32123>

Page 208: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 208Douglas Hoffman

UML Representations

• Static Diagrams; classes and objects• Use-Case Diagram; systems functions and actors• Sequence Diagrams; sequential interactions and messages• Collaboration Diagram; objects’ interactions that together

perform a function non-sequentially• Statechart Diagram; the state machine• Activity Diagram; a state machine where states are

activities, and operations and transitions are triggered on activity completion (a.k.a “swimlane diagram”)

• Implementation Diagram; component source code structure and runtime processing descriptions

Page 209: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 209Douglas Hoffman

UML Perspectives

• Logical View; the structure of the model(for analysts and designers)

• Process View; the performance, scalability, and throughput (for system integrators)

• Implementation View; the software components (for programmers)

• Use-Case View; the system functionality(for end-users)

• Deployment View; the system topology and installation (for system engineers)

Page 210: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 210Douglas Hoffman

Software Reuse

• Development activity

• Components designed for more than one use

• Benefits– Cost savings– Reliability– Efficiency

Page 211: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 211Douglas Hoffman

Software Reengineering

• Maintaining Functionality

• Inventory Analysis• Documentation Analysis• Code Restructuring• Data Restructuring

• Reverse Engineering

Page 212: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 212Douglas Hoffman

Reverse Engineering

• Design Recovery

– Code and Data structures

– Code and Data flows

– E-R Models

• Re-implementation

Page 213: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 213Douglas Hoffman

Defect Prevention

• Use Standards

– Life Cycle Models

– CM

– Documentation

– Testing

Page 214: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 214Douglas Hoffman

Classical CleanroomDevelopment Team

BaselinedS/W

Specification

DevelopmentPlanning

Verify1st Module

VerifyModules1, 2, 3

Verify1st & 2ndModule

Test & Proof1st Module

Test & Proof1st & 2ndModules

Test & ProofModules1, 2, 3

Des and Dev1st Module

Des and Dev1st & 2ndModule

Des and DevModules

1, 2, 3

Requirements & SpecTeam

Verification/CertificationTeam

Page 215: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 215Douglas Hoffman

Modified Cleanroom

• Explicit component and functional requirements

• Explicit detailed design

• Explicit correctness arguments for design

• Formal inspections of code

Page 216: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 216Douglas Hoffman

Defect Removal

• Detection plus Repair

• Testing

• Reviews

– Peer or independent

– Formal or informal

– Document or code

Page 217: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 217Douglas Hoffman

Technical Reviews

• Three to five people

• Advance preparation

• Maximum of two hour sessions

• Peers only

Page 218: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 218Douglas Hoffman

Development Tools

• Management

• Modeling

• Design

• Code analysis and Testing

• Documentation

• Databases

Page 219: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 219Douglas Hoffman

Maintenance Processes

• Steps– Defect report

– Impact analysis

– Implement the fix

– Test

– Issue revisions

• Types

– Corrective

– Adaptive

– Perfective

– Preventative

Page 220: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 220Douglas Hoffman

Maintainability

• Factors that control maintainability– Qualified staff

– System structure

– System handling (CM)

– Standards use

– Structure of documentation

– Test cases

• Side effects

– Code

– Data

– Documentation

Page 221: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 221Douglas Hoffman

Operational Maintenance

• Framework

– User

– Environment

– Maintenance processes

– Software product

– Personnel

Page 222: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 222Douglas Hoffman

Maintenance Documents

• Requirements

• System architecture

• Program architectures

• Specifications and designs

• Source code

• Validation documents

• Maintenance guide

Page 223: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 223Douglas Hoffman

Maintenance Factors

• System documentation• “Lehman’s Laws”

– Continuing change– Increasing complexity– Large program evolution– Organizational stability– Conservation of familiarity

• Program understandability• Maintenance personnel• Tools

Page 224: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 224Douglas Hoffman

Maintenance Tools

• Reverse Engineering– Program slicer

– Static analyzer

– Dynamic analyzer

– Data flow analyzer

– Cross-referencer

– Dependency analyzer

– Transformation tool

• Testing– Simulator– Test case generator– Test path generators

• Other– CM– Documentation– Complexity assessment

Page 225: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 225Douglas Hoffman

Project Management

• General Knowledge, Conduct, and Ethics• Software Quality Management• Software Engineering Processes

• Program and Project Management

• Software Metrics, Measurement, and Analytical Methods

• Software Verification and Validation (V&V)• Software Configuration Management

Page 226: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 226Douglas Hoffman

Program and Project Management

• Planning

• Tracking and Controlling

• Risk Management

Page 227: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 227Douglas Hoffman

Program and Project Management

• Planning– Project planning elements

– Goal-setting and deployment

– Project planning tools

– Cost and value data

Page 228: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 228Douglas Hoffman

Planning

• Project Plan document• Project planning factors• Project planning methods and tools• Goal setting and deployment factors• Maintenance types• Software maintenance and adaptability

program planning• Supplier management methodologies

Page 229: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 229Douglas Hoffman

Contract Review

• Scope• Standards• Deliverables• Risks and Contingencies• Proprietary information• Resources identified• Subcontractor requirements

Page 230: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 230Douglas Hoffman

Contract Review (cont)

• Customer interfaces– Design– Test– Acceptance

• Security• Acceptance criteria• Change process• Training

Page 231: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 231Douglas Hoffman

Project Plan (SMP)

• Objectives and scope

• Contracts and standards

• Technical constraints

• Issues and alternatives

• WBS

• Estimates

Page 232: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 232Douglas Hoffman

Project Planning Elements

• Project Definition

• Scope Management

• Estimation - Forecasting

• Definition Phase

• Customer Goals

• Contract Review

• Software Management Plan

Page 233: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 233Douglas Hoffman

Project Initiation

• Contract

• Request for quote/proposal

• Feasibility study

• R & D

• Customer request

• Business need

• Strategic need

Page 234: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 234Douglas Hoffman

Project Factors

• Work to be done• Risks• Required resources• Tasks• Milestones• Effort required• Schedule

Page 235: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 235Douglas Hoffman

Goal-setting and Deployment

• Elements with goals– Size, cost, schedule, task duration– Critical project resources– Product quality– Software technical activities– Measures and metrics

• Goal Setting

• Goal Deployment

Page 236: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 236Douglas Hoffman

Estimation Elements

• Effort

• Resources

• Scheduled deliveries

Page 237: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 237Douglas Hoffman

Estimation Means

• Analogy

• Engineering assessment

• Subject Matter Experts (SME)

• Parametric Modeling

Page 238: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 238Douglas Hoffman

Parametric Modeling Tools

• COCOMO• Before You Leap (BYL)• Wang Institute Cost Model

(WICOMO)• DEC Plan• SLIM• Checkpoint

Page 239: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 239Douglas Hoffman

Scheduling Projects

• Critical path scheduling

• Resource availability

• Task cost estimates

• Task crashing times

• Task crashing costs

Page 240: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 240Douglas Hoffman

Software Project Management

• Work Breakdown Structure

• Phase Based Software Activities

• Planned Roles and Activities

Page 241: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 241Douglas Hoffman

Milestones

• Events

• Entry and exit criteria

• Correspond with phase transitions

• Key for process control

Page 242: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 242Douglas Hoffman

PERT Example

Start

Task1

Task2

Task3

Task4

Task5

Task6

Task7 End

Task11Task9

Task10

Task8

A

B

C

D

E

F

G

Program Evaluation and Review Technique

(2)(5) (4)

(3)

(3) (4)

(3)

(4)

(4)

(3)(6)

Page 243: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 243Douglas Hoffman

PERT / CPM Example

T a s k T i m e E a r l y L a t eS t a r t - - -

1 2 0 02 3 0 43 5 2 24 4 3 75 3 3 76 4 7 1 37 4 7 78 4 6 1 09 3 1 1 1 1

1 0 3 1 1 1 71 1 6 1 4 1 4

E n d - 2 0 2 0

Page 244: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 244Douglas Hoffman

PERT/CPM

Task1

2

Task2

3

Task9

3

Task5

3

3

Task10Task3

5

Task4

4

Task8

4

Task7

4Task6

4

Task11

6

Critical Path Method

Page 245: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 245Douglas Hoffman

Gantt Chart Example

Task Wk 1 Wk 2 Wk 3 Wk 4 Wk 5 Wk 6 Wk 7 Wk 8 Wk 9 Wk 10 Wk 11 Wk 12Wk 13 Wk 14 Wk 15Wk 16 Wk 17 Wk 18 Wk 19 Wk 20

1

2

3

4

5

6

7

8

9

10

11

Page 246: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 246Douglas Hoffman

Work Breakdown Structure

• Estimate size

• Decompose tasks

• Identify dependencies

• Build vs. Buy

Page 247: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 247Douglas Hoffman

Project Sizing Using Function Points

• Counting ‘Externals’– Inputs (X4)

– Outputs (X5)

– Inquires (X4)

– Interfaces (X7)

• Add count of internal [logical] files (X10)

• Summed values adjusted by experience

• All values weighted by complexity

Page 248: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 248Douglas Hoffman

Cost and Value Data

• Resource planning

• Cost estimation

• Cost budgeting

• Cost Control

Page 249: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 249Douglas Hoffman

Resource Planning

• Input data:– Task duration from WBS– Project scope statement– Activity duration estimates

• Output data:– Resource requirements

• People• Platforms

• Equipment• Materials

Page 250: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 250Douglas Hoffman

Cost Estimation

• Input data:– WBS– Resource requirements– Historical data and information– Resource rates– Risks considered for cost estimates

• Output data:– Cost estimates (as cost and schedule)

Page 251: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 251Douglas Hoffman

Cost Budgeting

• Input data:– Cost estimates– WBS– Project schedule– Risk management plan

• Output data:– Cost baseline

Page 252: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 252Douglas Hoffman

Cost Control Process

• Manage to the budget

• Procedures for changing cost baseline– Cost tracking system– Approvals for authorizing changes

• Performance measurement techniques– Assess the magnitude of cost variations– Earned value measures

Page 253: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 253Douglas Hoffman

Earned Value Management

• Planned value– Physical work schedule to be performed– Estimated value of the work

• Earned value– Physical work accomplished– Estimated value of the work

• Actual costs– Amount of resources consumed

Page 254: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 254Douglas Hoffman

Project Progress

• Phase transitioning control techniques

• Collecting ‘Cost of Quality’ data

• ‘Cost of Quality’ categories

• Cost, progress, and deliverable tracking

Page 255: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 255Douglas Hoffman

Tracking and Controlling

• Phase transition control techniques

• Reporting and interpreting Cost of Quality (COQ) data

• Tracking elements and methods

• Project reviews

Page 256: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 256Douglas Hoffman

Tracking and Monitoring

• Project Plan• Management approval for

external commitments• Internal and external

change management• Product quality• Reviews of status, plans,

performance and issues• Formal reviews at

milestones

• Tracing and control of– Size, cost, schedule– Computer resource– Technical activities– Software technical, cost,

resource, schedule, and quality risks

– Measures, metrics and replanning data

• Post-release lessons learned review

Page 257: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 257Douglas Hoffman

Phase Transition Controls

• PERT

• CPM

• WBS

• Schedule

Page 258: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 258Douglas Hoffman

Scheduling Factors

• Development environment

• Programmer skill levels

• Language and compiler stability

• Adjunct resources (e.g., test beds)

• Schedule commitments

• SDLC

• Corporate culture

Page 259: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 259Douglas Hoffman

Budgeting

• BCWP

• ACWP

• BCWS

• Earned Value Analysis

Page 260: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 260Douglas Hoffman

Earned Value Analysis Computations

Scheduled Completion

Actual Completion

Budgeted Cost

Actual Cost

Task 1Task 2Task 3Task 4…Task n

<count to date> <count to date> <cost to date> <cost to date>

Page 261: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 261Douglas Hoffman

Earned Values

Cost Variance = BCWP – ACWP

Schedule Variance = BCWP – BCWS

Cost Performance Index = BCWP/ACWP

Earned Value = BCWP

Page 262: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 262Douglas Hoffman

Earned Value Analysis

Time

$

TargetCompletion

TargetCost

OverrunDate

BCWP

ACWP

BCWS

Slippage

CostOverrun

Cost Variance

Schedule Variance

Page 263: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 263Douglas Hoffman

Other Cost Metrics

• Planned Value (PV)• Earned Value (EV)• Actual Cost (AC)• Budgeted [cost] at Completion (BC)• Latest Revised Estimate (LRE)

• Schedule Variance = EV -PV• Cost Variance = EV - AC• Schedule Performance Indicator = EV/PV• Cost Performance Indicator = EV/AC

Page 264: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 264Douglas Hoffman

Quality Cost Responsibilities

• QA

• Accounting

• Management

• General Manager

Page 265: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 265Douglas Hoffman

Quality Cost Improvement

• Identify categories

• Collect costs

• Oversee accuracy

• Analyze data

Page 266: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 266Douglas Hoffman

Quality Cost Program

• Budgeting

• Cost Categories

• Advantages/Limitations

• Optimum Costs

Page 267: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 267Douglas Hoffman

Optimum Quality CostsC

ost P

er G

ood

Uni

t

FailureCosts

Cost of AppraisalPlus Prevention

TotalCosts

OptimumPoint

100%Bad

100%Good

Page 268: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 268Douglas Hoffman

Project Reviews

• Senior Management Review

• Project Status Review

• Closed Loop Methodologies– Project Plan updates

– Corrective action plans

– Lessons learned

Page 269: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 269Douglas Hoffman

Implementation

• Project management tools

• Reporting ‘Cost of Quality’ data

• Trade-offs in release decisions

Page 270: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 270Douglas Hoffman

Risk Management

• Risk management planning methods

• Risk probability

• Product release decisions

• Software security, safety, and hazard analysis issues

Page 271: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 271Douglas Hoffman

Risk Management Planning

• Project risks– Product performance– Actual costs higher than budgeted– Late product delivery

• Risk areas– Technical (performance)– Supportability (performance)– Programmatic (performance)– Cost– Schedule

Page 272: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 272Douglas Hoffman

Risk Management

• Features - Costs - Schedule• Uncertainties

– Requirements– People– Metrics Data– Subjective values– Model correctness

• Risk management process

Page 273: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 273Douglas Hoffman

Continuous Risk Management

• Identify

• Analyze

• Plan

• Track

• Control

• Mitigate

• Communicate

Identify

Analyze Plan

Mitigate Control

TrackCommunicate

Page 274: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 274Douglas Hoffman

Uncertainty in Quantification

• Product requirements

• Variability in personal performance

• Inaccuracies in measurements

• Judgement variations

Page 275: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 275Douglas Hoffman

Risk Probabilities

• Components of risk– An [unwanted] event– A likelihood of occurrence– The impact of the event– Ability to notice the event

• Risk identification

• Qualitative risk analysis

Page 276: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 276Douglas Hoffman

Risk Response - Contingency Plans

• Avoidance: action to eliminate the risk

• Transference: shift the consequence elsewhere

• Mitigation: reduce the likelihood or consequence

• Acceptance: decision not to change

Page 277: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 277Douglas Hoffman

Product Release Decisions

• Decision attributes– Content (functionality)– Schedule– Quality

• Management team decision

• Release Criteria– Identified deliverables– Documents reviewed– Testing complete with

acceptable pass rate– Regression testing complete– Prioritized defects resolved– Planned release criteria all met– Risks identified and mitigated– Exceptions to plans are resolved– Customer notified– Product Support plan in place– Quality criteria have been met

Page 278: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 278Douglas Hoffman

Project Corrective Actions

• Factors requiring trade-off– Schedule– Cost– Quality– Customer

requirements– Functionality

• Schedule compression most common issue

• Typical decisions– Outsourcing software

development (contractors)– Phased deliveries of increasing

functionality– Phased delivery of customer

requirements– Delivery with known non-critical

defects– Re-negotiating cost or schedule

Page 279: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 279Douglas Hoffman

Security, Safety, and Hazards

• Faults

• Authentication

• Safety-Critical software (HACCP)

• Real-time logic

• Petri net models

• Fault tree analysis

Page 280: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 280Douglas Hoffman

Common Security Faults

• Programmer errors• Input Overflows• Fault prevention• Syntax checking flaws• Making a function too general• Documentation

– Lapses– Wrong– Missing– Confusing– Faulty

• Lack of security awareness

• Easter Eggs• Miss-configured

security functions• Default passwords

Page 281: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 281Douglas Hoffman

Metrics and Measurement

• General Knowledge, Conduct, and Ethics• Software Quality Management• Software Engineering Processes• Program and Project Management

• Software Metrics, Measurement, and Analytical Methods

• Software Verification and Validation (V&V)• Software Configuration Management

Page 282: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 282Douglas Hoffman

Background for Software Metrics

• Definitions

• Process and product measurement

• Analytical techniques

Page 283: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 283Douglas Hoffman

Software Metrics Questions

• How much do we need to know before measuring

• How do we know what we’ve measured

• What do the measures really mean

• What arithmetic makes sense

Page 284: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 284Douglas Hoffman

Measurement Theory Definitions

• Entity (object or event)• Attribute (property of an entity)• Measurement (assign a value)• Primitive (measurable entity)• Measure (value assigned)• Reliability (repeatability)• Validity (freedom from bias)• Measurement Error (systematic and

random)• Representational Condition (model)

Page 285: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 285Douglas Hoffman

Definitions of Metrics and Measures

• Software Metrics• Defect• Error• Failure• Fault• KCSI• KLOC• KSLOC• Dependent/Independent Variables

Page 286: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 286Douglas Hoffman

Measurement Theory

• Conditions for measurement

– Sets

– Relations

– Axioms

– Functions

Page 287: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 287Douglas Hoffman

Types of Measures

Scale Description Example Center Dispersion Tests

NominalNames or categories

Colors ModeInformation only

Chi-square

Ordinal OrderedDefect classifications

Median PercentagesSign or run test

IntervalDifferences can be measured

Temperature (F)

Arithmetic Mean

Standard or average deviation

RatioInherent zero start value

MoneyGeometric or harmonic mean

Percent variation

t-testF testcorrelation analysis

Page 288: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 288Douglas Hoffman

Central Limit Theorem

Population with• mean µ• variance σx

2

• large number of samples (n of them)

• distribution of sample means is normal

• with population mean and variance (µ, σx

2)

Page 289: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 289Douglas Hoffman

Measures of Central Tendency

• Mean (X-bar)arithmetic average

• Modemost frequent

• Medianmiddle value (when ordered)

Page 290: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 290Douglas Hoffman

Measures of Dispersion

• Rangelargest - smallest

• Variance (σ2, S2)σ2 = ∑(X - µ)2/NS2 = ∑(X - X-bar)2/(n-1)

• Standard Deviationσ = SQRT [ ∑(X - µ)2/N ]S = SQRT [ ∑(X - X-bar)2/(n-1) ]

• Coefficient of VariationCOV =( S/X-bar) * 100

Page 291: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 291Douglas Hoffman

Psychology of Metrics

• Potential for problems

• Results based

• Clear objectives

• Process and product focus

• Avoid misuse

• Hawthorne effect

Page 292: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 292Douglas Hoffman

GQM Metric Selection Paradigm *

• GoalWhat you want to learn

• QuestionWhat answer you need to know

• MetricHow to measure/ compute it

* Basili and Rombach (1984)

Page 293: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 293Douglas Hoffman

Process and product measurement

• Process, product, and resource metrics

• Commonly used metrics

• Software quality attributes

• Defect detection effectiveness measures

• Program performance and process

effectiveness

Page 294: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 294Douglas Hoffman

Designing Measures

• Types of software measures– Product– Process– Resources

• Purpose of metrics– Assessment– Prediction

• Model is required

Page 295: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 295Douglas Hoffman

Examples of Software Metrics

Product Process ResourceSpec Develop spec PersonnelDesign Detailed design SoftwareCode Testing HardwareTest Data Work area

Page 296: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 296Douglas Hoffman

Designing Measures

• IEEE Standard 1061Software Metrics Methodology

• IEEE Standard 982.1Standard Dictionary of Measures

• IEEE Standard 982.2Guide to using IEEE 982.1

Page 297: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 297Douglas Hoffman

IEEE 1061 Methodology

• Establish Software Quality Requirements

• Identify Software Quality Metrics

• Implement the Metrics

• Analyze the Metrics Results

• Validate the Metrics

Page 298: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 298Douglas Hoffman

Metrics Examples

• Halstead - Software Science

• Boehm - COCOMO

• Albrecht - Function Points

• McCabe - Cyclomatic Complexity

• De Marco - Bang Metrics

• LOC Measures

Page 299: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 299Douglas Hoffman

Software Quality Attributes

Attribute Metrics

VerifiabilityNumber of implementable requirements

UsabilityAverage number of errors made by users in a given time

Reusability Value of resources saved

TestabilityNumber of requirements with test criteria; number of requirements planned

ExpandabilityorExtendability

Amount of spare capacity available

PerformanceNumber of transactions per second

Robustness Time to restart after system failure

TraceabilityNumber of requirements included in, assigned to, or tested

Attribute Metrics

CorrectnessFaults/LOCFaults/RequirementsFaults/Standards

Efficiency Actual or Allocated Utilization

FlexibilityAverage labor days to change

IntegrityFaults/LinesFaults relative to security

Inter-operabilityEffort to couple or develop

Maintainability Average labor days to fix

Portability Effort to transport or to develop

Reliability Faults/LOC

Tables 7.7 and 7.8 (pp. VII-26 & 27) (IEEE 610.12)

Page 300: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 300Douglas Hoffman

General Software Factors*

* Capers Jones, 1997

• Correctness• Reliability• Efficiency• Integrity• Security• Usability• Maintainability

• Testability• Flexibility• Portability• Reusability• Inter-operability• Understandability

Page 301: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 301Douglas Hoffman

Rayleigh Model

A = high level design inspectionB = low level design inspectionC = code inspectionD = component testE = system testF = customer usage

Def

ect R

ate

Development Stage

A B C D E F

Page 302: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 302Douglas Hoffman

Exponential DistributionD

efec

ts p

erK

CS

I or

KLO

C

Time -->

Page 303: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 303Douglas Hoffman

Software Models

• Time Between Failures (TBF)

• Fault Counts (FC)

• Examples– Jelinski-Moranda (J-M) (TBF)

– Littlewood (LW) (TBF)

– Goel-Okumoto (G-O) (FC)

– Goel-Okumoto (NHPP) (FC)

– Musa-Okumoto (FC)

– Delayed S and Inflection S (FC)

Page 304: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 304Douglas Hoffman

Defect Removal Effectiveness

Error detection effectiveness =

(Michael Fagan, 1976)

Defect detection effectiveness =

Defect removal effectiveness =

(Capers Jones, 1991)

100______ ∗inspectionbeforeerrorsTotal

inspectionbyfoundErrors

100______ ∗operationatpresentDefects

operationbyfoundDefects

100______ ∗+ foundnotDefectsfoundDefects

foundDefects

Page 305: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 305Douglas Hoffman

Phase Containment

Development Phase Defect Cause Defect Detection

RequirementsRequirements gatheringRequirements specification

Requirements analysisRequirements review

High level design Design work Inspection

Low level design Design work Inspection

Coding Coding Inspection

Unit test Bad defect fixes Unit testing

Integration Bad defect fixes Integration testing

System test Bad defect fixes System testing

Page 306: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 306Douglas Hoffman

Process Measures

• Steps *

– Actual vs. Plan– Extrapolate– Assess impact of problems– ID and evaluate alternatives– Make decisions– Monitor for changes

• Trends• Thresholds & Targets

* McGarry, 2002

Page 307: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 307Douglas Hoffman

Process Effectiveness

• ISO 9000-2000– Procedures followed– Measured results– Process ownership– Management support– Incentive alignment– Proper training– Feedback encouraged– Improvement results– Uses technology

• CMM/CMMI Level

• Measurements– Performance– Reliability– Usability– Cost of process– Cost of Quality– Responsiveness– Adaptability– Dependability– Applicability– Accuracy– Quality of products

Page 308: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 308Douglas Hoffman

Metrics Data Integrity

• Data correctness– Collection– Analysis– Comparisons

• Data errors

• Data management

• Data quality– Bias– Rounding– Sequence– Timeliness– Population statistics– Entry errors– Hunches– Environment

Page 309: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 309Douglas Hoffman

Software Data Error Types*

• Calculation error

• Blank field

• Transfer data (prior project)

• Entry error

• Transfer data (this project)

• Impossible values

• Process sequence not followed* Disney, 1998

Page 310: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 310Douglas Hoffman

Seven Quality Analysis Tools*

• Check Sheet• Pareto Diagram• Histogram• Scatter Diagram• Graph• Control Chart• Cause and Effect Diagram

* Ishikawa, 1991

Page 311: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 311Douglas Hoffman

Check Sheet (Checklist)

Keith Stobie - Testware Evaluation11/1/00

TEST CASE DOCUMENTATION

• Run instructions complete, concise, andconforms to standards

• Evaluation instructions complete, concise, andconforms to standards

• All instructions provided in an on-line file• Installation instructions complete, concise, and

conforms to standards• Special instructions complete, concise, and

conforms to standards• Configuration Management instructions

complete, concise, and conforms to standards• Tests are traceable to a test design specification.

Page 312: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 312Douglas Hoffman

Pareto Diagram

59

38

7686

9398 100

0

20

40

60

80

100

C1 C2 C3 C4 C5 C6 C7

Causes

%

Co

un

t

Page 313: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 313Douglas Hoffman

Histogram

0

10

20

30

40

50

5 10 15 20 25 30 35 40 45

Days the Defect Report is Open

% O

F T

OT

AL

DE

FE

CT

S

Page 314: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 314Douglas Hoffman

Graphs

Line Graph

0

10

20

30

40

1 3 5 7 9

B

AC

D

EF

Pie Chart

Page 315: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 315Douglas Hoffman

Scatter Diagram

05

101520253035

0 1 2 3 4 5 6

Complexity Index

De

fec

ts

Page 316: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 316Douglas Hoffman

Control Chart

0

5

10

15

20

0 2 4 6

Time

# F

ailu

res UCL

LCL

µ

Page 317: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 317Douglas Hoffman

Cause and Effect Diagram

IneffectiveInspection

PoorPlanning

InsufficientPreparation

PoorOverview

Moderator InspectionMeeting

Follow-up

Lack ofresources

Incompletedocuments

Insufficient time

Wrong participants

Graphs notavailable

Lack of prep time

No background

No follow-up

No traceability

Poor standards

Not trained

No checklist

All defectsnot recorded

No rootcause analysis

Defects notcategorized

No process fordefect certification

Defect opened> 120 days

Page 318: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 318Douglas Hoffman

Other Quality Tools

• Flow Charts

• Problem solving

• Root cause analysis

• Plan-Do-Check-Act (PDCA)

• 7 new tools

Page 319: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 319Douglas Hoffman

Example Flow Chart Symbols

Process

PredefinedProcess

AlternateProcess Decision Data

Document Terminator

ManualInput

Extract

Merge

Connector

Delay DataStorage

DisplayOff page

Connector

ManualOperation

Preparation

Page 320: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 320Douglas Hoffman

Problem Solving Process

• Principles– Clearly defined problem– Participation w/out criticism– Address root causes (not symptoms)– Data-driven decisions

• Process– State problem from customer view– Generate a list of root causes– Solutions to address largest causes– Prioritize solutions

Page 321: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 321Douglas Hoffman

Root Cause Analysis

• Identify Initial Cause

• Repeated Questioning– When was the problem found?

– Where could the problem have been found?

– Where should the problem have been found?

Page 322: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 322Douglas Hoffman

Deming’s PDCA cycle(Walter Shewhart Cycle)

Plan:What to accomplish? What changes? What data? New observations? New test? How to use planned observations

Do: Carry out the change or test

Check:Observe the effects of the change or test

Act: Study the results. What lessons? What predictions? What improvements or changes (if any)?

P

D

C

A

Page 323: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 323Douglas Hoffman

Seven New Tools

Japanese names1. Relations Diagram

2. Affinity diagram

3. Systematic diagram

4. Matrix diagram

5. Matrix analysis

6. Process decision program chart (PDPC)

7. Arrow diagram

American counterpart2. Affinity diagram

3. Tree diagram

6. Process decision program chart (PDPC)

5. Matrix diagram

1. Interrelationship digraph (I.D.)

4. Prioritization matrices

7. Activity network diagram

Page 324: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 324Douglas Hoffman

Affinity Diagrams

Exam Prep Example

Resources

Preparation

Learn

Motivation

CSQE Primer

TextbooksASQ BOK

Literature

Watch video

SQE ClassesGroup study

CSQE class

Teach BOK

Study intensivelyStart early

Experience Motivate self

Develop prideListen toCSQEs

Bonus $

Study subjectsseparately

Practice exams

Self studyMentorTutor

Improve work

Page 325: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 325Douglas Hoffman

Interrelationship Digraph Example

Cause Effect

Groupstudy

CSQEworkshop

GetPrimer

Bonus Attendclass

Peershave

CSQE Job needsCSQE

Selfmotivate

Collegeclasses

Prepare forCSQE exam

Call-insource

GetBOK

Studytests

Intensivestudy

Tutor

Promotiontakes CSQE

Page 326: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 326Douglas Hoffman

Tree Diagrams

CSQE Test Prep

PrimerCSQE BOKOther books

Recources

VideosCSQE PrepClassTutorSQE Classes

ObtainKnowledge

ExperienceTeach CSQEStudy BOKPracticeExams

Prepare

SelfAsk for $Listen toCSQEsPride

Motivate

Pass CSQEExam

Page 327: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 327Douglas Hoffman

Criteria Weighting Matrix Example

Weighted Criteria

• List Criteria

• Each person assigns percentages

• Sum to Totals

• Totals are composite weights

Perosn 1 Perosn 2 Perosn 3 Perosn 4Ranking Ranking Ranking Ranking

Work Experience 0.05 0.10 0.10 0.20 0.45

Have a Tutor 0.10 0.20 0.30 0.10 0.70

Study in Group 0.15 0.10 0.05 0.20 0.50Attend CSQE

Refresher 0.25 0.20 0.20 0.30 0.95Study Old

Tests 0.15 0.15 0.25 0.10 0.65High

Motivation 0.30 0.25 0.10 0.10 0.75Total 1.00 1.00 1.00 1.00 4.00

TotalCriteria

Page 328: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 328Douglas Hoffman

Criteria/Factor Ranking Matrix

Criteria/Factor Ranking

• List Factors (facets) being weighed

• Consensus rank (order) Factors for each Criteria

Criteria

Factors

Work Experience

Have a Tutor

Study in Group

Attend CSQE

Refresher

Study Old Tests

High Motivation

Knowledge and Ethics

1 2 3 2 1 3

Quality Management

2 3 1 3 3 4

Audits 4 1 2 1 2 2Engineering Processes

3 4 4 4 5 5

Program Management

7 7 8 7 6 8

Software Metrics

6 8 7 8 8 7

Verification & Validation

5 6 5 6 7 6

Configuration Management

8 5 6 5 4 1

Page 329: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 329Douglas Hoffman

Prioritization Matrix Example

Prioritize

• Multiply Weighted Criteria by Factor Ranking

• Compute Total for Each Factor

Weight 0.45 0.70 0.50 0.95 0.65 0.75 Criteria

Factors

Work Experience

Have a Tutor

Study in Group

Attend CSQE

Refresher

Study Old Tests

High Motivation

Knowledge and Ethics

0.45 1.40 1.50 1.90 0.65 2.25 8.2

Quality Management

0.90 2.10 0.50 2.85 1.95 3.00 11.3

Audits 1.80 0.70 1.00 0.95 1.30 1.50 7.3Engineering Processes 1.35 2.80 2.00 3.80 3.25 3.75 17.0

Program Management

3.15 4.90 4.00 6.65 3.90 6.00 28.6

Software Metrics 2.70 5.60 3.50 7.60 5.20 5.25 29.9

Verification & Validation

2.25 4.20 2.50 5.70 4.55 4.50 23.7

Configuration Management

3.60 3.50 3.00 4.75 2.60 0.75 18.2

Total

Page 330: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 330Douglas Hoffman

Matrix Diagrams

• L-typeStandard, two factor matrix

• T-typeTwo factors on Y-axis, one on X-axis

• X-typeTwo factors on each Y-axis and X-axis

• Y-typeTwo L-type matrices with common Y-axisStandard, three dimensional matrix

• C-typeTwo L-type matrices with common Y-axisThree dimensional matrix with unique values

Page 331: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 331Douglas Hoffman

X-type Matrix Example

O Cause 1 ? XX ? Cause 2 ?

Cause 3 O OCause 4

Team 1 Team 2 Team 3 Dept 1 Dept 2 Dept 3 Dept 4 Dept 5Problem 1

O Problem 2 OProblem 3 ? ?

X ? O Problem 4 XProblem 5Problem 6 X

X - Presence documentedO - Presence likely? - Presence possible

Page 332: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 332Douglas Hoffman

Process Decision Program Charts (PDPC) Example 1

StartGoal

A1

A2 A4 ResultRA4 Contingency

A3 A5 ResultRA5 Contingency

B1

B2 B4 ResultRB4

Contingency

B3 B5 ResultRB5 Contingency

MajorCategories

2nd

LevelLast

Level

LastLevel

“What-ifs”

Solutionsto

“What-ifs”

Page 333: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 333Douglas Hoffman

Process Decision Program Chart Example 2

Needfor theCSQE

Enrollin CSQERefresher

ObtainResources

StudyWithClass

No CSQEClasses

Get aTutor

Studyvia

Tutor

Passthe Test

Studyvia

Tutor

HaveFriendsSupport

Loss ofMotivation

FindOthers

StudyAlone

Find aCSQE

CallExpert

GetPumped

Up

Page 334: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 334Douglas Hoffman

Activity Network Diagram Link

Page 335: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 335Douglas Hoffman

Sampling Theory and Techniques

• Sampling is data

collection

• Consumer’s risk (β)

• Producer’s risk (α)

• Acceptance sampling

– Attributes plan

– Variables plan

• Auditing sampling

• Random sampling

• Sequential sampling

• Stratified sampling

• Required sample size

Page 336: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 336Douglas Hoffman

Sampling Errors

Good Bad1 - α β

producer'sconfidence

Type II Error

α 1 −βType I Error

consumer'sconfidence

Actual Quality

The Decision

Made

Called Good

Called Bad

Page 337: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 337Douglas Hoffman

Verification and Validation

• General Knowledge, Conduct, and Ethics• Software Quality Management• Software Engineering Processes• Program and Project Management• Software Metrics, Measurement, and

Analytical Methods

• Software Verification and Validation

• Software Configuration Management

Page 338: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 338Douglas Hoffman

V&V Theory

• V&V planning procedures and tasks

• V&V program

• Evaluating software products and processes

• Interfaces

Page 339: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 339Douglas Hoffman

V & V Quality Attributes*

• Accuracy• Completeness• Consistency• Efficiency• Expandability• Flexibility• Interoperability• Maintainability• Manageability

• Portability• Readability• Reusability• Reliability• Safety• Security• Survivability• Testability• Usability * IEEE 1059

Page 340: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 340Douglas Hoffman

Vocabulary

• Inspection

• Walkthrough

• Review

• Test

• V & V

• Regression

Page 341: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 341Douglas Hoffman

V & V Planning

• Scope for V & V

• Establish objectives

• Analyze project inputs

• Select techniques and tools

• Develop the plan

Page 342: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 342Douglas Hoffman

V & V Methods

• Evaluating products and processes

• Requirements traceability

• Evaluating requirements

• Evaluating interfaces

• Evaluating test plans

• Evaluating the severity of anomalies

• Assessing proposed modifications

• Which V & V tasks should be iterated

Page 343: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 343Douglas Hoffman

Reviewing a V & V Program

• Evaluation criteria• Requirements traceability

• Evaluate documents

• Evaluate test plans

• Evaluate test results

• Audit results and corrective actions

Page 344: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 344Douglas Hoffman

V & V Interfaces

• Requirements

• Design

• Source code

Page 345: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 345Douglas Hoffman

Inspection Types

• Desk check (walkthrough)

• Walkthrough (evaluate)

• Inspection (debug)

• Management review

• Technical review

Page 346: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 346Douglas Hoffman

Measures for ReviewingInspection Efforts

• Inspection Rate

• Defect Rate

• Effectiveness Ratio

• Trends

• Technical Accomplishments

• Resource Utilization

Page 347: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 347Douglas Hoffman

Review and Inspection Items

• Project items

• Project change items

• Software tool items

• Software process items

Page 348: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 348Douglas Hoffman

Review and Inspection Process

• Objectives

• Entry criteria

• Exit criteria

• Techniques and methods

• Participant roles

Page 349: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 349Douglas Hoffman

Inspection Data Collection

• Defect type• Defect class

• Defect severity

• Inspection measures

• Phase containment

• Data management

• Reporting

Page 350: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 350Douglas Hoffman

V&V Test planning and design

• Types of tests• Test tools• Test strategies• Test design• Test coverage of specifications• Test environments• Supplier components and products• Test plans

Page 351: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 351Douglas Hoffman

Types of Tests

• Functional• Performance• Regression• Load• Worst case• Perfective• Exploratory• Random-Input• Certification

• Stress• Usability• Real Time• Life*

• Collision*

• Security*

• Installation*

• Recovery*

* Not included in Primer

Page 352: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 352Douglas Hoffman

Test Levels

• Unit

• Component

• Integration

• System

• Field

Page 353: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 353Douglas Hoffman

Test Strategies

• Top down

• Bottom Up

• Black box

• White box

• Simulation

• I/O first

• Alpha/Beta testing

• Fault insertion

• Fault-Error handling

• Equivalence class partitioning

• Boundary value analysis

• Cause effect graphing

• Error guessing

• Customer defects

Page 354: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 354Douglas Hoffman

Test Design

• Excellent test cases

• Equivalence classes

• Scenarios

• Customer defects

• Test coverage

• Fault insertion

Page 355: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 355Douglas Hoffman

An Excellent Test Case

• Reasonable probability of catching an error*

• Not redundant with other tests*

• Best of breed*

• Exercise to stress the area of interest• Minimal use of other areas• Neither too simple nor too complex*

• Makes failures obvious*

• Allows isolation and identification of errors* Kaner (1993)

Page 356: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 356Douglas Hoffman

Test Coverage of Specifications

• Functions

• States

• Data

• Time

• Localization

• Internationalization

Page 357: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 357Douglas Hoffman

Test Environments

• Test Libraries

• Drivers and Stubs

• Harnesses

• Compatibility Labs

• Simulators• Other tools

Page 358: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 358Douglas Hoffman

Supplier Quality

• Testing supplier components– COTS– MOTS– Fully Developed

• Customer deliverables specifications– User documentation– Marketing materials– Training materials

Page 359: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 359Douglas Hoffman

Test Planning

• Types of plans– System– Acceptance– Validation

• Implementation– Scheduling– Freezing– Dependencies– V-model– Error repair models– Acceptance testing– Resources– Analysis of test results

Page 360: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 360Douglas Hoffman

Test Documentation

• Defect recording

• Defect tracking

• Test Plan

• Test Log

• Test Design

• Test Case

• Test Procedure

Page 361: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 361Douglas Hoffman

Test Reports

• Defect report

• Test result

• Test report

• Traceability matrix

• Test completion metrics

• Trouble reports

Page 362: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 362Douglas Hoffman

Test Management

• Scheduling

• Freezing

• Resource Management

• Dependencies

• Analysis of Results

Page 363: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 363Douglas Hoffman

Reviewing Testing Efforts

• Tasks– Technical results

– Planning

– Risk management

– Resource use

• Methods– Management review

– Technical review

– Inspection

– Walkthrough

– Test

– Audit

Page 364: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 364Douglas Hoffman

Test Coverage of Code

• Branch• Condition• Domain• Cyclomatic complexity• Boundary• Path• Individual predicates• Data• Functions

Page 365: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 365Douglas Hoffman

Cyclomatic Complexity

N-1

N-4

N-3

N-2

N-5

N-6 N-7

E-1

E-4E-3 E-2

E-7E-6

E-5

E-10

E-9E-8

E-11

R-1

R-6

R-4R-3

R-5

R-2

V(G) = 6

V(G) = E - N + 2

R(G) = 6

N(G) = 7

E(G) = 11

V(G) = R(G) = 6

= 11 - 7 + 2= 6

Page 366: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 366Douglas Hoffman

Severity of Anomalies*

Criticality Description LevelHigh Selected function affects critical

performance of the system.4

Major Selected function affects importantsystem performance.

3

Moderate Selected function affects criticalsystem performance, butworkaround strategies can beimplemented to compensate for lossof performance.

2

Low Selected function has a noticeableeffect on system performance, butonly creates inconvenience to theuser if the function does not performin accordance with requirements.

1

* Example from IEEE 1012-1998

Page 367: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 367Douglas Hoffman

Configuration Management

• General Knowledge, Conduct, and Ethics• Software Quality Management• Software Engineering Processes• Program and Project Management• Software Metrics, Measurement, and

Analytical Methods• Software Verification and Validation (V&V)

• Software Configuration Management

Page 368: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 368Douglas Hoffman

Configuration Management

Page 369: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 369Douglas Hoffman

Benefits from CM

• Product attributes defined• Documented product

configuration• Labeled and correlated• Change evaluation• Change management• Configuration captured• Configuration verification

Page 370: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 370Douglas Hoffman

Rationale for CM

• Change inevitable

• Complexity increases

• Simultaneous updates

• Double maintenance

• Shared code

• Common code

• Versions evolve

Page 371: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 371Douglas Hoffman

CM Terms1

• Baseline: A uniquely identified consistent group of related SCIs captured as a milestone. A specification or product that has been reviewed and agreed upon as a basis for future development, which can be changed only through procedures

• CASE: Computer Aided Software Engineering; Use of software tools to design, requirements tracing, code production, testing, doc generation, and other software activities

• Configuration: Functional and physical characteristics of hardware or software as set forth in technical docs or achieved in a product

• Configuration Control: Element of CM; Evaluation, coordination, approval (or dis-), and implementation of changes to CItems after establishment of C ID.

• Configuration Control Board (CCB): Group responsible for evaluating and approving (or dis-) proposed changes to C Items and ensuring implementation of approved changes

Page 372: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 372Douglas Hoffman

CM Terms2• Configuration Identification: selecting the C Items for a system and recording

their functional and physical characteristics in technical docs

• Configuration Item (CI): Hardware or Software (or both) designated for CM and treated as a single entity in the CM process

• Configuration Management (CM): Discipline applying technical and admin direction and surveillance to ID and doc the functional and physical characteristics of a C Item, control changes, record and report change processing and implementation status, and verify compliance with requirements

• Configuration Status Accounting: Element of CM: recording and reporting info to effectively manage a config; includes config ID, status of proposed changes, and implementation status of approved changes

• Patch: 1) Modification to object program by replacing code; 2) Modification to object program without recompiling from source

• Release: Formal notification and distribution of approved version

Page 373: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 373Douglas Hoffman

CM Terms3• Software Configuration: programs, documents, data structures; all items

produced as part of software engineering process

• Software Configuration Item (SCI): Information produced, such as source code, design documents, test suite, or program modules. The software subset of CI. “That which is managed together.” (SCI often includes tools so versions can be reproduced)

• Software Development Life Cycle (SDLC): Period of time begins at concept and ends when software is no longer available for use

• Software Engineering environment: Hardware, software, and firmware used for SE effort; includes equipment, compilers, assemblers, OS, debuggers, simulators, emulators, test tools, documentation tools, and DBMS

• Software Library: Controlled collection of software and related documents to aid Software development, use, or maintenance. Types: master, production, library, software development library, software repository, and system library

• Versions: named SCI set with a defined set of functional capabilities

Page 374: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 374Douglas Hoffman

Configuration Infrastructure

• Configuration management

• Library/repository processes

• Defect tracking and library tools

Page 375: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 375Douglas Hoffman

SCM Responsibilities

• Configuration identification

• Configuration control

• Status accounting

• Co-chair audits and reviews

• Co-chair CCB

• Maintain baselines

• Implement SCM plan

Page 376: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 376Douglas Hoffman

SCM Tools

• SEI’s 15 concepts

• SEI’s four SCM models– Check out/in

– Composition

– Long transactions

– Change sets

Page 377: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 377Douglas Hoffman

UNIX SCM Utilities

• SCCS and RCS

• CVS

• Make

Page 378: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 378Douglas Hoffman

SCM tool features

• Version Control

• Configurations

• Processes

• Change control

• Team support

• Library/Repository

• Security/Protection

• Reporting/Query

• Tool integration

• Builds

• Releases

• Customization

• GUI

Page 379: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 379Douglas Hoffman

Configuration Identification

• Configuration items• Structure• Identification of items• Baselines• Accessibility• Traceability• Software builds• Methods

Page 380: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 380Douglas Hoffman

Software Product Partitioning

• Managerial factors

• Technical factors

– Hierarchy

– External objects

– Internal objects

– Environment and Tools

Page 381: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 381Douglas Hoffman

Configuration Control

• Version control

• Naming

• Configuration ID

• Library control

• Release process

• Patching

Page 382: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 382Douglas Hoffman

Configuration Control

• Item and baseline control• Proposed modifications• Review and configuration

control boards (CCBs)• Concurrent development• Traceability• Version control• Configuration item interfaces

Page 383: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 383Douglas Hoffman

Configuration Status Accounting

• Status reporting

• Changes to configuration items and baselines

• Documentation control

• Configuration Audits– Functional configuration audit– Physical configuration audit

Page 384: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 384Douglas Hoffman

Change Control

• Change process• Change review

• Change approval

• Baselines

• Impact analysis

• Change management

• Verification

Page 385: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 385Douglas Hoffman

CM Issues

• Definition of configuration• Status of configuration• Change control• Communication of changes• Release and distribution issues

– Product release process issues– Packaging, production, and distribution

Page 386: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 386Douglas Hoffman

Exam Preparation

• Get good rest• Be prepared to focus

• Bring indexed library

• Clear your head

• Relax and stay cool

• Soft pencils, calculator, munchies

Page 387: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 387Douglas Hoffman

About The Exam

• Know the rules– Score is number right– Time is main enemy

• Take care of the answer sheet– Verify name and exam information– Check the numbering layout– How to mark/clear answers

• Write notes in the test book– Eliminate wrong answers– Mark probably right– Where will you find the answer?

Page 388: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 388Douglas Hoffman

Taking The Exam

• Answer easy questions first• Make two + passes• Re-read every question• Parse hard questions• “Batch” research• Answer all questions at the end

– Leave it until the last second– Guess smart - use your notes

Page 389: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 389Douglas Hoffman

Page 390: CSQE Exam Preparation - Testing · PDF file– Certified in Software Quality Engineering (ASQ-CSQE, 1995) – Certified Quality Manager ... The CSQE Exam Preparation Class provides

Copyright © 1997-2004, SQM, LLC. Slide 390Douglas Hoffman